Improper handling of highly compressed data in django-rest-framework - #VU153876

 

Improper handling of highly compressed data in django-rest-framework - #VU153876

Published: October 7, 2026


Vulnerability identifier: #VU153876
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-409
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service through excessive memory allocation.

The vulnerability exists due to improper handling of highly compressed data in JSONParser.parse when processing JSON request bodies with a client-supplied charset. A remote attacker can send a compressed request body and specify a compression codec in the Content-Type charset parameter to cause a denial of service through excessive memory allocation.

No application configuration beyond the default parser set is required.


Affected software

django-rest-framework

Remediation

Install security update from vendor's website.

django-rest-framework - update to 3.18.2

External References

Related Security Bulletins