
CVE catalog
CVE-2026-15337
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, v
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.59% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-django | sid | 3:5.2.18-1 | fixed |
| Debian | python-django | forky | 3:5.2.17-2 | fixed |
| Debian | python-django | trixie | 3:4.2.28-0+deb13u2 | vulnerable |
| Debian | python-django | trixie-security | 3:4.2.28-0+deb13u1 | vulnerable |
| Debian | python-django | bookworm | 3:3.2.25-0+deb12u3 | vulnerable |
| Debian | python-django | bookworm-security | 3:3.2.25-0+deb12u6 | fixed |
| Cpe | django | Not reported | 6.0.8 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-django | source | sid | 3:5.2.17-1 | not yet assigned | Not reported | [1143611] |
| Debian | python-django | source | forky | 3:5.2.17-1 | not yet assigned | Not reported | [1143611] |
| Debian | python-django | source | trixie | (unfixed) | not yet assigned | Not reported | [1143611] |
| Debian | python-django | source | bookworm | 3:3.2.25-0+deb12u4 | not yet assigned | Not reported | [1143611] |
| Cpe | django | cpe | Not reported | 6.0.8 | Not reported | NVD-CVE-2026-15337 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-django]Affected
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormAffected · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u3· all · bookwormAffected · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
- [python-django-doc]Affected
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormAffected · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u3· all · bookwormAffected · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
3:3.2.25-0+deb12u4nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
[Debian 13 (Trixie)]
- [python3-django]Affected
Source package: [python-django]
Details (6)
3:4.2.28-0+deb13u2· all · trixieAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u2· all · trixieAffected
nvd · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsAffected
nvd · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityAffected
nvd · python-django · debian · 13
- [python-django-doc]Affected
Source package: [python-django]
Details (6)
3:4.2.28-0+deb13u2· all · trixieAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u2· all · trixieAffected
nvd · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsAffected
nvd · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityAffected
nvd · python-django · debian · 13
Observed:
References
- [https://docs.djangoproject.com/en/dev/releases/security/]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_3503-1.json]
- [https://github.com/django/django/commit/224dbc832586ad5cfb0237c2ff30d14baeaddc6f]
- [https://github.com/django/django/commit/27137e655e442e81095f1f8f77ff3870d9fdf169]
- [https://github.com/django/django/commit/5b3523d29be25948e1dd90b3863a002f00fc865f]
- [https://github.com/django/django/commit/c72a5dbb64d0777f3f471f1be94e8b2ca91e0959]
- [https://groups.google.com/g/django-announce]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-15337]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-15337]
- [https://security-tracker.debian.org/tracker/CVE-2026-15337]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-15337.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2649.json]
- [https://www.djangoproject.com/weblog/2026/aug/04/security-releases/]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]