Bug 2547371 - CVE-2026-77050 python-django5: Denial of service via unbounded caching of long language codes in get_supported_language_variant() [fedora-all]
Summary: CVE-2026-77050 python-django5: Denial of service via unbounded caching of lon...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-django5
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Michel Lind
QA Contact:
URL:
Whiteboard: {"flaws": ["61c22acc-72ac-4de8-a714-c...
Depends On:
Blocks: CVE-2026-77050
TreeView+ depends on / blocked
 
Reported: 2026-10-07 10:29 UTC by Vladimir Vasilev
Modified: 2026-10-17 01:32 UTC (History)
2 users (show)

Fixed In Version: python-django5-5.2.18-1.fc44 python-django5-5.2.18-1.fc43
Clone Of:
Environment:
Last Closed: 2026-10-17 01:06:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-10-07 10:29:27 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 13:07:24 UTC
FEDORA-2026-8a0e918188 (python-django5-5.2.18-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-8a0e918188

Comment 2 Fedora Update System 2026-10-08 13:07:37 UTC
FEDORA-2026-36373ca634 (python-django5-5.2.18-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-36373ca634

Comment 3 Fedora Update System 2026-10-08 13:07:52 UTC
FEDORA-2026-a7b8ff851a (python-django5-5.2.18-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-a7b8ff851a

Comment 4 Fedora Update System 2026-10-09 02:08:58 UTC
FEDORA-2026-36373ca634 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-36373ca634`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-36373ca634

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

Comment 5 Fedora Update System 2026-10-09 02:30:51 UTC
FEDORA-2026-8a0e918188 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-8a0e918188`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-8a0e918188

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

Comment 6 Fedora Update System 2026-10-09 02:55:47 UTC
FEDORA-2026-a7b8ff851a has been pushed to the Fedora 43 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-a7b8ff851a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a7b8ff851a

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

Comment 7 Fedora Update System 2026-10-17 01:06:20 UTC
FEDORA-2026-8a0e918188 (python-django5-5.2.18-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-10-17 01:32:59 UTC
FEDORA-2026-a7b8ff851a (python-django5-5.2.18-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.