{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.6.4"
                  },
                  {
                    "fixed": "3.18.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "3c2634599b26a9f789b03045118dbc276117611a"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "3.18.2",
                "range": [
                  {
                    "fixed": "69694a17d0b6ac14b4ea4d77916b73c68dc5a3e8"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "fed85bc29d7965749e86ee86c63d140f2e50e843"
            },
            {
              "fixed": "69694a17d0b6ac14b4ea4d77916b73c68dc5a3e8"
            },
            {
              "fixed": "3c2634599b26a9f789b03045118dbc276117611a"
            }
          ],
          "repo": "https://github.com/encode/django-rest-framework",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-3547-9m27-7rxg"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-409",
      "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114136.json"
  },
  "details": "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.",
  "id": "CVE-2026-114136",
  "modified": "2026-10-22T10:30:20.329408447Z",
  "published": "2026-10-21T20:02:41.030Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114136.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/encode/django-rest-framework/commit/3c2634599b26a9f789b03045118dbc276117611a"
    },
    {
      "type": "WEB",
      "url": "https://github.com/encode/django-rest-framework/releases/tag/3.18.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/encode/django-rest-framework/security/advisories/GHSA-3547-9m27-7rxg"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-114136"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Django REST framework: JSONParser applies an attacker-named codec to the request stream"
}