Home / Pcre / Perl-compatible Regular Expression Library / CVE-2007-1661
CVE-2007-1661: is it exploited, and which versions of Pcre Perl-compatible Regular Expression Library are affected and fixed?
CVE-2007-1661 is a vulnerability in Pcre Perl-compatible Regular Expression Library. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: perl-compatible regular expression library through 7.2, perl-compatible regular expression library 7.0, perl-compatible regular expression library 7.1 and 2 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.4, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is 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.
From the CVE record by mitre, last updated August 7, 2024, 13:06 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pcre | perl-compatible regular expression library | through 7.2 | application |
| pcre | perl-compatible regular expression library | 7.0 | application |
| pcre | perl-compatible regular expression library | 7.1 | application |
| apple | mac os x | 10.4.11 | operating system |
| apple | mac os x server | 10.4.11 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:38 UTC.
How severe is CVE-2007-1661?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.4 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2007-1661 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.49% probability of exploitation activity in the next 30 days, percentile 85.1 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- 30219 third-party-advisory, x_refsource_SECUNIA
- 29267 third-party-advisory, x_refsource_SECUNIA
- USN-547-1 vendor-advisory, x_refsource_UBUNTU
- GLSA-200711-30 vendor-advisory, x_refsource_GENTOO
- ADV-2007-4238 vdb-entry, x_refsource_VUPEN
- 20071106 rPSA-2007-0231-1 pcre mailing-list, x_refsource_BUGTRAQ
- TA07-352A third-party-advisory, x_refsource_CERT
- 27538 third-party-advisory, x_refsource_SECUNIA
- 20071112 FLEA-2007-0064-1 pcre mailing-list, x_refsource_BUGTRAQ
- 28136 third-party-advisory, x_refsource_SECUNIA
- DSA-1570 vendor-advisory, x_refsource_DEBIAN
- https://issues.rpath.com/browse/RPL-1738 x_refsource_CONFIRM
- 27773 third-party-advisory, x_refsource_SECUNIA
- 27697 third-party-advisory, x_refsource_SECUNIA
- 28406 third-party-advisory, x_refsource_SECUNIA
- 27554 third-party-advisory, x_refsource_SECUNIA
- ADV-2008-0924 vdb-entry, x_refsource_VUPEN
- pcre-nonutf8-dos(38274) vdb-entry, x_refsource_XF
- 27543 third-party-advisory, x_refsource_SECUNIA
- [gtk-devel-list] 20071107 GLib 2.14.3 mailing-list, x_refsource_MLIST
- 29420 third-party-advisory, x_refsource_SECUNIA
- APPLE-SA-2007-12-17 vendor-advisory, x_refsource_APPLE
- GLSA-200805-11 vendor-advisory, x_refsource_GENTOO
- APPLE-SA-2008-03-18 vendor-advisory, x_refsource_APPLE
- MDKSA-2007:211 vendor-advisory, x_refsource_MANDRIVA
- FEDORA-2008-1842 vendor-advisory, x_refsource_FEDORA
- http://docs.info.apple.com/article.html?artnum=307179 x_refsource_CONFIRM
- 27741 third-party-advisory, x_refsource_SECUNIA
- ADV-2007-3790 vdb-entry, x_refsource_VUPEN
- ADV-2007-3725 vdb-entry, x_refsource_VUPEN
- SUSE-SA:2007:062 vendor-advisory, x_refsource_SUSE
- http://www.pcre.org/changelog.txt x_refsource_CONFIRM
- http://docs.info.apple.com/article.html?artnum=307562 x_refsource_CONFIRM
- 30155 third-party-advisory, x_refsource_SECUNIA
- 28720 third-party-advisory, x_refsource_SECUNIA
- GLSA-200801-02 vendor-advisory, x_refsource_GENTOO
- http://bugs.gentoo.org/show_bug.cgi?id=198976 x_refsource_MISC
- GLSA-200801-19 vendor-advisory, x_refsource_GENTOO
- GLSA-200801-18 vendor-advisory, x_refsource_GENTOO
- DSA-1399 vendor-advisory, x_refsource_DEBIAN
- 28414 third-party-advisory, x_refsource_SECUNIA
- 26346 vdb-entry, x_refsource_BID
- 30106 third-party-advisory, x_refsource_SECUNIA
- 28714 third-party-advisory, x_refsource_SECUNIA
When was it published, and where is the official record?
- Reserved
- March 24, 2007
- Published
- November 7, 2007, 20:00 UTC
- CVE record updated
- August 7, 2024, 13:06 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:38 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Perl-compatible Regular Expression Library?
- Dec 2, 2015CVE-2015-8395 Pcre Perl Compatible Regular Expression Library: memory corruption (buffer overflow)
- Dec 2, 2015CVE-2015-8392 Pcre Perl Compatible Regular Expression Library: memory corruption (buffer overflow)
- Dec 2, 2015CVE-2015-8388 Oracle Linux: memory corruption (buffer overflow)
- Dec 2, 2015CVE-2015-8385 Oracle Linux: memory corruption (buffer overflow)
- Dec 2, 2015CVE-2015-8384 Pcre Perl Compatible Regular Expression Library: memory corruption (buffer overflow)
- Dec 2, 2015CVE-2015-8382 Pcre Perl Compatible Regular Expression Library: memory corruption (buffer overflow)
- Dec 2, 2015CVE-2015-8381 Pcre Perl Compatible Regular Expression Library: memory corruption (buffer overflow)
- Dec 2, 2015CVE-2015-8380 Pcre Perl Compatible Regular Expression Library: memory corruption (buffer overflow)
Every CVE in Perl-compatible Regular Expression Library
Questions about CVE-2007-1661
Is CVE-2007-1661 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 2.49% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Pcre Perl-compatible Regular Expression Library are affected by CVE-2007-1661?
perl-compatible regular expression library through 7.2, perl-compatible regular expression library 7.0, perl-compatible regular expression library 7.1, mac os x 10.4.11 and mac os x server 10.4.11, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2007-1661?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2007-1661?
Medium (6.4, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2007-1661?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.