CVE-2024-41991: Python django · An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15
Affects python-djangoSource GCVE Database
Not known to be exploited · CVSS 7.5 High · fixed in 1:1.11.11-1ubuntu1.21+esm6 : patch python-django soon.
Data as of 24 Nov 2026, 19:38 UTC
- Patch
- Available – fixed in 1:1.11.11-1ubuntu1.21+esm6, 2:2.2.12-1ubuntu0.24, 2:3.2.12-2ubuntu1.13 +1
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 7 Aug 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 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=esm-infra-legacy/xenialOther threats | Affected
| Fixed in– |
Ubuntu Pro 14.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=esm-infra-legacy/trustyOther threats | 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
A fix is available and users should update Django to version 5.0.8 or later, or 4.2.15 or later. Ubuntu users can apply the security updates provided in USN-6946-1 for supported LTS releases. Standard system updates will apply the necessary patches. No additional mitigation steps are required once patched.
Description
A denial-of-service vulnerability exists in Django versions prior to 5.0.8 and 4.2.15. The issue affects the urlize and urlizetrunc template filters, as well as the AdminURLFieldWidget widget, when processing inputs containing a very large number of Unicode characters. This can lead to memory exhaustion and service disruption.