CVE-2026-15337
CVE-2026-15337 — Potential denial-of-service vulnerability in check_for_language()
An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. `django.utils.translation.check_for_language()` is subject to a potential denial-of-service attack when given many distinct, very long language codes, which are retained as keys in an in-memory cache and consume process memory. Such codes reach the function through the `django.views.i18n.set_language()` view, which is not routed by default. The consumed memory is bounded, since request data is limited by the `DATA_UPLOAD_MAX_MEMORY_SIZE` setting (default 2.5 MB) and the cache holds a fixed maximum number of entries. 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 Jaeyoung Jang for reporting this issue.
Published Updated Sources: cvelistV5, DSF
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
1%
chance of exploitation in 30 days
CVSS base
5.3
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 5.3 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-789
References
7 on the record
- docs.djangoproject.com/en/dev/releases/security/
vendor-advisory
- groups.google.com/g/django-announce
mailing-list
- github.com/django/django/commit/27137e655e442e81095f1f8f77ff3870d9fdf169
patch
- github.com/django/django/commit/5b3523d29be25948e1dd90b3863a002f00fc865f
patch
- github.com/django/django/commit/224dbc832586ad5cfb0237c2ff30d14baeaddc6f
patch
- github.com/django/django/commit/c72a5dbb64d0777f3f471f1be94e8b2ca91e0959
patch
- www.djangoproject.com/weblog/2026/aug/04/security-releases/
vendor-advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-132092 Potential SQL injection in range and in lookupsCVSS 9.8
- CVE-2026-124827 Server-side file-write via RasterField assignmentCVSS 8.8
- CVE-2026-20295 Cisco Secure Firewall Management Center and Secure Firewall Threat Defense Software sftunnel Memory Exhaustion Denial of Service VulnerabilityCVSS 8.6
- CVE-2026-49975 Apache HTTP Server: mod_http2 denial of serviceCVSS 7.5
- CVE-2026-47321 Apache MINA: Unbounded Decompression Amplification DoS in Zlib.inflateCVSS 7.5
- CVE-2025-15709 Memory Allocation with Excessive Size Value in Elasticsearch ES|QL Leading to Denial of ServiceCVSS 6.5
Elsewhere on this site
- Djangoprojectevery CVE for this vendor
- CWE-789other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.