CVE-2026-77050
published medium CVSS 4.0 · 6.9Potential denial-of-service vulnerability in get_supported_language_variant()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| djangoproject | — | djangoDjango · 6.1 to < 6.1.2 (affected · python) · 6.1.2 (unaffected · python) · 6.0 to < 6.0.9 (affected · python) · 6.0.9 (unaffected · python) · 5.2 to < 5.2.18 (affected · python) · 5.2.18 (unaffected · python) · Other versions: unaffected | Version-specific | Not stated | DSF |
| Alpine Linux | edge | py3-django | Fixed | 5.2.18-r0 | Package fix record |
| Debian | bookworm | python-django | Advisory build | 3:3.2.25-0+deb12u6 | DLA-4843-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Djangonoarch | Advisory build | 4.2.11-150600.3.68.1 | SUSE-SU-2026:4626-1 |
| Alpine Linux | v3.24 | py3-django | Fixed | 5.2.18-r0 | Package fix record |
| Debian | trixie | python-django | Advisory build | 3:4.2.30-0+deb13u1 | DSA-6648-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Djangonoarch | Advisory build | 5.2.4-bp160.12.1 | OPENSUSE-SU-2026:22196-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Djangoaarch64 | Advisory build | 6.1.2-1.1 | OPENSUSE-SU-2026:12103-1 |
Show 23 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Djangoppc64le | Advisory build | 6.1.2-1.1 | OPENSUSE-SU-2026:12103-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Djangos390x | Advisory build | 6.1.2-1.1 | OPENSUSE-SU-2026:12103-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Djangox86_64 | Advisory build | 6.1.2-1.1 | OPENSUSE-SU-2026:12103-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django4aarch64 | Advisory build | 4.2.30-6.1 | OPENSUSE-SU-2026:12086-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django4ppc64le | Advisory build | 4.2.30-6.1 | OPENSUSE-SU-2026:12086-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django4s390x | Advisory build | 4.2.30-6.1 | OPENSUSE-SU-2026:12086-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django4x86_64 | Advisory build | 4.2.30-6.1 | OPENSUSE-SU-2026:12086-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django5aarch64 | Advisory build | 5.2.18-1.1 | OPENSUSE-SU-2026:12095-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django5ppc64le | Advisory build | 5.2.18-1.1 | OPENSUSE-SU-2026:12095-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django5s390x | Advisory build | 5.2.18-1.1 | OPENSUSE-SU-2026:12095-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django5x86_64 | Advisory build | 5.2.18-1.1 | OPENSUSE-SU-2026:12095-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Djangoaarch64 | Advisory build | 6.1.2-1.1 | OPENSUSE-SU-2026:12103-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Djangoppc64le | Advisory build | 6.1.2-1.1 | OPENSUSE-SU-2026:12103-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Djangos390x | Advisory build | 6.1.2-1.1 | OPENSUSE-SU-2026:12103-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Djangox86_64 | Advisory build | 6.1.2-1.1 | OPENSUSE-SU-2026:12103-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django4aarch64 | Advisory build | 4.2.30-6.1 | OPENSUSE-SU-2026:12086-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django4ppc64le | Advisory build | 4.2.30-6.1 | OPENSUSE-SU-2026:12086-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django4s390x | Advisory build | 4.2.30-6.1 | OPENSUSE-SU-2026:12086-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django4x86_64 | Advisory build | 4.2.30-6.1 | OPENSUSE-SU-2026:12086-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django5aarch64 | Advisory build | 5.2.18-1.1 | OPENSUSE-SU-2026:12095-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django5ppc64le | Advisory build | 5.2.18-1.1 | OPENSUSE-SU-2026:12095-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django5s390x | Advisory build | 5.2.18-1.1 | OPENSUSE-SU-2026:12095-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django5x86_64 | Advisory build | 5.2.18-1.1 | OPENSUSE-SU-2026:12095-1 |
Description
An issue was discovered in Django 6.1 before 6.1.2, 6.0 before 6.0.9, and 5.2 before 5.2.18. `django.utils.translation.get_supported_language_variant()` is subject to a potential denial-of-service attack when processing many distinct, very long language codes, which are retained as keys in an in-memory cache and consume process memory. 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 Gleb Lizunov for reporting this issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- DSF · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | DSF · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| djangoproject | Django | 6.1 to < 6.1.2 (affected · python)6.1.2 (unaffected · python)6.0 to < 6.0.9 (affected · python)6.0.9 (unaffected · python)5.2 to < 5.2.18 (affected · python)5.2.18 (unaffected · python)Default: unaffected | DSF · cna |
Weaknesses
1- CWE-789 CWE-789: Memory Allocation with Excessive Size Value
References
7- Django security archive https://docs.djangoproject.com/en/dev/releases/security/
- https://github.com/django/django/commit/02a69e3791e3df23d45ea4ea7e7fc489f0eef2be
- https://github.com/django/django/commit/3d32ee80ae52745d686bf94d3555000ddf073267
- https://github.com/django/django/commit/7e878b0f8bd42260903e6a0d38996a93b0474a0b
- https://github.com/django/django/commit/c88b304cc2d90fc37d3bd1f5f3829706fa6c13bc
- Django releases announcements https://groups.google.com/g/django-announce
- Django security releases issued: 6.1.2, 6.0.9, and 5.2.18 https://www.djangoproject.com/weblog/2026/oct/06/security-releases/
Provider assertions
2DSF · cna
Potential denial-of-service vulnerability in get_supported_language_variant()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bc9fbf0182437f2b13a79f463f9457e27cefc641eb606fbc871a3580d9636153
- Ingested
- 06 Oct 2026, 14:31:49 UTC
- Source record
- Official CVE record