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

Status: published. Published: 2026-11-03. Updated: 2026-11-03.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: DSF) — https://github.com/django/django/commit/5d95d9236fa4ededfb1931c60a65432385ece85f
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: DSF) — https://github.com/django/django/commit/8b435411f11d69a0dd41a8837654323502e6058e
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: DSF) — https://github.com/django/django/commit/a29ee4a55acedbe7ba0cb4d2db28c4e4d2848e02
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: DSF) — https://github.com/django/django/commit/4bd1f59a80adafddbd47527c66d92d6a224244d8

## Affected products and versions

- djangoproject / Django (django): ≥ 6.1; < 6.1.3 (affected, python); 6.1.3 (unaffected, python); ≥ 6.0; < 6.0.4 (unaffected, python); ≥ 6.0.4; < 6.0.10 (affected, python); 6.0.10 (unaffected, python); ≥ 5.2; < 5.2.13 (unaffected, python); ≥ 5.2.13; < 5.2.19 (affected, python); 5.2.19 (unaffected, python). Source: CNA: DSF

## Severity and prioritization

- CVSS 3.1: 5.3 (medium); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L; source: CNA: DSF

- CVSS 4.0: 6.9 (medium); 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; source: CNA: DSF

- CVSS 4.0: 6.9 (medium); 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X; source: NVD: 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92

- CVSS 3.1: 5.3 (medium); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L; source: NVD: 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: exploitation none; automatable yes; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-770

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://docs.djangoproject.com/en/dev/releases/security/ (CNA: DSF; vendor-advisory)

- https://groups.google.com/g/django-announce (CNA: DSF; mailing-list)

- https://github.com/django/django/commit/5d95d9236fa4ededfb1931c60a65432385ece85f (CNA: DSF; patch)

- https://github.com/django/django/commit/8b435411f11d69a0dd41a8837654323502e6058e (CNA: DSF; patch)

- https://github.com/django/django/commit/a29ee4a55acedbe7ba0cb4d2db28c4e4d2848e02 (CNA: DSF; patch)

- https://github.com/django/django/commit/4bd1f59a80adafddbd47527c66d92d6a224244d8 (CNA: DSF; patch)

- https://www.djangoproject.com/weblog/2026/nov/03/security-releases/ (CNA: DSF; vendor-advisory)

- https://docs.djangoproject.com/en/dev/releases/security/ (6a34fbeb-21d4-45e7-8e0a-62b95bc12c92)

- https://github.com/django/django/commit/4bd1f59a80adafddbd47527c66d92d6a224244d8 (6a34fbeb-21d4-45e7-8e0a-62b95bc12c92)

- https://github.com/django/django/commit/5d95d9236fa4ededfb1931c60a65432385ece85f (6a34fbeb-21d4-45e7-8e0a-62b95bc12c92)

- https://github.com/django/django/commit/8b435411f11d69a0dd41a8837654323502e6058e (6a34fbeb-21d4-45e7-8e0a-62b95bc12c92)

- https://github.com/django/django/commit/a29ee4a55acedbe7ba0cb4d2db28c4e4d2848e02 (6a34fbeb-21d4-45e7-8e0a-62b95bc12c92)

- https://groups.google.com/g/django-announce (6a34fbeb-21d4-45e7-8e0a-62b95bc12c92)

- https://www.djangoproject.com/weblog/2026/nov/03/security-releases/ (6a34fbeb-21d4-45e7-8e0a-62b95bc12c92)

## Provenance

- CNA: DSF: https://www.cve.org/CVERecord?id=CVE-2026-108147; retrieved 2026-11-03; source updated 2026-11-03

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-108147; retrieved 2026-11-03; source updated 2026-11-03

Revision: da379460a48b915623705fcf45fddad443814f0cf24cea4e0701eb161d60ab74

Canonical: https://y2.dev/cve/CVE-2026-108147

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.