{"api_version":"1","generated_at":"2026-10-21T21:27:29+00:00","cve":"CVE-2026-114136","urls":{"html":"https://cve.report/CVE-2026-114136","api":"https://cve.report/api/cve/CVE-2026-114136.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-114136","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-114136"},"summary":{"title":"Django REST framework: JSONParser applies an attacker-named codec to the request stream","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-10-21 20:17:25","updated_at":"2026-10-21 20:17:25"},"problem_types":["CWE-409","CWE-770","CWE-409 CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)","CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/encode/django-rest-framework/commit/3c2634599b26a9f789b03045118dbc276117611a","name":"https://github.com/encode/django-rest-framework/commit/3c2634599b26a9f789b03045118dbc276117611a","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/encode/django-rest-framework/releases/tag/3.18.2","name":"https://github.com/encode/django-rest-framework/releases/tag/3.18.2","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/encode/django-rest-framework/security/advisories/GHSA-3547-9m27-7rxg","name":"https://github.com/encode/django-rest-framework/security/advisories/GHSA-3547-9m27-7rxg","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-114136","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114136","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"encode","product":"django-rest-framework","version":"affected >= 3.6.4, < 3.18.2","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"django-rest-framework","vendor":"encode","versions":[{"status":"affected","version":">= 3.6.4, < 3.18.2"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-409","description":"CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-770","description":"CWE-770: Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-21T20:02:41.030Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/encode/django-rest-framework/security/advisories/GHSA-3547-9m27-7rxg","tags":["x_refsource_CONFIRM"],"url":"https://github.com/encode/django-rest-framework/security/advisories/GHSA-3547-9m27-7rxg"},{"name":"https://github.com/encode/django-rest-framework/commit/3c2634599b26a9f789b03045118dbc276117611a","tags":["x_refsource_MISC"],"url":"https://github.com/encode/django-rest-framework/commit/3c2634599b26a9f789b03045118dbc276117611a"},{"name":"https://github.com/encode/django-rest-framework/releases/tag/3.18.2","tags":["x_refsource_MISC"],"url":"https://github.com/encode/django-rest-framework/releases/tag/3.18.2"}],"source":{"advisory":"GHSA-3547-9m27-7rxg","discovery":"UNKNOWN"},"title":"Django REST framework: JSONParser applies an attacker-named codec to the request stream"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-114136","datePublished":"2026-10-21T20:02:41.030Z","dateReserved":"2026-10-20T21:53:58.473Z","dateUpdated":"2026-10-21T20:02:41.030Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-21 20:17:25","lastModifiedDate":"2026-10-21 20:17:25","problem_types":["CWE-409","CWE-770","CWE-409 CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)","CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"114136","Ordinal":"1","Title":"Django REST framework: JSONParser applies an attacker-named code","CVE":"CVE-2026-114136","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"114136","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Django REST framework: JSONParser applies an attacker-named code"}]}}}