Potential memory exhaustion in MultiPartParser via base64-encoded file upload
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 3, 2026
- Updated
- Nov 3, 2026
- Reserved
- Oct 9, 2026
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.
| Product | Versions |
|---|---|
| Django djangoproject | 6.1 to before 6.1.3 Affected6.1.3 Not Affected6.0 to before 6.0.4 Not Affected6.0.4 to before 6.0.10 Affected6.0.10 Not Affected5.2 to before 5.2.13 Not Affected5.2.13 to before 5.2.19 Affected5.2.19 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | DSF | |
| 3.1 | 5.3 Medium | DSF |
Weaknesses
- CWE-770 Allocation of Resources Without Limits or Throttling
References
- Django security archiveVendor Advisory
- Django releases announcementsMailing List
- https://github.com/django/django/commit/5d95d9236fa4ededfb1931c60a65432385ece85fPatch
- https://github.com/django/django/commit/8b435411f11d69a0dd41a8837654323502e6058ePatch
- https://github.com/django/django/commit/a29ee4a55acedbe7ba0cb4d2db28c4e4d2848e02Patch
- https://github.com/django/django/commit/4bd1f59a80adafddbd47527c66d92d6a224244d8Patch
- Django security releases issued: 6.1.3, 6.0.10, and 5.2.19Vendor Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.