Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-15337— Potential denial-of-service vulnerability in check_for_language()

Quick assessment

Affected
djangoproject Django
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Django django是Django基金会开源的一个Web应用开发框架。 Django 5.2.17版本之前的5.2版本和6.0.8版本之前的6.0版本存在资源管理错误漏洞,该漏洞源于django.utils.translation.check_for_language()函数在处理大量不同且超长的语言代码时,将其作为键存储在内存缓存中并消耗进程内存,可能导致拒绝服务攻击。

CVSS 5.3 · Medium EPSS 0.59% · P46

Affected Version Matrix 4

VendorProduct Version RangeStatus
djangoproject Django 6.0< 6.0.8 affected
6.0.8 unaffected
5.2< 5.2.17 affected
5.2.17 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-15337

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Potential denial-of-service vulnerability in check_for_language()
Source: CVE Program / CVE List V5
Vulnerability Description
An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. `django.utils.translation.check_for_language()` is subject to a potential denial-of-service attack when given many distinct, very long language codes, which are retained as keys in an in-memory cache and consume process memory. Such codes reach the function through the `django.views.i18n.set_language()` view, which is not routed by default. The consumed memory is bounded, since request data is limited by the `DATA_UPLOAD_MAX_MEMORY_SIZE` setting (default 2.5 MB) and the cache holds a fixed maximum number of entries. 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 Jaeyoung Jang for reporting this issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
未经控制的内存分配
Source: CVE Program / CVE List V5
Vulnerability Title
Django 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Django django是Django基金会开源的一个Web应用开发框架。 Django 5.2.17版本之前的5.2版本和6.0.8版本之前的6.0版本存在资源管理错误漏洞,该漏洞源于django.utils.translation.check_for_language()函数在处理大量不同且超长的语言代码时,将其作为键存储在内存缓存中并消耗进程内存,可能导致拒绝服务攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
djangoproject Django 6.0 ~ 6.0.8 -

II. Public POCs for CVE-2026-15337

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-15337

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-15337 (4)

Vendor Advisories for CVE-2026-15337 (1)

Mailing List Discussions for CVE-2026-15337 (1)

Security Blog Posts for CVE-2026-15337 (1)

Same Patch Batch · djangoproject · 2026-08-04 · 4 CVEs total

CVE-2026-15307 8.8 HIGH Server-side file-write and request forgery via spatial lookups
CVE-2026-15920 6.1 MEDIUM Potential cross-site scripting via URLField values in the admin
CVE-2026-15830 5.3 MEDIUM Potential denial-of-service vulnerability via nested geometry collections

IV. Related Vulnerabilities

V. Comments for CVE-2026-15337

No comments yet


Leave a comment