Vulnerability
CVE-2026-114136
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.
21 advisories report this vulnerability, across 6 ecosystems.
Advisories
- CGA-2w7j-79vh-7q6p
- CGA-353x-p336-w4gq
- CGA-4244-3849-6mgw
- CGA-52qh-9235-3m5r
- CGA-5mg3-4fv9-j2q4
- CGA-83hv-828h-fxf5
- CGA-8f4p-86xv-g2jj
- CGA-f826-456m-22cq
- CGA-frx4-7xr6-mqm8
- CGA-g3qv-525w-v8p2
- CGA-hxvg-r2qf-8cg4
- CGA-m6x4-86j3-2487
- CGA-mjg9-xgj8-4533
- CGA-mq92-pm9w-3gw4
- CGA-phwc-3q96-2w4f
- CGA-wpjr-hq39-q387
-
DEBIAN-CVE-2026-114136
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…
-
GHSA-3547-9m27-7rxg
Django REST framework: JSONParser applies an attacker-named codec to the request stream
-
RHSA-2026:100715
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
-
UBUNTU-CVE-2026-114136
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…
-
openSUSE-SU-2026:12277-1
python313-djangorestframework-3.18.2-1.1 on GA media