Home / Pcre / Pcre / CVE-2007-1659
CVE-2007-1659: is it exploited, and which versions of Pcre are affected and fixed?
CVE-2007-1659 is a memory corruption (buffer overflow) vulnerability in Pcre. 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, 07:38 UTC). Affected: pcre through 7.3 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.8, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is CVE-2007-1659?
Perl-Compatible Regular Expression (PCRE) library before 7.3 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via regex patterns containing unmatched "\Q\E" sequences with orphan "\E" codes.
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 | pcre | through 7.3 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:38 UTC.
How severe is CVE-2007-1659?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/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-1659 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.53% probability of exploitation activity in the next 30 days, percentile 89.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- 30219 third-party-advisory, x_refsource_SECUNIA
- MDKSA-2007:212 vendor-advisory, x_refsource_MANDRIVA
- 27965 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
- MDVSA-2008:030 vendor-advisory, x_refsource_MANDRIVA
- DSA-1570 vendor-advisory, x_refsource_DEBIAN
- SUSE-SA:2008:004 vendor-advisory, x_refsource_SUSE
- https://issues.rpath.com/browse/RPL-1738 x_refsource_CONFIRM
- 28658 third-party-advisory, x_refsource_SECUNIA
- 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
- SUSE-SR:2007:025 vendor-advisory, x_refsource_SUSE
- 27547 third-party-advisory, x_refsource_SECUNIA
- 27543 third-party-advisory, x_refsource_SECUNIA
- http://support.avaya.com/elmodocs2/security/ASA-2007-505.htm x_refsource_CONFIRM
- [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
- pcre-regex-code-execution(38272) vdb-entry, x_refsource_XF
- RHSA-2007:1068 vendor-advisory, x_refsource_REDHAT
- 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
- 28041 third-party-advisory, x_refsource_SECUNIA
- 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
- 1018895 vdb-entry, x_refsource_SECTRACK
- 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
- RHSA-2007:0967 vendor-advisory, x_refsource_REDHAT
- 28720 third-party-advisory, x_refsource_SECUNIA
- GLSA-200801-02 vendor-advisory, x_refsource_GENTOO
- oval:org.mitre.oval:def:9725 vdb-entry, signature, x_refsource_OVAL
- 27598 third-party-advisory, x_refsource_SECUNIA
- 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, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Pcre?
- Jun 15, 2020CVE-2019-20838 Pcre: out-of-bounds read
- Jun 15, 2020CVE-2020-14155 Pcre: integer overflow
- Jan 14, 2020CVE-2015-2326 Pcre: out-of-bounds read
- Jan 14, 2020CVE-2015-2325 Pcre: out-of-bounds read
- Mar 17, 2019CVE-2017-16231 Pcre: memory corruption (buffer overflow) disputed
- Jul 11, 2017CVE-2017-11164 Pcre: uncontrolled recursion
- Mar 23, 2017CVE-2017-7246 Pcre: memory corruption (buffer overflow)
- Mar 23, 2017CVE-2017-7245 Pcre: memory corruption (buffer overflow)
Questions about CVE-2007-1659
Is CVE-2007-1659 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 3.53% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Pcre are affected by CVE-2007-1659?
pcre through 7.3, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2007-1659?
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-1659?
Medium (6.8, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2007-1659?
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.