{"id":"CVE-2009-3695","aliases":["DEBIAN-CVE-2009-3695","DSA-1905-1","EUVD-2009-0004","GHSA-p6m5-h7pp-v2x5","PYSEC-2009-4"],"status":"published","title":"Django Regex Algorithmic Complexity Causes Denial of Service","description":"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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.03789,"percentile":0.90052,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1333","CWE-400"],"published":"2009-10-10T00:00:00Z","modified":"2026-10-23T17:47:38Z","fixes":[{"ecosystem":"PyPI","package":"django","fixed_in":["1.0.4","1.1.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"python-django","fixed_in":["1.1.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-django","fixed_in":["1.1.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-django","fixed_in":["1.1.1-1"],"sources":["osv"]},{"ecosystem":"Debian:5.0","package":"python-django","fixed_in":["1.0.2-1+lenny2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.0.4"}]}]},{"source":"ghsa","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"1.1.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-1"}]}]},{"source":"osv","ecosystem":"Debian:5.0","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2-1+lenny2"}]}],"versions":["1.0.2-1","1.0.2-1+lenny1"]},{"source":"osv","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.0.4"}]}],"versions":["1.0.1","1.0.2","1.0.3"]},{"source":"osv","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"1.1.1"}]}],"versions":["1.1"]},{"source":"osv","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.0.4"},{"introduced":"1.1"},{"fixed":"1.1.1"}]}],"versions":["1.0.1","1.0.2","1.0.3","1.1"]}],"products":[{"vendor":"djangoproject","product":"django"}],"references":[{"url":"http://www.securityfocus.com/bid/36655","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","fix","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/53727","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.djangoproject.com/weblog/2009/oct/09/security/","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","advisory","fix","article"]},{"url":"http://secunia.com/advisories/36948","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/36968","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.debian.org/security/2009/dsa-1905","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory","web"]},{"url":"http://groups.google.com/group/django-users/browse_thread/thread/15df9e45118dfc51/","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550457","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2009/10/13/6","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2009/2871","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-3695","tags":["advisory"]},{"url":"https://web.archive.org/web/20200228171918/http://www.securityfocus.com/bid/36655","tags":["web"]},{"url":"https://github.com/django/django/commit/594a28a9044120bed58671dde8a805c9e0f6c79a","tags":["web"]},{"url":"https://github.com/django/django/commit/e3e992e18b368fcd56aabafc1b5bf80a6e11b495","tags":["web"]},{"url":"http://groups.google.com/group/django-users/browse_thread/thread/15df9e45118dfc51","tags":["web"]},{"url":"http://www.djangoproject.com/weblog/2009/oct/09/security","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2009-4.yaml","tags":["web"]},{"url":"https://web.archive.org/web/20091013093057/http://secunia.com/advisories/36968","tags":["web"]},{"url":"https://web.archive.org/web/20091017070244/http://secunia.com/advisories/36948","tags":["web"]},{"url":"https://github.com/advisories/GHSA-p6m5-h7pp-v2x5","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2009-3695","tags":["advisory"]},{"url":"https://github.com/django/django","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2009-3695","description":"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.","status":"published","published":"2009-10-13T10:00:00Z","modified":"2024-08-07T06:38:30.278Z","updated_at":"2026-11-02T14:33:24.10565Z"}],"euvd":[{"id":"EUVD-2009-0004","description":"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.","status":"published","published":"2009-10-13T10:00:00Z","modified":"2024-08-07T06:38:30Z","updated_at":"2026-11-03T01:39:12.69352Z"}],"ghsa":[{"id":"GHSA-p6m5-h7pp-v2x5","title":"Django Regex Algorithmic Complexity Causes Denial of Service","description":"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.","status":"published","published":"2022-05-02T03:47:43Z","modified":"2024-09-16T21:57:16Z","cvss":[{"version":"4.0","score":8.7,"vector":"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","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400","CWE-1333"],"updated_at":"2026-11-02T14:38:03.800952Z"}],"nvd":[{"id":"CVE-2009-3695","description":"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.","status":"published","published":"2009-10-13T10:30:00.767Z","modified":"2026-06-16T23:12:10.017Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:01:37.004244Z"}],"osv":[{"id":"GHSA-p6m5-h7pp-v2x5","title":"Django Regex Algorithmic Complexity Causes Denial of Service","description":"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.","status":"published","published":"2022-05-02T03:47:43Z","modified":"2024-09-16T22:19:33.821208Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"4.0","score":8.7,"vector":"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","level":"high"}],"cwes":["CWE-1333","CWE-400"],"updated_at":"2026-11-02T15:46:52.891208Z"},{"id":"CVE-2009-3695","description":"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.","status":"published","published":"2009-10-13T10:30:00Z","modified":"2026-04-10T03:40:57.502941Z","updated_at":"2026-11-02T15:43:57.714116Z"},{"id":"DEBIAN-CVE-2009-3695","description":"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.","status":"published","published":"2009-10-13T10:30:00.767Z","modified":"2026-10-23T17:47:38.950210019Z","updated_at":"2026-11-02T15:45:24.013654Z"},{"id":"DSA-1905-1","title":"python-django - denial of service","status":"published","published":"2009-10-10T00:00:00Z","modified":"2026-03-09T01:21:24.774877Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"PYSEC-2009-4","description":"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.","status":"published","published":"2009-10-13T10:30:00Z","modified":"2026-06-10T17:00:51.151045095Z","updated_at":"2026-11-02T15:52:51.254177Z"}]}}
