---
id: CVE-2026-108147
title: Potential memory exhaustion in MultiPartParser via base64-encoded file upload
summary: >-
  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 base6…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'
cvssSource: cna
cwe:
  - CWE-770
vendor: djangoproject
product: django
affected:
  - django >= 6.1 < 6.1.3
  - django >= 6.0.4 < 6.0.10
  - django >= 5.2.13 < 5.2.19
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-11-03T17:51:32.901397Z'
published: '2026-11-03'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T18:26:37.685Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-108147'
references:
  - url: 'https://docs.djangoproject.com/en/dev/releases/security/'
    label: Django security archive
  - url: 'https://groups.google.com/g/django-announce'
    label: Django releases announcements
  - url: >-
      https://github.com/django/django/commit/5d95d9236fa4ededfb1931c60a65432385ece85f
  - url: >-
      https://github.com/django/django/commit/8b435411f11d69a0dd41a8837654323502e6058e
  - url: >-
      https://github.com/django/django/commit/a29ee4a55acedbe7ba0cb4d2db28c4e4d2848e02
  - url: >-
      https://github.com/django/django/commit/4bd1f59a80adafddbd47527c66d92d6a224244d8
  - url: 'https://www.djangoproject.com/weblog/2026/nov/03/security-releases/'
    label: 'Django security releases issued: 6.1.3, 6.0.10, and 5.2.19'
tags:
  - cve.org
epss: 0.00579
epssPercentile: 0.47774
ingestedAt: '2026-11-05T20:33:06.347Z'
---

## Overview

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

- `django >= 6.1 < 6.1.3`
- `django >= 6.0.4 < 6.0.10`
- `django >= 5.2.13 < 5.2.19`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
