Django REST framework is a toolkit for building Web APIs. From 3.6.4 until 3.18.2, JSONParser.parse in rest_framework/parsers.py uses the client-supplied Content-Type charset value with codecs.getreader, which accepts byte-transform codecs such as bz2_codec rather than only text encodings. A remote unauthenticated client can therefore cause a compressed JSON request body to be expanded after Django has enforced DATA_UPLOAD_MAX_MEMORY_SIZE against only the wire bytes, allowing a very small request to consume substantial per-worker memory. The default parser set is sufficient, and any reachable endpoint that accepts a JSON body is affected. This issue is fixed in version 3.18.2.
References
Configurations
No configuration.
History
30 Oct 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/encode/django-rest-framework/security/advisories/GHSA-3547-9m27-7rxg - |
21 Oct 2026, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-21 20:17
Updated : 2026-10-30 20:16
NVD link : CVE-2026-114136
Mitre link : CVE-2026-114136
CVE.ORG link : CVE-2026-114136
JSON object : View
Products Affected
No product.
