{"id":"CVE-2007-1661","aliases":["DEBIAN-CVE-2007-1661","DSA-1399-1","DSA-1570-1","DTSA-77-1","EUVD-2007-1655","GHSA-759q-4q8w-5gfh"],"status":"published","title":"Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching...","description":"Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex patterns in non-UTF-8 mode, which allows context-dependent attackers to obtain sensitive information or cause a denial of service (crash), as demonstrated by the \"\\X?\\d\" and \"\\P{L}?\\d\" patterns.","severity":{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02492,"percentile":0.84752,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2007-11-05T00:00:00Z","modified":"2026-10-21T17:47:49Z","fixes":[{"ecosystem":"Debian:12","package":"glib2.0","fixed_in":["2.14.3-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"glib2.0","fixed_in":["2.14.3-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"glib2.0","fixed_in":["2.14.3-1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"pcre3","fixed_in":["7.3-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.14.3-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.14.3-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.14.3-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"pcre3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.3-1"}]}]},{"source":"osv","ecosystem":"Debian:3.1","package":"pcre3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5+7.4-1"}]}],"versions":["4.5-1.2","4.5-1.2sarge1"],"bundled":7},{"source":"osv","ecosystem":"Debian:4.0","package":"pcre3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7+7.4-2"}]}],"versions":["6.7+7.4-1","6.7-1"],"bundled":7},{"source":"osv","ecosystem":"Debian:4.0","package":"kazehakase","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.2-1etch1"}]}],"versions":["0.4.2-1"],"bundled":10},{"source":"osv","ecosystem":"Debian:5.0","package":"pcre3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7+7.4-2+lenny1"}]}],"bundled":7}],"products":[{"vendor":"apple","product":"mac_os_x"},{"vendor":"apple","product":"mac_os_x_server"},{"vendor":"pcre","product":"perl-compatible_regular_expression_library"}],"references":[{"url":"http://secunia.com/advisories/30219","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/29267","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://usn.ubuntu.com/547-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"http://security.gentoo.org/glsa/glsa-200711-30.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2007/4238","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/archive/1/483357/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA07-352A.html","tags":["third-party-advisory","x_refsource_CERT","x_transferred","US Government Resource","web"]},{"url":"http://secunia.com/advisories/27538","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securityfocus.com/archive/1/483579/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://secunia.com/advisories/28136","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.debian.org/security/2008/dsa-1570","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"https://issues.rpath.com/browse/RPL-1738","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/27773","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/27697","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/28406","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/27554","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.vupen.com/english/advisories/2008/0924/references","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38274","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://secunia.com/advisories/27543","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00022.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://secunia.com/advisories/29420","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","web"]},{"url":"http://security.gentoo.org/glsa/glsa-200805-11.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:211","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00181.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://docs.info.apple.com/article.html?artnum=307179","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/27741","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.vupen.com/english/advisories/2007/3790","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2007/3725","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://www.novell.com/linux/security/advisories/2007_62_pcre.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"http://www.pcre.org/changelog.txt","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://docs.info.apple.com/article.html?artnum=307562","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/30155","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/28720","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-200801-02.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=198976","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://security.gentoo.org/glsa/glsa-200801-19.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-200801-18.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://www.debian.org/security/2007/dsa-1399","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch","fix"]},{"url":"http://secunia.com/advisories/28414","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/26346","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://secunia.com/advisories/30106","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/28714","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1661"},{"url":"https://usn.ubuntu.com/547-1"},{"url":"https://github.com/advisories/GHSA-759q-4q8w-5gfh"},{"url":"https://security-tracker.debian.org/tracker/CVE-2007-1661","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2007-1661","description":"Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex patterns in non-UTF-8 mode, which allows context-dependent attackers to obtain sensitive information or cause a denial of service (crash), as demonstrated by the \"\\X?\\d\" and \"\\P{L}?\\d\" patterns.","status":"published","published":"2007-11-07T20:00:00Z","modified":"2024-08-07T13:06:25.952Z","updated_at":"2026-11-02T13:33:52.669326Z"}],"euvd":[{"id":"EUVD-2007-1655","description":"Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex patterns in non-UTF-8 mode, which allows context-dependent attackers to obtain sensitive information or cause a denial of service (crash), as demonstrated by the \"\\X?\\d\" and \"\\P{L}?\\d\" patterns.","status":"published","published":"2007-11-07T20:00:00Z","modified":"2024-08-07T13:06:25Z","updated_at":"2026-11-03T01:38:24.820783Z"}],"ghsa":[{"id":"GHSA-759q-4q8w-5gfh","title":"Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching...","description":"Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex patterns in non-UTF-8 mode, which allows context-dependent attackers to obtain sensitive information or cause a denial of service (crash), as demonstrated by the \"\\X?\\d\" and \"\\P{L}?\\d\" patterns.","status":"published","published":"2022-05-01T17:55:52Z","modified":"2025-04-09T03:49:13Z","updated_at":"2026-11-02T15:00:56.03294Z"}],"nvd":[{"id":"CVE-2007-1661","description":"Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex patterns in non-UTF-8 mode, which allows context-dependent attackers to obtain sensitive information or cause a denial of service (crash), as demonstrated by the \"\\X?\\d\" and \"\\P{L}?\\d\" patterns.","status":"published","published":"2007-11-07T23:46:00Z","modified":"2026-06-16T22:38:03.44Z","cvss":[{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:01:22.203764Z"}],"osv":[{"id":"CVE-2007-1661","description":"Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex patterns in non-UTF-8 mode, which allows context-dependent attackers to obtain sensitive information or cause a denial of service (crash), as demonstrated by the \"\\X?\\d\" and \"\\P{L}?\\d\" patterns.","status":"published","published":"2007-11-07T23:46:00Z","modified":"2026-04-10T03:38:46.508659Z","updated_at":"2026-11-02T15:43:56.865964Z"},{"id":"DEBIAN-CVE-2007-1661","description":"Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex patterns in non-UTF-8 mode, which allows context-dependent attackers to obtain sensitive information or cause a denial of service (crash), as demonstrated by the \"\\X?\\d\" and \"\\P{L}?\\d\" patterns.","status":"published","published":"2007-11-07T23:46:00Z","modified":"2026-10-21T17:47:49.986615506Z","updated_at":"2026-11-02T15:45:23.105674Z"},{"id":"DSA-1399-1","title":"pcre3 - arbitrary code execution","status":"published","published":"2007-11-05T00:00:00Z","modified":"2026-03-09T01:00:47.006778Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"DSA-1570-1","title":"kazehakase - execution of arbitrary code","status":"published","published":"2008-05-06T00:00:00Z","modified":"2026-03-09T01:23:19.010485Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"DTSA-77-1","title":"pcre3 - arbitrary code execution","status":"published","published":"2007-11-06T00:00:00Z","modified":"2026-03-09T01:01:30.728479Z","updated_at":"2026-11-02T15:46:18.716547Z"}]}}
