1. Archivio CVE
  2. 2026
  3. CVE-2026-114136

CVE-2026-114136

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
encode django-rest-framework >= 3.6.4, < 3.18.2 –

Tipo di vulnerabilità

CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)

The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: amplificazione, Interruzione del servizio: arresto o riavvio, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria

Tutte le 181 CVE di tipo CWE-409, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org