Improper Handling of Highly Compressed Data (Data Amplification) Affecting python-djangorestframework package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.34% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-PYTHONDJANGORESTFRAMEWORK-21406722
  • published22 Oct 2026
  • disclosed21 Oct 2026

Introduced: 21 Oct 2026

NewCVE-2026-114136  (opens in a new tab)
CWE-409  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 python-djangorestframework.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-djangorestframework package and not the python-djangorestframework package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1