CVE-2024-41989

python-django: Memory exhaustion in django.utils.numberformat.floatformat()

Published Aug 7, 2024 CVSS 3.1 · 7.5 High EPSS 1.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4458-1 python-django security update
Debian DSA Debian DSA DSA-6136-1 python-django security update
EUVD EUVD EUVD-2024-0044 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.
Github GHSA Github GHSA GHSA-jh75-99hh-qvx9 Django memory consumption vulnerability
Ubuntu USN Ubuntu USN USN-6946-1 Django vulnerabilities
History
Type Values Removed Values Added
First Time appeared Redhat discovery
Redhat rhui
CPEs cpe:/a:redhat:rhui:4::el8
cpe:/o:redhat:discovery:1.0::el9
Vendors & Products Redhat discovery
Redhat rhui
Type Values Removed Values Added
CPEs cpe:/a:redhat:ansible_automation_platform:2.5::el8
cpe:/a:redhat:ansible_automation_platform:2.5::el9
Type Values Removed Values Added
First Time appeared Redhat
Redhat ansible Automation Platform
CPEs cpe:/a:redhat:ansible_automation_platform:2.4::el8
cpe:/a:redhat:ansible_automation_platform:2.4::el9
Vendors & Products Redhat
Redhat ansible Automation Platform
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title python-django: Memory exhaustion in django.utils.numberformat.floatformat()
Weaknesses CWE-400
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Djangoproject
Djangoproject django
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
Vendors & Products Djangoproject
Djangoproject django
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
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
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 4, 2025, 4:13 PM
Reserved
Jul 25, 2024, 12:00 AM
Status
Modified
Published
Aug 7, 2024, 3:15 PM
Modified
Jun 17, 2026, 7:48 AM
Severity
Moderate
Public date
Aug 6, 2024, 1:00 PM