Skip to main content

CVE-2026-77050: CWE-789: Memory Allocation with Excessive Size Value in djangoproject Django

0
Medium
VulnerabilityCVE-2026-77050cvecve-2026-77050cwe-789
Published: 10/06/2026 (10/06/2026, 13:34:40 UTC)
Source: CVE Database V5
Vendor/Project: djangoproject
Product: Django

Description

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.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

djangoproject

Django

Affected versions
>=6.1 <6.1.2>=6.0 <6.0.9>=5.2 <5.2.18
django
pkg:pypi/django
Affected versions
>=6.1 <6.1.2>=6.0 <6.0.9>=5.2 <5.2.18

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/06/2026, 14:05:05 UTC

Technical Analysis

This vulnerability (CVE-2026-77050) in Django arises from the handling of language codes in the get_supported_language_variant() function. When many distinct and very long language codes are processed, they are retained as keys in an in-memory cache, causing excessive memory allocation (CWE-789). This can lead to denial-of-service by exhausting process memory. The affected versions are Django 6.1 prior to 6.1.2, 6.0 prior to 6.0.9, and 5.2 prior to 5.2.18. The issue was reported by Gleb Lizunov. There is no indication of known exploits in the wild.

Potential Impact

The vulnerability allows an attacker to cause a denial-of-service condition by forcing the Django process to consume excessive memory through the caching of many distinct, very long language codes. This impacts availability but does not affect confidentiality or integrity. No known exploitation in the wild has been reported.

Mitigation Recommendations

Fixed versions are available: Django 6.1.2, 6.0.9, and 5.2.18 address this issue. Users should upgrade to these or later versions to remediate the vulnerability. No vendor advisory content was provided to indicate otherwise. Patch status is confirmed by the version ranges indicating fixed versions. No additional mitigation steps are specified.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
DSF
Date Reserved
2026-08-20T09:29:37.560Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ac4fc542cdf04f656b4d693

Added to database: 10/06/2026, 13:49:08 UTC

Last enriched: 10/06/2026, 14:05:05 UTC

Last updated: 10/07/2026, 02:48:07 UTC

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses