{"id":"CVE-2026-77050","summary":"Potential denial-of-service vulnerability in get_supported_language_variant()","details":"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.\n`django.utils.translation.get_supported_language_variant()` is subject to\r\na potential denial-of-service attack when processing many distinct, very long\r\nlanguage codes, which are retained as keys in an in-memory cache and\r\nconsume process memory.\nEarlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected.\nDjango would like to thank Gleb Lizunov for reporting this issue.","modified":"2026-10-08T02:52:00.079614940Z","published":"2026-10-06T13:34:40.107Z","database_specific":{"cna_assigner":"DSF","cwe_ids":["CWE-789"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77050.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"6.1"},{"fixed":"6.1.2"},{"introduced":"6.0"},{"fixed":"6.0.9"},{"introduced":"5.2"},{"fixed":"5.2.18"}]},{"source":"DESCRIPTION","extracted_events":[{"introduced":"6.1"},{"fixed":"6.1.2"},{"introduced":"6.0"},{"fixed":"6.0.9"},{"introduced":"5.2"},{"fixed":"5.2.18"}]}]},"references":[{"type":"WEB","url":"https://github.com/django/django/"},{"type":"ADVISORY","url":"https://docs.djangoproject.com/en/dev/releases/security/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77050.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77050"},{"type":"ADVISORY","url":"https://www.djangoproject.com/weblog/2026/oct/06/security-releases/"},{"type":"FIX","url":"https://github.com/django/django/commit/02a69e3791e3df23d45ea4ea7e7fc489f0eef2be"},{"type":"FIX","url":"https://github.com/django/django/commit/3d32ee80ae52745d686bf94d3555000ddf073267"},{"type":"FIX","url":"https://github.com/django/django/commit/7e878b0f8bd42260903e6a0d38996a93b0474a0b"},{"type":"FIX","url":"https://github.com/django/django/commit/c88b304cc2d90fc37d3bd1f5f3829706fa6c13bc"},{"type":"PACKAGE","url":"https://pypi.org/project/Django/"},{"type":"ARTICLE","url":"https://groups.google.com/g/django-announce"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/django/django","events":[{"introduced":"0"},{"fixed":"02a69e3791e3df23d45ea4ea7e7fc489f0eef2be"},{"fixed":"3d32ee80ae52745d686bf94d3555000ddf073267"},{"fixed":"7e878b0f8bd42260903e6a0d38996a93b0474a0b"},{"fixed":"c88b304cc2d90fc37d3bd1f5f3829706fa6c13bc"}],"database_specific":{"source":"REFERENCES"}}],"versions":["6.1.1","6.1","5.2.17","6.0.8","6.1rc1","5.2.16","6.0.7","6.1b1","5.2.15","6.0.6","6.1a1","5.2.14","6.0.5","5.2.13","6.0.4","5.2.12","6.0.3","5.2.11","6.0.2","6.0.1","5.2.10","6.0","5.2.9","6.0rc1","5.2.8","6.0b1","5.2.7","6.0a1","5.2.6","5.2.5","5.2.4","5.2.3","5.2.2","5.2.1","5.2","5.2rc1","5.2b1","5.2a1","1.7a2","1.4","1.3","1.2.1","1.2","1.1","1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77050.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}