5.3Medium

CVE-2026-108147Potential memory exhaustion in MultiPartParser via base64-encoded file upload

djangoproject Django Published: (10 days ago)

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.

Weakness (CWE): CWE-770

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
djangoproject Django 6.1 – < 6.1.3, fixed 6.1.3, 6.0.4 – < 6.0.10, fixed 6.0.10, 5.2.13 – < 5.2.19, fixed 5.2.19

References and patches