CVE-2026-15337 json
Potential denial-of-service vulnerability in check_for_language()
published 2026-08-04 3 mo ago modified 2026-10-24 15 d ago also BIT-django-2026-15337 , EUVD-2026-52748
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami django 5.2.17, 6.0.8
- djangoproject Django 5.2.17, 6.0.8
- python-django Debian 12 3:3.2.25-0+deb12u4
- python-django Debian 14 3:5.2.17-1
debian advisories DEBIAN-CVE-2026-15337
- python-Django SLE Module for Package Hub 15 SP7 4.2.11-150600.3.65.1
suse advisories SUSE-SU-2026:3503-1
- python-Django5 openSUSE Tumbleweed 5.2.17-1.1
- python-Django openSUSE Leap 16.0 5.2.4-bp160.11.1
- python-Django openSUSE Tumbleweed 6.0.8-1.1
- python-Django4 openSUSE Tumbleweed 4.2.30-5.1
opensuse advisories openSUSE-SU-2026:11491-1openSUSE-SU-2026:21543-1openSUSE-SU-2026:11464-1openSUSE-SU-2026:11465-1
- py3-django Alpine 3.24 5.2.17-r0
alpine advisories ALPINE-CVE-2026-15337
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-15337 updated cvss 5.3
django: Django: Denial-of-service vulnerability due to excessive memory consumption
-
Red Hat Ansible Automation Platform 2 python-django 5.2.12-2.el10ap, automation-controller 4.6.30-2.el9ap, ansible-automation-platform-24/hub-rhel8, ansible-automation-platform-25/hub-rhel8, ansible-automation-platform-26/hub-rhel9, ansible-automation-platform-27/hub-rhel9, +22 moreaffected: workaround, no fix available, no fix planned “Out of support scope”
-
Red Hat Discovery 2 discovery/discovery-server-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat OpenStack Platform 16.2 python-django20, python3-django20, python-django20-bash-completion Red Hat OpenStack Platform 17.1 python3-django, python-django 5.2.12-2.el10apaffected: workaround, no fix planned “Out of support scope”
-
Red Hat OpenStack Platform 18.0 python-django 5.2.12-2.el10ap Red Hat Satellite 6 python-django, python2-django, python-django 5.2.12-2.el10ap, python-django-bash-completion, satellite/iop-advisor-backend-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat Update Infrastructure 4 for Cloud Providers python-django 5.2.12-2.el10apaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Update Infrastructure 5 rhui5/rhua-rhel9 Red Hat Self-service automation portal 2 ansible-automation-platform/bootc-automation-portal-rhel9affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CNA | 4.0 | 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| CNA | 4.0 | 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | django | <5.2.17 >=6.0.0, <6.0.8 |
5.2.17 6.0.8 |
Affected products
- djangoproject Django
Classification
- Weakness
-
- CWE-789 Memory Allocation with Excessive Size Value
- Technology feeds
References
-
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
-
docs.djangoproject.com
/en/dev/releases/security/
vendor-advisory, patch, advisory
-
djangoproject.com
/weblog/2026/aug/04/security-releases/
vendor-advisory, advisory
-
groups.google.com
/g/django-announce
mailing-list, discussion
-
nvd.nist.gov
/vuln/detail/CVE-2026-15337
web
Sources
- CVE List CVE-2026-15337
- NVD CVE-2026-15337
- OSV BIT-django-2026-15337
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.