Bug 2544146 (CVE-2026-77050) - CVE-2026-77050 django: Denial of service via unbounded caching of long language codes in get_supported_language_variant()
Summary: CVE-2026-77050 django: Denial of service via unbounded caching of long langua...
Keywords:
Status: NEW
Alias: CVE-2026-77050
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2547369 2547370 2547371
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-30 17:20 UTC by OSIDB Bzimport
Modified: 2026-10-07 10:32 UTC (History)
45 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-30 17:20:29 UTC
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.


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