{"id":"CVE-2026-77050","state":"PUBLISHED","title":"Potential denial-of-service vulnerability in get_supported_language_variant()","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.\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.","publishedAt":"2026-10-06T13:34:40.107Z","updatedAt":"2026-10-06T14:21:29.655Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"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","source":"DSF"},"assigner":"DSF","products":["djangoproject Django"],"affected":[{"vendor":"djangoproject","product":"Django","packageName":"django","defaultStatus":"unaffected","versions":[{"version":"6.1","status":"affected","lessThan":"6.1.2","versionType":"python"},{"version":"6.1.2","status":"unaffected","versionType":"python"},{"version":"6.0","status":"affected","lessThan":"6.0.9","versionType":"python"},{"version":"6.0.9","status":"unaffected","versionType":"python"},{"version":"5.2","status":"affected","lessThan":"5.2.18","versionType":"python"},{"version":"5.2.18","status":"unaffected","versionType":"python"}],"collectionURL":"https://pypi.org/project/Django/","repo":"https://github.com/django/django/"}],"references":["https://docs.djangoproject.com/en/dev/releases/security/","https://groups.google.com/g/django-announce","https://github.com/django/django/commit/c88b304cc2d90fc37d3bd1f5f3829706fa6c13bc","https://github.com/django/django/commit/7e878b0f8bd42260903e6a0d38996a93b0474a0b","https://github.com/django/django/commit/3d32ee80ae52745d686bf94d3555000ddf073267","https://github.com/django/django/commit/02a69e3791e3df23d45ea4ea7e7fc489f0eef2be","https://www.djangoproject.com/weblog/2026/oct/06/security-releases/"],"weaknesses":["CWE-789"],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/77xxx/CVE-2026-77050.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-77050","state":"PUBLISHED","datePublished":"2026-10-06T13:34:40.107Z","dateUpdated":"2026-10-06T14:21:29.655Z","assignerShortName":"DSF","assignerOrgId":"6a34fbeb-21d4-45e7-8e0a-62b95bc12c92","dateReserved":"2026-08-20T09:29:37.560Z"},"containers":{"cna":{"title":"Potential denial-of-service vulnerability in get_supported_language_variant()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"djangoproject","product":"Django","packageName":"django","defaultStatus":"unaffected","versions":[{"version":"6.1","status":"affected","lessThan":"6.1.2","versionType":"python"},{"version":"6.1.2","status":"unaffected","versionType":"python"},{"version":"6.0","status":"affected","lessThan":"6.0.9","versionType":"python"},{"version":"6.0.9","status":"unaffected","versionType":"python"},{"version":"5.2","status":"affected","lessThan":"5.2.18","versionType":"python"},{"version":"5.2.18","status":"unaffected","versionType":"python"}],"collectionURL":"https://pypi.org/project/Django/","repo":"https://github.com/django/django/"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","name":"Django security archive","tags":["vendor-advisory"]},{"url":"https://groups.google.com/g/django-announce","name":"Django releases announcements","tags":["mailing-list"]},{"url":"https://github.com/django/django/commit/c88b304cc2d90fc37d3bd1f5f3829706fa6c13bc","tags":["patch"]},{"url":"https://github.com/django/django/commit/7e878b0f8bd42260903e6a0d38996a93b0474a0b","tags":["patch"]},{"url":"https://github.com/django/django/commit/3d32ee80ae52745d686bf94d3555000ddf073267","tags":["patch"]},{"url":"https://github.com/django/django/commit/02a69e3791e3df23d45ea4ea7e7fc489f0eef2be","tags":["patch"]},{"url":"https://www.djangoproject.com/weblog/2026/oct/06/security-releases/","name":"Django security releases issued: 6.1.2, 6.0.9, and 5.2.18","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"value":"low","namespace":"https://docs.djangoproject.com/en/dev/internals/security/#security-issue-severity-levels"},"type":"Django severity rating"}},{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","baseScore":5.3,"baseSeverity":"MEDIUM"}},{"cvssV4_0":{"version":"4.0","vectorString":"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","baseScore":6.9,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-789","lang":"en","description":"CWE-789: Memory Allocation with Excessive Size Value","type":"CWE"}]}],"providerMetadata":{"shortName":"DSF","orgId":"6a34fbeb-21d4-45e7-8e0a-62b95bc12c92","dateUpdated":"2026-10-06T13:34:40.107Z"},"impacts":[{"capecId":"CAPEC-130","descriptions":[{"lang":"en","value":"CAPEC-130: Excessive Allocation"}]}],"credits":[{"lang":"en","type":"reporter","value":"Gleb Lizunov"},{"lang":"en","type":"remediation developer","value":"Sarah Boyce"},{"lang":"en","type":"coordinator","value":"Sarah Boyce"}],"timeline":[{"lang":"en","time":"2026-08-06T04:49:58.000Z","value":"Initial report received."},{"lang":"en","time":"2026-08-20T04:50:04.000Z","value":"Vulnerability confirmed."},{"lang":"en","time":"2026-10-06T08:00:00.000Z","value":"Security release issued."}],"datePublic":"2026-10-06T08:00:00.000Z","source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-06T14:20:18.760413Z","id":"CVE-2026-77050","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-06T14:21:29.655Z"}}]}}}