CVE catalog

CVE-2026-77050

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 at

[CVE catalog]

Severity
Medium · CVSS 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.48% · Oct 25, 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-djangosid3:5.2.18-1fixed
Debianpython-djangoforky3:5.2.17-2vulnerable
Debianpython-djangotrixie3:4.2.28-0+deb13u2vulnerable
Debianpython-djangotrixie-security3:4.2.28-0+deb13u1vulnerable
Debianpython-djangobookworm3:3.2.25-0+deb12u3vulnerable
Debianpython-djangobookworm-security3:3.2.25-0+deb12u6fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-djangosourcesid3:5.2.18-1not yet assignedNot reported[1150176]
Debianpython-djangosourceforky(unfixed)not yet assignedNot reported[1150176]
Debianpython-djangosourcetrixie(unfixed)not yet assignedNot reported[1150176]
Debianpython-djangosourcebookworm3:3.2.25-0+deb12u6not yet assignedNot reported[1150176]

[Debian bug #1150176]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-django]Affected

    Source package: [python-django]

    Details (6)
    • 3:3.2.25-0+deb12u3 · all · bookworm

      Affected · Fixed: 3:3.2.25-0+deb12u6

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Affected · Fixed: 3:3.2.25-0+deb12u6

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 3:3.2.25-0+deb12u6

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 3:3.2.25-0+deb12u6

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Affected · Fixed: 3:3.2.25-0+deb12u6

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Affected · Fixed: 3:3.2.25-0+deb12u6

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

  • Source package: [python-django]

    Details (6)
    • 3:3.2.25-0+deb12u3 · all · bookworm

      Affected · Fixed: 3:3.2.25-0+deb12u6

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Affected · Fixed: 3:3.2.25-0+deb12u6

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 3:3.2.25-0+deb12u6

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 3:3.2.25-0+deb12u6

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Affected · Fixed: 3:3.2.25-0+deb12u6

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Affected · Fixed: 3:3.2.25-0+deb12u6

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

[Debian 13 (Trixie)]

  • [python3-django]Affected

    Source package: [python-django]

    Details (6)
    • 3:4.2.28-0+deb13u2 · all · trixie

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u2 · all · trixie

      Affected

      nvd · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Affected

      nvd · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Affected

      nvd · python-django · debian · 13

  • Source package: [python-django]

    Details (6)
    • 3:4.2.28-0+deb13u2 · all · trixie

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u2 · all · trixie

      Affected

      nvd · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Affected

      nvd · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Affected

      nvd · python-django · debian · 13

Observed:

References