CVE-2026-114136

Source
https://cve.org/CVERecord?id=CVE-2026-114136
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-114136.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-114136
Aliases
Downstream
CGA (15)
DEBIAN (1)
ECHO (1)
Published
2026-10-21T20:02:41Z
Modified
2026-10-22T10:46:09Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Django REST framework: JSONParser applies an attacker-named codec to the request stream
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-409",
        "CWE-770"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114136.json"
}
References

Affected packages

Git / github.com/encode/django-rest-framework

Affected ranges

Type
GIT
Repo
https://github.com/encode/django-rest-framework
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "3.6.4"
                },
                {
                    "fixed":  "3.18.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "3c2634599b26a9f789b03045118dbc276117611a"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "3.18.2",
            "range":  [
                {
                    "fixed":  "69694a17d0b6ac14b4ea4d77916b73c68dc5a3e8"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

3.*
3.10.0
3.10.1
3.10.2
3.10.3
3.11.0
3.12.0
3.12.1
3.12.3
3.12.4
3.13.0
3.13.1
3.14.0
3.15.0
3.15.1
3.15.2
3.16.0
3.16.1
3.17.0
3.17.1
3.18.0
3.18.1
3.6.4
3.7.0
3.7.1
3.7.2
3.7.3
3.7.4
3.7.5
3.7.6
3.7.7
3.8.0
3.8.1
3.8.2
3.9.1
3.9.2
3.9.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-114136.json"