CVEfocus › CVE database › CVE-2026-114136

CVE-2026-114136Django REST framework: JSONParser applies an attacker-named codec to the request stream

CVSS 7.5 HighEPSS 0.6% (higher than 43% of CVEs)Published 2026-10-21Updated 2026-10-30Assigner: GitHub_M

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.

CWE-409CWE-770

What to do

Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
6Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10djangorestframeworkFix pendingUBUNTU-CVE-2026-114136
Ubuntu 26.04djangorestframeworkUnder investigationUBUNTU-CVE-2026-114136
Ubuntu 24.04djangorestframeworkUnder investigationUBUNTU-CVE-2026-114136
Ubuntu 22.04djangorestframeworkUnder investigationUBUNTU-CVE-2026-114136
Ubuntu 20.04djangorestframeworkFix pendingUBUNTU-CVE-2026-114136
Ubuntu 18.04djangorestframeworkFix pendingUBUNTU-CVE-2026-114136
Ubuntu 16.04djangorestframeworkFix pendingUBUNTU-CVE-2026-114136
Debian 14djangorestframeworkFixed3.18.3+ds1-1DEBIAN-CVE-2026-114136
Debian 13djangorestframeworkFix pendingDEBIAN-CVE-2026-114136
Debian 12djangorestframeworkFix pendingDEBIAN-CVE-2026-114136
PyPI librarydjangorestframeworkFixed3.18.2GHSA-3547-9m27-7rxg

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.