CVE-2026-114136
published high CVSS 3.1 · 7.5Django REST framework: JSONParser applies an attacker-named codec to the request stream
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| encode | — | django-rest-framework>= 3.6.4, < 3.18.2 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-djangorestframeworkaarch64 | Advisory build | 3.18.2-1.1 | OPENSUSE-SU-2026:12277-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-djangorestframeworkppc64le | Advisory build | 3.18.2-1.1 | OPENSUSE-SU-2026:12277-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-djangorestframeworks390x | Advisory build | 3.18.2-1.1 | OPENSUSE-SU-2026:12277-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-djangorestframeworkx86_64 | Advisory build | 3.18.2-1.1 | OPENSUSE-SU-2026:12277-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-djangorestframeworkaarch64 | Advisory build | 3.18.2-1.1 | OPENSUSE-SU-2026:12277-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-djangorestframeworkppc64le | Advisory build | 3.18.2-1.1 | OPENSUSE-SU-2026:12277-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-djangorestframeworks390x | Advisory build | 3.18.2-1.1 | OPENSUSE-SU-2026:12277-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-djangorestframeworkx86_64 | Advisory build | 3.18.2-1.1 | OPENSUSE-SU-2026:12277-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| encode | django-rest-framework | >= 3.6.4, < 3.18.2 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-409 CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
3Provider assertions
2GitHub_M · cna
Django REST framework: JSONParser applies an attacker-named codec to the request stream
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d76e8f11afadf8ffe340324d526e30b3b48aed92b7b0c925a2a0031b8f160465
- Ingested
- 30 Oct 2026, 19:30:30 UTC
- Source record
- Official CVE record