Vulnerability · Published Nov 3, 2026 · Assigned by DSF
CVE-2026-108147Potential memory exhaustion in MultiPartParser via base64-encoded file upload
Medium 5.3
In plain English
A medium-severity resource allocation without limits in Django from djangoproject. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
An issue was discovered in Django 6.1 before 6.1.3, 6.0.4 before 6.0.10, and 5.2.13 before 5.2.19. `django.http.multipartparser.MultiPartParser` is subject to excessive memory consumption when processing multipart file uploads with base64 `Content-Transfer-Encoding`, which could be buffered entirely in memory before being passed to upload handlers. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank Ignacy Kujawa for reporting this issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | py3-django | 5.2.19-r0 | ALPINE-CVE-2026-108147 |
| Debian:12 | python-django | no fix listed | DEBIAN-CVE-2026-108147 |
| Debian:13 | python-django | no fix listed | DEBIAN-CVE-2026-108147 |
| Debian:14 | python-django | no fix listed | DEBIAN-CVE-2026-108147 |
| Ubuntu:22.04:LTS | python-django | no fix listed | UBUNTU-CVE-2026-108147 |
| Ubuntu:24.04:LTS | python-django | no fix listed | UBUNTU-CVE-2026-108147 |
| Ubuntu:26.04:LTS | python-django | no fix listed | UBUNTU-CVE-2026-108147 |
| Ubuntu:26.10 | python-django | no fix listed | UBUNTU-CVE-2026-108147 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| djangoproject | Django | 6.1 – before 6.1.36.0.4 – before 6.0.105.2.13 – before 5.2.19 |
Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- Django security archive vendor-advisory
- Django releases announcements mailing-list
- https://github.com/django/django/commit/5d95d9236fa4ededfb1931c60a65432385ece85f patch
- https://github.com/django/django/commit/8b435411f11d69a0dd41a8837654323502e6058e patch
- https://github.com/django/django/commit/a29ee4a55acedbe7ba0cb4d2db28c4e4d2848e02 patch
- https://github.com/django/django/commit/4bd1f59a80adafddbd47527c66d92d6a224244d8 patch
- Django security releases issued: 6.1.3, 6.0.10, and 5.2.19 vendor-advisory