# CVE-2024-38875: Django vulnerable to Denial of Service

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.76%, higher than 79% of CVEs (2026-11-30)
- Published: 2024-07-10T00:00:00.000Z
- Modified: 2026-09-10T03:50:16.815Z
- Also known as: GHSA-qg2p-9jwr-mmqf, BIT-DJANGO-2024-38875, PYSEC-2024-56
- Weaknesses: CWE-130, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- djangoproject django: from 4.2 before 4.2.14; from 5.0 before 5.0.7
- django (PyPI): from 4.2 before 4.2.14; from 5.0 before 5.0.7
- django (Bitnami): from 4.2.0 before 4.2.14; from 5.0.0 before 5.0.7

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://docs.djangoproject.com/en/dev/releases/security/> (advisory, vendor-advisory, web)
- <https://groups.google.com/forum/#%21forum/django-announce> (permissions-required, web)
- <https://www.djangoproject.com/weblog/2024/jul/09/security-releases/> (advisory, article, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20240808-0005/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38875> (advisory, web)
- <https://github.com/django/django/commit/7285644640f085f41d60ab0c8ae4e9153f0485db> (web)
- <https://github.com/django/django/commit/79f368764295df109a37192f6182fb6f361d85b5> (web)
- <https://docs.djangoproject.com/en/dev/releases/security> (web)
- <https://github.com/django/django> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-56.yaml> (web)
- <https://security.netapp.com/advisory/ntap-20240808-0005> (web)
- <https://www.djangoproject.com/weblog/2024/jul/09/security-releases> (web)
- <https://github.com/advisories/GHSA-qg2p-9jwr-mmqf> (advisory)

## Sources

- CVE List: [CVE-2024-38875](https://www.cve.org/CVERecord?id=CVE-2024-38875), CVE Terms of Use, modified 2025-11-04
- GitHub Advisory Database: [GHSA-qg2p-9jwr-mmqf](https://github.com/advisories/GHSA-qg2p-9jwr-mmqf), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-38875](https://nvd.nist.gov/vuln/detail/CVE-2024-38875), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-56](https://osv.dev/vulnerability/PYSEC-2024-56), CC-BY-4.0, modified 2026-06-10
- Bitnami Vulnerability Database: [BIT-DJANGO-2024-38875](https://osv.dev/vulnerability/BIT-DJANGO-2024-38875), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-38875 · Whole record: https://cve.day/CVE-2024-38875.json · Rebuilt by cve.day 2026-11-25T22:58:42.727Z
