CVE-2009-3695
MEDIUM 5.0CVSS 2.0Django Regex Algorithmic Complexity Causes Denial of Service
Algorithmic complexity vulnerability in the forms library in Django 1.0 before 1.0.4 and 1.1 before 1.1.1 allows remote attackers to cause a denial of service (CPU consumption) via a crafted (1) EmailField (email address) or (2) URLField (URL) that triggers a large amount of backtracking in a regular expression.
- Published
- 13 Oct 2009
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-1333CWE-400
- Also known as
- GHSA-p6m5-h7pp-v2x5PYSEC-2009-4
- Sources
- NVDJSONOSV GHSA-p6m5-h7pp-v2x5JSONOSV PYSEC-2009-4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.0:*:*:*:*:*:*:* |
= 1.0 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.1:*:*:*:*:*:*:* |
= 1.1 | |
| OSV | PyPI | django | >= 1.0, < 1.0.4 | 1.0.4 |
| OSV | PyPI | django | >= 1.1, < 1.1.1 | 1.1.1 |
| OSV | PyPI | django | >= 1.0, < 1.0.4; >= 1.1, < 1.1.1 | 1.0.4, 1.1.1 |
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550457 · WEB
- http://groups.google.com/group/django-users/browse_thread/thread/15df9e45118dfc51/ · WEB
- http://secunia.com/advisories/36948 · Vendor Advisory, ADVISORY
- http://secunia.com/advisories/36968 · Vendor Advisory, ADVISORY
- http://www.debian.org/security/2009/dsa-1905 · WEB, ADVISORY
- http://www.djangoproject.com/weblog/2009/oct/09/security/ · Patch, Vendor Advisory, WEB, ARTICLE
- http://www.openwall.com/lists/oss-security/2009/10/13/6 · WEB
- http://www.securityfocus.com/bid/36655 · Patch, WEB
- http://www.vupen.com/english/advisories/2009/2871 · Patch, Vendor Advisory, ADVISORY
- https://exchange.xforce.ibmcloud.com/vulnerabilities/53727 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2009-3695 · ADVISORY
- https://github.com/django/django/commit/594a28a9044120bed58671dde8a805c9e0f6c79a · WEB
- https://github.com/django/django/commit/e3e992e18b368fcd56aabafc1b5bf80a6e11b495 · WEB
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2009-4.yaml · WEB
- https://web.archive.org/web/20091013093057/http://secunia.com/advisories/36968 · WEB
- https://web.archive.org/web/20091017070244/http://secunia.com/advisories/36948 · WEB
- https://web.archive.org/web/20200228171918/http://www.securityfocus.com/bid/36655 · WEB
- https://github.com/advisories/GHSA-p6m5-h7pp-v2x5 · ADVISORY
History
- 25 Nov 2026 20:15 UTC · NVD: first stored (published 13 Oct 2009)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Oct 2009)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 May 2022)