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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| djangoproject | Django | 6.1 – < 6.1.3, 6.0.4 – < 6.0.10, 5.2.13 – < 5.2.19 | 6.1.3 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-django | 3:5.2.19-1 | — |
| Debian 13 | python-django | No fix yet | — |
| Debian 12 | python-django | 3:3.2.25-0+deb12u7 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python-django | No fix yet | — |
| Ubuntu 26.04 LTS | python-django | No fix yet | — |
| Ubuntu 24.04 LTS | python-django | No fix yet | — |
| Ubuntu 22.04 LTS | python-django | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | python-django | No fix yet | — |
| Ubuntu Pro 18.04 LTS | python-django | No fix yet | — |
| Ubuntu Pro 16.04 LTS | python-django | No fix yet | — |
| Ubuntu Pro 14.04 LTS | python-django | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-Django | 6.1.3-1.1 | openSUSE-SU-2026:12518-1 |
| openSUSE Tumbleweed | python-Django4 | 4.2.30-7.1 | openSUSE-SU-2026:12502-1 |
| openSUSE Tumbleweed | python-Django5 | 5.2.19-1.1 | openSUSE-SU-2026:12519-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | py3-django | 5.2.19-r0 | — |
Advisories 4
- WID-SEC-2026-4333 Django: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- openSUSE-SU-2026:12518-1 python313-Django-6.1.3-1.1 on GA media SUSE / openSUSE Security Updates · Nov 11, 2026
- openSUSE-SU-2026:12519-1 python313-Django5-5.2.19-1.1 on GA media SUSE / openSUSE Security Updates · Nov 11, 2026
- openSUSE-SU-2026:12502-1 python313-Django4-4.2.30-7.1 on GA media SUSE / openSUSE Security Updates · Nov 10, 2026
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