CVE-2026-77050 Details
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.
A denial-of-service vulnerability has been identified in Django versions 6.1 prior to 6.1.2, 6.0 prior to 6.0.9, and 5.2 prior to 5.2.18. The issue arises in the `django.utils.translation.get_supported_language_variant()` function, which can be exploited by processing numerous distinct, lengthy language codes. This function caches the language codes in memory, leading to excessive memory consumption. Unsupported Django versions, such as 5.1.x, 5.0.x, and 4.2.x, may also be affected.
Users can upgrade to Django versions 6.1.2, 6.0.9, or 5.2.18, all of which include the necessary fix. Instructions for upgrading can be found in the Django release notes.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 6, 2026CISA-ADP
Assessed Oct 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://docs.djangoproject.com/en/dev/releases/security/ | Django Software Foundation | AdvisoryBundleRemedyVendor |
| https://github.com/django/django/commit/02a69e3791e3df23d45ea4ea7e7fc489f0eef2be | Django Software Foundation | Source CodeVendor |
| https://github.com/django/django/commit/3d32ee80ae52745d686bf94d3555000ddf073267 | Django Software Foundation | Source CodeVendor |
| https://github.com/django/django/commit/7e878b0f8bd42260903e6a0d38996a93b0474a0b | Django Software Foundation | Source CodeVendor |
| https://github.com/django/django/commit/c88b304cc2d90fc37d3bd1f5f3829706fa6c13bc | Django Software Foundation | Source CodeVendor |
| https://groups.google.com/g/django-announce | Django Software Foundation | Mailing ListVendor |
| https://www.djangoproject.com/weblog/2026/oct/06/security-releases/ | Django Software Foundation | AdvisoryBundleRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-789 | Memory Allocation with Excessive Size Value | Django Software Foundation |
Affected Products
| Product | Versions |
|---|---|
| Django | < 6.1.2 (semver) < 6.0.9 (semver) < 5.2.18 (semver) ~5.1 ~5.0 ~4.2 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 6, 2026 | CVE Modified | CISA-ADP |
| Oct 6, 2026 | New CVE Received | Django Software Foundation |
Volerion