Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. djangorestframework
  4. ›
  5. CVE-2026-114136

CVE-2026-114136: Django REST framework: JSONParser applies an attacker-named codec to the request stream

October 22, 2026

An unauthenticated attacker can defeat Django’s DATA_UPLOAD_MAX_MEMORY_SIZE limit and force a worker process to allocate arbitrary memory, by naming a compression codec in the Content-Type charset parameter. A 108-byte request body produces a 50,331,648-character value inside the view, an amplification factor of 466,033, and grows process peak RSS by about 97 MiB. No application configuration is required beyond DRF’s default parser set; the endpoint only has to accept a JSON body.

References

  • github.com/advisories/GHSA-3547-9m27-7rxg
  • github.com/encode/django-rest-framework/commit/3c2634599b26a9f789b03045118dbc276117611a
  • github.com/encode/django-rest-framework/releases/tag/3.18.2
  • github.com/encode/django-rest-framework/security/advisories/GHSA-3547-9m27-7rxg
  • nvd.nist.gov/vuln/detail/CVE-2026-114136

Code Behaviors & Features

Detect and mitigate CVE-2026-114136 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.6.4 before 3.18.2

Fixed versions

  • 3.18.2

Solution

Upgrade to version 3.18.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

pypi/djangorestframework/CVE-2026-114136.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:12 +0000.