Skip to main content
VulnerabilityPublished Updated

CVE-2024-41989: django · Uncontrolled Resource Consumption

Affects djangoSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High : upgrade to 5.0.8 or 4.2.15 soon.

Data as of 26 Oct 2026, 15:59 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.2% chance of exploitation in 30 days – higher than 67% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.0.8, 4.2.15
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Aug 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 26 Oct 2026.

What to do

Upgrade django to 5.0.8 or 4.2.15.

Affected software

ProductAffectedFixed in
PyPIdjangopkg:pypi/djangoOther threatsAffected
  • <4.2.15
  • <5.0.8
Fixed in
  • 4.2.15
  • 5.0.8

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediate upgrade to Django versions 5.0.8 or 4.2.15 (or later) where the vulnerability is fixed.
  2. Implement strict input validation and sanitization on user-supplied data that may be passed to the floatformat filter, specifically restricting or sanitizing scientific notation inputs with large exponents.
  3. Employ web application firewalls (WAFs) with custom rules to detect and block suspicious inputs that exploit this vulnerability.
  4. Monitor application logs and resource usage metrics to detect abnormal memory consumption patterns indicative of exploitation attempts.
  5. Conduct thorough code reviews and template audits to identify and refactor any usage of floatformat that could be exposed to untrusted input.
  6. Establish robust patch management processes to ensure timely application of security updates.
  7. Consider rate limiting or throttling requests to template rendering endpoints to reduce the risk of resource exhaustion.
  8. Educate development teams about secure template usage and the risks of processing untrusted input in formatting filters.

Description

An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The floatformat template filter is subject to significant memory consumption when given a string representation of a number in scientific notation with a large exponent.

References

Community reviews

Loading reviews…