py-djangorestframework -- Multiple vulnerabilities
· CVE-2026-114136, CVE-2026-114137, CVE-2026-114138 · VuXML entry
Bruno Alla reports: 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 …
Affected versions
- py311-djangorestframework, py312-djangorestframework, py313-djangorestframework, py313t-djangorestframework, py314-djangorestframework, py314t-djangorestframework, py315-djangorestframework < 3.18.2,1
- py312-dj60-djangorestframework, py313-dj60-djangorestframework, py313t-dj60-djangorestframework, py314-dj60-djangorestframework, py314t-dj60-djangorestframework, py315-dj60-djangorestframework < 3.18.2
- py311-dj61-djangorestframework, py312-dj61-djangorestframework, py313-dj61-djangorestframework, py313t-dj61-djangorestframework, py314-dj61-djangorestframework, py314t-dj61-djangorestframework, py315-dj61-djangorestframework < 3.18.2
By system
0 still vulnerable, 6 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.
| System | Port | Version | State | Fixed |
|---|---|---|---|---|
| DragonFly | www/py-djangorestframework | 3.18.3,1 | fixed | (12 days after) |
| NetBSD | www/py-djangorestframework | 3.18.1 | not listed | |
| FreeBSD | www/py-djangorestframework | 3.18.3,1 | fixed | |
| DragonFly | www/py-dj60-djangorestframework | 3.18.3 | fixed | (12 days after) |
| FreeBSD | www/py-dj60-djangorestframework | 3.18.3 | fixed | |
| DragonFly | www/py-dj61-djangorestframework | 3.18.2 | fixed | (12 days after) |
| FreeBSD | www/py-dj61-djangorestframework | 3.18.3 | fixed |