Two vulnerabilities were discovered in Django, the popular Python-based web development framework:
CVE-2026-108147
Prevent a potential memory exhaustion in MultiPartParser via
base64-encoded file uploads. When using django.http.multipartparser's
MultiPartParser, multipart uploads with a 'Content-Transfer-Encoding:
base64' header could be buffered entirely in memory, regardless of the
value of FILE_UPLOAD_MAX_MEMORY_SIZE before being passed to upload
handlers, potentially consuming excessive memory.
CVE-2026-113593
Avoid a potential exposure of private data via empty and missing HTTP
'Vary' headers. UpdateCacheMiddleware and cache_page() generated the
same cache key for a request that omitted a header listed in the
response's Vary header and a request that sent that header with an
empty value. As a result, a response cached for one of these requests
could be served to the other, which could lead to the exposure of
private data. Cache keys now distinguish between absent and empty
header values, as required by RFC 9111 section-4.1. Responses
previously cached for requests that omitted a header listed in Vary
will no longer be matched and will be cached again on the next
request.
3:3.2.25-0+deb12u7