Bug 2588083 - CVE-2026-114136 python-django-rest-framework: djangorestframework: Denial of Service via improper charset handling in JSON parser [epel-all]
Summary: CVE-2026-114136 python-django-rest-framework: djangorestframework: Denial of ...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-django-rest-framework
Version: epel10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Ali Erdinc Koroglu
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["959989df-e63e-44f3-b531-e...
Depends On:
Blocks: CVE-2026-114136
TreeView+ depends on / blocked
 
Reported: 2026-12-01 17:14 UTC by Ganesh
Modified: 2026-12-01 17:14 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ganesh 2026-12-01 17:14:57 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.