CVE-2007-1661

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.

Published: 2007-11-07 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2007-1661 is rated Moderate Risk (54.9/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.49%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2007-1661

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 2.03% 2.49% +0.46%
2 2026-03-15 2.72% 2.03% -0.68%
3 2025-03-30 2.72%

Full EPSS history (15 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2007-1661

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.4 2.0 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 4.9 [email protected]

Weakness enumeration for CVE-2007-1661

OS Trackers for CVE-2007-1661

vendor priority summary link
debian unimportant CVE-2007-1661 unimportant priority: Debian including 2 source packages (glib2.0, pcre3), 7 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 7. https://security-tracker.debian.org/tracker/CVE-2007-1661
gentoo normal CVE-2007-1661: 1 GLSA(s) (200711-30), 1 atom(s) (dev-libs/libpcre); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2007-1661
redhat high https://access.redhat.com/security/cve/CVE-2007-1661
ubuntu low CVE-2007-1661 low priority: Ubuntu including 1 source packages (pcre3), 5 status rows across 5 suites (dapper, edgy, feisty, gutsy, upstream): released 5. https://ubuntu.com/security/CVE-2007-1661

Affected software / configurations for CVE-2007-1661

Vendor Product Version Raw CPE
pcre perl-compatible_regular_expression_library <= 7.2 cpe:2.3:a:pcre:perl-compatible_regular_expression_library:*:*:*:*:*:*:*:*
pcre perl-compatible_regular_expression_library 7.0 cpe:2.3:a:pcre:perl-compatible_regular_expression_library:7.0:*:*:*:*:*:*:*
pcre perl-compatible_regular_expression_library 7.1 cpe:2.3:a:pcre:perl-compatible_regular_expression_library:7.1:*:*:*:*:*:*:*
apple mac_os_x 10.4.11 cpe:2.3:o:apple:mac_os_x:10.4.11:*:*:*:*:*:*:*
apple mac_os_x_server 10.4.11 cpe:2.3:o:apple:mac_os_x_server:10.4.11:*:*:*:*:*:*:*

References for CVE-2007-1661

URL Tags
http://bugs.gentoo.org/show_bug.cgi?id=198976
http://docs.info.apple.com/article.html?artnum=307179
http://docs.info.apple.com/article.html?artnum=307562
http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00022.html
http://secunia.com/advisories/27538 Vendor Advisory
http://secunia.com/advisories/27543 Vendor Advisory
http://secunia.com/advisories/27554 Vendor Advisory
http://secunia.com/advisories/27697 Vendor Advisory
http://secunia.com/advisories/27741 Vendor Advisory
http://secunia.com/advisories/27773 Vendor Advisory
http://secunia.com/advisories/28136 Vendor Advisory
http://secunia.com/advisories/28406 Vendor Advisory
http://secunia.com/advisories/28414 Vendor Advisory
http://secunia.com/advisories/28714 Vendor Advisory
http://secunia.com/advisories/28720 Vendor Advisory
http://secunia.com/advisories/29267 Vendor Advisory
http://secunia.com/advisories/29420 Vendor Advisory
http://secunia.com/advisories/30106 Vendor Advisory
http://secunia.com/advisories/30155 Vendor Advisory
http://secunia.com/advisories/30219 Vendor Advisory
http://security.gentoo.org/glsa/glsa-200711-30.xml
http://security.gentoo.org/glsa/glsa-200801-02.xml
http://security.gentoo.org/glsa/glsa-200801-18.xml
http://security.gentoo.org/glsa/glsa-200801-19.xml
http://security.gentoo.org/glsa/glsa-200805-11.xml
http://www.debian.org/security/2007/dsa-1399 Patch
http://www.debian.org/security/2008/dsa-1570
http://www.mandriva.com/security/advisories?name=MDKSA-2007:211
http://www.novell.com/linux/security/advisories/2007_62_pcre.html
http://www.pcre.org/changelog.txt
http://www.securityfocus.com/archive/1/483357/100/0/threaded
http://www.securityfocus.com/archive/1/483579/100/0/threaded
http://www.securityfocus.com/bid/26346
http://www.us-cert.gov/cas/techalerts/TA07-352A.html US Government Resource
http://www.vupen.com/english/advisories/2007/3725
http://www.vupen.com/english/advisories/2007/3790
http://www.vupen.com/english/advisories/2007/4238
http://www.vupen.com/english/advisories/2008/0924/references
https://exchange.xforce.ibmcloud.com/vulnerabilities/38274
https://issues.rpath.com/browse/RPL-1738
https://usn.ubuntu.com/547-1/
https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00181.html
cvelogic Threat Intelligence