| Package | python-django |
|---|---|
| Version | 1:1.10.7-2+deb9u34 (stretch), 1:1.11.29-1+deb10u23 (buster), 2:2.2.28-1~deb11u16 (bullseye) |
| Related CVEs | CVE-2026-108147 CVE-2026-113593 |
Two vulnerabilities were discovered in Django, the popular Python-based web development framework:
-
CVE-2026-108147: Prevent a potential memory exhaustion inMultiPartParservia base64-encoded file uploads. When usingdjango.http.multipartparser’sMultiPartParser, multipart uploads with aContent-Transfer-Encoding: base64header could be buffered entirely in memory, regardless of the value ofFILE_UPLOAD_MAX_MEMORY_SIZEbefore being passed to upload handlers, potentially consuming excessive memory. -
CVE-2026-113593: Avoid a potential exposure of private data via empty and missingVaryheaders.UpdateCacheMiddlewareandcache_page()generated the same cache key for a request that omitted a header listed in the response’sVaryheader 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 inVarywill no longer be matched and will be cached again on the next request.
For Debian 10 buster, these problems have been fixed in version 1:1.11.29-1+deb10u23.
For Debian 11 bullseye, these problems have been fixed in version 2:2.2.28-1~deb11u16.
For Debian 9 stretch, these problems have been fixed in version 1:1.10.7-2+deb9u34.
We recommend that you upgrade your python-django packages.
Further information about Extended LTS security advisories can be found in the dedicated section of our website.