CVE-2024-38875: Django vulnerable to Denial of Service
Affects DjangoSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 4.2.14 soon.
Data as of 4 Nov 2026, 17:27 UTC
- Patch
- Available – fixed in 4.2.14, 5.0.7
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.
What to do
Upgrade Django to 4.2.14; Django to 5.0.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIDjango | Affected
| Fixed in
|
| PyPIDjango | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official patches by upgrading Django to version 4.2.14 or later, or 5.0.7 or later. These versions contain fixes that address the denial of service vulnerability in urlize and urlizetrunc. No other mitigation is indicated by the vendor advisory.
Description
Django versions 4.2 prior to 4.2.14 and 5.0 prior to 5.0.7 contain a vulnerability in the urlize and urlizetrunc functions that can be triggered by inputs with a very large number of brackets, leading to a denial of service condition. This issue has been assigned CVE-2024-38875 and is rated as high severity with a CVSS score of 7.5. Fixed versions 4.2.14 and 5.0.7 have been released to address this vulnerability.
References
- nvd.nist.gov/vuln/detail/CVE-2024-38875 (opens in a new tab)
- github.com/django/django/commit/7285644640f085f41d60ab0c8ae4e9153f0485db (opens in a new tab)
- github.com/django/django/commit/79f368764295df109a37192f6182fb6f361d85b5 (opens in a new tab)
- docs.djangoproject.com/en/dev/releases/security (opens in a new tab)
- github.com/django/django (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-56.yaml (opens in a new tab)
- groups.google.com/forum/ (opens in a new tab)
- security.netapp.com/advisory/ntap-20240808-0005 (opens in a new tab)
- djangoproject.com/weblog/2024/jul/09/security-releases (opens in a new tab)