Bug 2547369

Summary: CVE-2026-77050 python-django6: Denial of service via unbounded caching of long language codes in get_supported_language_variant() [fedora-all]
Product: [Fedora] Fedora Reporter: Vladimir Vasilev <vvasilev>
Component: python-django6Assignee: Michel Lind <michel>
Status: ON_QA --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: infra-sig, michel, ngompa13, python-packagers-sig
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["61c22acc-72ac-4de8-a714-c1e6291a0bf4"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2544146    

Description Vladimir Vasilev 2026-10-07 10:28:49 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw was found in Django. The django.utils.translation.get_supported_language_variant() function used language codes as keys in an in-memory cache without first limiting their length. A remote, unauthenticated attacker could submit many distinct, very long language codes (for example via the Accept-Language HTTP header processed by Django's locale middleware) to grow this cache and consume excessive process memory over time. The upstream fix rejects or truncates language codes longer than 500 characters before the cached lookup. No confidentiality or integrity impact has been demonstrated.

Comment 1 Fedora Update System 2026-10-08 10:18:52 UTC
FEDORA-2026-c221dbc190 (python-django6-6.1.2-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-c221dbc190

Comment 2 Fedora Update System 2026-10-08 10:19:00 UTC
FEDORA-2026-dbd9eb6961 (python-django6-6.1.2-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-dbd9eb6961

Comment 3 Fedora Update System 2026-10-09 02:08:24 UTC
FEDORA-2026-c221dbc190 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-c221dbc190`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-c221dbc190

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-10-09 02:30:16 UTC
FEDORA-2026-dbd9eb6961 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-dbd9eb6961`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-dbd9eb6961

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.