CVE-2026-77050 PUBLISHED

Potential denial-of-service vulnerability in get_supported_language_variant()

Assigner: DSF
Reserved: 20.08.2026 Published: 06.10.2026 Updated: 06.10.2026

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.

Metrics

CVSS 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
CVSS Score: 6.9

Product Status

Vendor djangoproject
Product Django
Versions Default: unaffected
  • affected from 6.1 to 6.1.2 (excl.)
  • Version 6.1.2 is unaffected
  • affected from 6.0 to 6.0.9 (excl.)
  • Version 6.0.9 is unaffected
  • affected from 5.2 to 5.2.18 (excl.)
  • Version 5.2.18 is unaffected

Credits

  • Gleb Lizunov reporter
  • Sarah Boyce remediation developer
  • Sarah Boyce coordinator

References

Problem Types

  • CWE-789: Memory Allocation with Excessive Size Value CWE

Impacts

  • CAPEC-130: Excessive Allocation