CVE-2026-108147

Potential memory exhaustion in MultiPartParser via base64-encoded file upload

Published Nov 3, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability resides in Django’s multipart parser, which can consume excessive memory when handling multipart form uploads that specify a base64 content transfer encoding. An attacker can trigger this by sending a large base64‑encoded file, causing the parser to buffer the entire payload in memory before passing it to upload handlers. The outcome is a denial of service, as the application may exhaust available memory and fail to process further requests. This weakness aligns with CWE‑770.

Affected Systems

The issue affects the Django web framework, specifically releases 6.1 prior to 6.1.3, 6.0.4 prior to 6.0.10, and 5.2.13 prior to 5.2.19. In addition, earlier series such as 5.1.x, 5.0.x, and 4.2.x were not evaluated and may also be impacted.

Risk and Exploitability

With a CVSS score of 6.9, the vulnerability is considered medium severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote, via an HTTP connection that accepts multipart form data, and no authentication or privileged access is required to exploit it. Consequently, any user able to submit large base64‑encoded uploads to the application can trigger memory exhaustion.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Django to at least 6.1.3, 6.0.10, or 5.2.19, which contain the patch for this memory consumption issue.
  • If an immediate upgrade is not possible, configure Django to use a disk‑based upload handler or lower the MEMORY_FILE_UPLOAD_HANDLER limit via the FILE_UPLOAD_HANDLERS setting, to ensure that large uploads are streamed to disk instead of buffered in memory.
  • Restrict or reject multipart requests that use base64 Content‑Transfer‑Encoding and enforce a maximum upload size threshold to prevent attackers from sending oversized payloads.

Generated by OpenCVE AI on November 3, 2026 at 16:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4903-1 python-django security update
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Django Project
Django Project django
Djangoproject
Djangoproject django
Vendors & Products Django Project
Django Project django
Djangoproject
Djangoproject django
Type Values Removed Values Added
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.
Title Potential memory exhaustion in MultiPartParser via base64-encoded file upload
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
DSF
Published
Updated
Nov 3, 2026, 6:26 PM
Reserved
Oct 9, 2026, 3:00 PM
Status
Deferred
Published
Nov 3, 2026, 4:17 PM
Modified
Nov 3, 2026, 7:17 PM
Severity
Low
Public date
Nov 3, 2026, 3:30 PM