
CVE catalog
CVE-2024-38875
Django vulnerabilities
An issue was discovered in Django 4.2 before 4.2.14 and 5.0 before 5.0.7. urlize and urlizetrunc were subject to a potential denial of service attack via certain inputs with a very large number of brackets.
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.19% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
Version impact has not been established. The original provider fields are retained below.
Provider details and historical evidence
Original provider fields
{
"package_releases": [
{
"name": "python-django",
"status": "fixed",
"release": "sid",
"version": "3:5.2.18-2"
},
{
"name": "python-django",
"status": "fixed",
"release": "forky",
"version": "3:5.2.17-2"
},
{
"name": "python-django",
"status": "fixed",
"release": "trixie",
"version": "3:4.2.28-0+deb13u2"
},
{
"name": "python-django",
"status": "fixed",
"release": "trixie-security",
"version": "3:4.2.28-0+deb13u1"
},
{
"name": "python-django",
"status": "vulnerable",
"release": "bookworm",
"version": "3:3.2.25-0+deb12u3"
},
{
"name": "python-django",
"status": "vulnerable",
"release": "bookworm-security",
"version": "3:3.2.25-0+deb12u6"
}
],
"fixed_versions": [
{
"bug": 1076069,
"name": "python-django",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "3:4.2.14-1"
},
{
"bug": 1076069,
"name": "python-django",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "3:4.2.14-1"
},
{
"bug": 1076069,
"name": "python-django",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "3:4.2.14-1"
},
{
"bug": 1076069,
"name": "python-django",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": ""
}
],
"distribution_packages": [
{
"name": "python-django",
"distro": "ubuntu",
"release": "noble",
"ecosystem": "deb",
"fixed_version": "not yet fixed"
},
{
"name": "python-django",
"distro": "ubuntu",
"release": "noble",
"ecosystem": "deb",
"fixed_version": "3:4.2.11-1ubuntu1.1"
},
{
"name": "python-django-doc",
"distro": "ubuntu",
"release": "noble",
"ecosystem": "deb",
"fixed_version": "3:4.2.11-1ubuntu1.1"
},
{
"name": "python3-django",
"distro": "ubuntu",
"release": "noble",
"ecosystem": "deb",
"fixed_version": "3:4.2.11-1ubuntu1.1"
},
{
"name": "python-django",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:1.11.11-1ubuntu1.21+esm5"
}
]
}
],
"release": "pro",
"versions": [
"1:1.11.4-1ubuntu1",
"1:1.11.6-1ubuntu1",
"1:1.11.9-1ubuntu1",
"1:1.11.11-1ubuntu1",
"1:1.11.11-1ubuntu1.1",
"1:1.11.11-1ubuntu1.2",
"1:1.11.11-1ubuntu1.3",
"1:1.11.11-1ubuntu1.4",
"1:1.11.11-1ubuntu1.5",
"1:1.11.11-1ubuntu1.6",
"1:1.11.11-1ubuntu1.7",
"1:1.11.11-1ubuntu1.8",
"1:1.11.11-1ubuntu1.9",
"1:1.11.11-1ubuntu1.10",
"1:1.11.11-1ubuntu1.11",
"1:1.11.11-1ubuntu1.12",
"1:1.11.11-1ubuntu1.13",
"1:1.11.11-1ubuntu1.14",
"1:1.11.11-1ubuntu1.15",
"1:1.11.11-1ubuntu1.16",
"1:1.11.11-1ubuntu1.17",
"1:1.11.11-1ubuntu1.18",
"1:1.11.11-1ubuntu1.19",
"1:1.11.11-1ubuntu1.20",
"1:1.11.11-1ubuntu1.21",
"1:1.11.11-1ubuntu1.21+esm1",
"1:1.11.11-1ubuntu1.21+esm2",
"1:1.11.11-1ubuntu1.21+esm3",
"1:1.11.11-1ubuntu1.21+esm4"
],
"ecosystem": "deb",
"fixed_version": "1:1.11.11-1ubuntu1.21+esm5",
"provider_record_id": "UBUNTU-CVE-2024-38875"
},
{
"name": "python-django",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:2.2.12-1ubuntu0.23"
}
]
}
],
"release": "20.04",
"versions": [
"1:1.11.22-1ubuntu1",
"2:2.2.6-1ubuntu1",
"2:2.2.9-2ubuntu1",
"2:2.2.10-1",
"2:2.2.10-1ubuntu1",
"2:2.2.11-1",
"2:2.2.12-1",
"2:2.2.12-1ubuntu0.1",
"2:2.2.12-1ubuntu0.2",
"2:2.2.12-1ubuntu0.3",
"2:2.2.12-1ubuntu0.4",
"2:2.2.12-1ubuntu0.5",
"2:2.2.12-1ubuntu0.6",
"2:2.2.12-1ubuntu0.7",
"2:2.2.12-1ubuntu0.8",
"2:2.2.12-1ubuntu0.9",
"2:2.2.12-1ubuntu0.10",
"2:2.2.12-1ubuntu0.11",
"2:2.2.12-1ubuntu0.12",
"2:2.2.12-1ubuntu0.13",
"2:2.2.12-1ubuntu0.14",
"2:2.2.12-1ubuntu0.15",
"2:2.2.12-1ubuntu0.16",
"2:2.2.12-1ubuntu0.17",
"2:2.2.12-1ubuntu0.18",
"2:2.2.12-1ubuntu0.19",
"2:2.2.12-1ubuntu0.20",
"2:2.2.12-1ubuntu0.21",
"2:2.2.12-1ubuntu0.22"
],
"ecosystem": "deb",
"fixed_version": "2:2.2.12-1ubuntu0.23",
"provider_record_id": "UBUNTU-CVE-2024-38875"
},
{
"name": "python-django",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:3.2.12-2ubuntu1.12"
}
]
}
],
"release": "22.04",
"versions": [
"2:2.2.24-1ubuntu1",
"2:3.2.12-2",
"2:3.2.12-2ubuntu1",
"2:3.2.12-2ubuntu1.1",
"2:3.2.12-2ubuntu1.2",
"2:3.2.12-2ubuntu1.3",
"2:3.2.12-2ubuntu1.4",
"2:3.2.12-2ubuntu1.5",
"2:3.2.12-2ubuntu1.6",
"2:3.2.12-2ubuntu1.7",
"2:3.2.12-2ubuntu1.8",
"2:3.2.12-2ubuntu1.9",
"2:3.2.12-2ubuntu1.10",
"2:3.2.12-2ubuntu1.11"
],
"ecosystem": "deb",
"fixed_version": "2:3.2.12-2ubuntu1.12",
"provider_record_id": "UBUNTU-CVE-2024-38875"
},
{
"name": "python-django",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3:4.2.11-1ubuntu1.1"
}
]
}
],
"release": "24.04",
"versions": [
"3:4.2.4-1ubuntu2",
"3:4.2.8-1",
"3:4.2.9-1",
"3:4.2.11-1",
"3:4.2.11-1ubuntu1"
],
"ecosystem": "deb",
"fixed_version": "3:4.2.11-1ubuntu1.1",
"provider_record_id": "UBUNTU-CVE-2024-38875"
},
{
"name": "python-django",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:1.11.11-1ubuntu1.21+esm5"
}
]
}
],
"release": "pro",
"versions": [
"1:1.11.4-1ubuntu1",
"1:1.11.6-1ubuntu1",
"1:1.11.9-1ubuntu1",
"1:1.11.11-1ubuntu1",
"1:1.11.11-1ubuntu1.1",
"1:1.11.11-1ubuntu1.2",
"1:1.11.11-1ubuntu1.3",
"1:1.11.11-1ubuntu1.4",
"1:1.11.11-1ubuntu1.5",
"1:1.11.11-1ubuntu1.6",
"1:1.11.11-1ubuntu1.7",
"1:1.11.11-1ubuntu1.8",
"1:1.11.11-1ubuntu1.9",
"1:1.11.11-1ubuntu1.10",
"1:1.11.11-1ubuntu1.11",
"1:1.11.11-1ubuntu1.12",
"1:1.11.11-1ubuntu1.13",
"1:1.11.11-1ubuntu1.14",
"1:1.11.11-1ubuntu1.15",
"1:1.11.11-1ubuntu1.16",
"1:1.11.11-1ubuntu1.17",
"1:1.11.11-1ubuntu1.18",
"1:1.11.11-1ubuntu1.19",
"1:1.11.11-1ubuntu1.20",
"1:1.11.11-1ubuntu1.21",
"1:1.11.11-1ubuntu1.21+esm1",
"1:1.11.11-1ubuntu1.21+esm2",
"1:1.11.11-1ubuntu1.21+esm3",
"1:1.11.11-1ubuntu1.21+esm4"
],
"ecosystem": "deb",
"fixed_version": "1:1.11.11-1ubuntu1.21+esm5",
"provider_record_id": "USN-6888-2"
},
{
"name": "python-django",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:2.2.12-1ubuntu0.23"
}
]
}
],
"release": "20.04",
"versions": [
"1:1.11.22-1ubuntu1",
"2:2.2.6-1ubuntu1",
"2:2.2.9-2ubuntu1",
"2:2.2.10-1",
"2:2.2.10-1ubuntu1",
"2:2.2.11-1",
"2:2.2.12-1",
"2:2.2.12-1ubuntu0.1",
"2:2.2.12-1ubuntu0.2",
"2:2.2.12-1ubuntu0.3",
"2:2.2.12-1ubuntu0.4",
"2:2.2.12-1ubuntu0.5",
"2:2.2.12-1ubuntu0.6",
"2:2.2.12-1ubuntu0.7",
"2:2.2.12-1ubuntu0.8",
"2:2.2.12-1ubuntu0.9",
"2:2.2.12-1ubuntu0.10",
"2:2.2.12-1ubuntu0.11",
"2:2.2.12-1ubuntu0.12",
"2:2.2.12-1ubuntu0.13",
"2:2.2.12-1ubuntu0.14",
"2:2.2.12-1ubuntu0.15",
"2:2.2.12-1ubuntu0.16",
"2:2.2.12-1ubuntu0.17",
"2:2.2.12-1ubuntu0.18",
"2:2.2.12-1ubuntu0.19",
"2:2.2.12-1ubuntu0.20",
"2:2.2.12-1ubuntu0.21",
"2:2.2.12-1ubuntu0.22"
],
"ecosystem": "deb",
"fixed_version": "2:2.2.12-1ubuntu0.23",
"provider_record_id": "USN-6888-1"
},
{
"name": "python-django",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:3.2.12-2ubuntu1.12"
}
]
}
],
"release": "22.04",
"versions": [
"2:2.2.24-1ubuntu1",
"2:3.2.12-2",
"2:3.2.12-2ubuntu1",
"2:3.2.12-2ubuntu1.1",
"2:3.2.12-2ubuntu1.2",
"2:3.2.12-2ubuntu1.3",
"2:3.2.12-2ubuntu1.4",
"2:3.2.12-2ubuntu1.5",
"2:3.2.12-2ubuntu1.6",
"2:3.2.12-2ubuntu1.7",
"2:3.2.12-2ubuntu1.8",
"2:3.2.12-2ubuntu1.9",
"2:3.2.12-2ubuntu1.10",
"2:3.2.12-2ubuntu1.11"
],
"ecosystem": "deb",
"fixed_version": "2:3.2.12-2ubuntu1.12",
"provider_record_id": "USN-6888-1"
},
{
"name": "python-django",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3:4.2.11-1ubuntu1.1"
}
]
}
],
"release": "24.04",
"versions": [
"3:4.2.4-1ubuntu2",
"3:4.2.8-1",
"3:4.2.9-1",
"3:4.2.11-1",
"3:4.2.11-1ubuntu1"
],
"ecosystem": "deb",
"fixed_version": "3:4.2.11-1ubuntu1.1",
"provider_record_id": "USN-6888-1"
},
{
"name": "python-Django",
"distro": "opensuse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.0.7-2.1"
}
]
}
],
"release": "tumbleweed",
"versions": [],
"ecosystem": "rpm",
"fixed_version": "5.0.7-2.1",
"provider_record_id": "OPENSUSE-SU-2024:14203-1"
},
{
"name": "python-Django",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.2.11-150600.3.3.1"
}
]
}
],
"release": "linux enterprise module for package hub 15 sp6",
"versions": [],
"ecosystem": "rpm",
"fixed_version": "4.2.11-150600.3.3.1",
"provider_record_id": "SUSE-SU-2024:2577-1"
},
{
"name": "python-Django",
"distro": "opensuse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.2.11-150600.3.3.1"
}
]
}
],
"release": "leap 15.6",
"versions": [],
"ecosystem": "rpm",
"fixed_version": "4.2.11-150600.3.3.1",
"provider_record_id": "SUSE-SU-2024:2577-1"
}
]
}Publisher notes
[bookworm] python-django: Minor issue; intrusive to backport
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [python3-django]Unknown
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormAffected
usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:3.2.25-0+deb12u3· all · bookwormAffected
usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsAffected
usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsAffected
usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityAffected
usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityAffected
usn · python-django · debian · bookworm; usn · python-django · debian · 12
- [python-django-doc]Unknown
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormAffected
usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:3.2.25-0+deb12u3· all · bookwormAffected
usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsAffected
usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsAffected
usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityAffected
usn · python-django · debian · bookworm; usn · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityAffected
usn · python-django · debian · bookworm; usn · python-django · debian · 12
[Debian 13 (Trixie)]
- [python3-django]Unknown
Source package: [python-django]
Details (6)
3:4.2.28-0+deb13u2· all · trixieFixed · Fixed:
3:4.2.14-1usn · python-django · debian · 13
3:4.2.28-0+deb13u2· all · trixieFixed · Fixed:
3:4.2.14-1usn · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsFixed · Fixed:
3:4.2.14-1usn · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsFixed · Fixed:
3:4.2.14-1usn · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityFixed · Fixed:
3:4.2.14-1usn · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityFixed · Fixed:
3:4.2.14-1usn · python-django · debian · 13
- [python-django-doc]Unknown
Source package: [python-django]
Details (6)
3:4.2.28-0+deb13u2· all · trixieFixed · Fixed:
3:4.2.14-1usn · python-django · debian · 13
3:4.2.28-0+deb13u2· all · trixieFixed · Fixed:
3:4.2.14-1usn · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsFixed · Fixed:
3:4.2.14-1usn · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsFixed · Fixed:
3:4.2.14-1usn · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityFixed · Fixed:
3:4.2.14-1usn · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityFixed · Fixed:
3:4.2.14-1usn · python-django · debian · 13
[openSUSE Tumbleweed]
- [python313-Django]Unknown
Source package: [python-Django]
Details (1)
6.0.8-1.1· noarch · tumbleweedUnknown · Fixed:
5.0.7-2.1Version impact unknown
usn · python-Django · opensuse · tumbleweed
- [python314-Django]Unknown
Source package: [python-Django]
Details (1)
6.0.8-1.1· noarch · tumbleweedUnknown · Fixed:
5.0.7-2.1Version impact unknown
usn · python-Django · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10005-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-38875]
- [https://osv.dev/vulnerability/SUSE-SU-2024:2577-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-38875]
- [https://osv.dev/vulnerability/USN-6888-1]
- [https://osv.dev/vulnerability/USN-6888-2]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14203-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-38875]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-38875.json]
- [https://ubuntu.com/security/notices/USN-6888-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1569.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]