Home / Pcre / Pcre / CVE-2008-2371
CVE-2008-2371: is it exploited, and which versions of Pcre are affected and fixed?
CVE-2008-2371 is an out-of-bounds write (memory corruption) 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 7.7, php from 5.2.0 through 5.2.7, debian linux 4.0 and 8 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, 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-2008-2371?
Heap-based buffer overflow in pcre_compile.c in the Perl-Compatible Regular Expression (PCRE) library 7.7 allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a regular expression that begins with an option and contains multiple branches.
From the CVE record by redhat, last updated August 7, 2024, 08:58 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pcre | pcre | 7.7 | application |
| php | php | from 5.2.0 through 5.2.7 | application |
| debian | debian linux | 4.0 | operating system |
| canonical | ubuntu linux | 6.06 | operating system |
| canonical | ubuntu linux | 7.04 | operating system |
| canonical | ubuntu linux | 7.10 | operating system |
| canonical | ubuntu linux | 8.04 | operating system |
| canonical | ubuntu linux | 9.10 | operating system |
| fedoraproject | fedora | 8 | operating system |
| fedoraproject | fedora | 9 | operating system |
| opensuse | opensuse | 10.3 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:53 UTC.
How severe is CVE-2008-2371?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 2.0 | AV:N/AC:L/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-2008-2371 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 6.73% probability of exploitation activity in the next 30 days, percentile 94.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-787 Out-of-bounds Write
Where are the vendor advisories and references?
- ADV-2008-2005 vdb-entry, x_refsource_VUPEN
- MDVSA-2008:147 vendor-advisory, x_refsource_MANDRIVA
- 32746 third-party-advisory, x_refsource_SECUNIA
- http://bugs.gentoo.org/show_bug.cgi?id=228091 x_refsource_CONFIRM
- HPSBUX02465 vendor-advisory, x_refsource_HP
- http://support.apple.com/kb/HT3549 x_refsource_CONFIRM
- ADV-2008-2006 vdb-entry, x_refsource_VUPEN
- GLSA-200811-05 vendor-advisory, x_refsource_GENTOO
- SSRT090085 vendor-advisory, x_refsource_HP
- 31681 vdb-entry, x_refsource_BID
- 30972 third-party-advisory, x_refsource_SECUNIA
- USN-624-2 vendor-advisory, x_refsource_UBUNTU
- 32454 third-party-advisory, x_refsource_SECUNIA
- 30944 third-party-advisory, x_refsource_SECUNIA
- 30958 third-party-advisory, x_refsource_SECUNIA
- 35074 third-party-advisory, x_refsource_SECUNIA
- USN-628-1 vendor-advisory, x_refsource_UBUNTU
- 39300 third-party-advisory, x_refsource_SECUNIA
- FEDORA-2008-6025 vendor-advisory, x_refsource_FEDORA
- http://ftp.gnome.org/pub/GNOME/sources/glib/2.16/glib-2.16.4.changes x_refsource_CONFIRM
- USN-624-1 vendor-advisory, x_refsource_UBUNTU
- APPLE-SA-2009-05-12 vendor-advisory, x_refsource_APPLE
- 30967 third-party-advisory, x_refsource_SECUNIA
- ADV-2010-0833 vdb-entry, x_refsource_VUPEN
- FEDORA-2008-6048 vendor-advisory, x_refsource_FEDORA
- MDVSA-2009:023 vendor-advisory, x_refsource_MANDRIVA
- 31200 third-party-advisory, x_refsource_SECUNIA
- 30916 third-party-advisory, x_refsource_SECUNIA
- 32222 third-party-advisory, x_refsource_SECUNIA
- 30961 third-party-advisory, x_refsource_SECUNIA
- SUSE-SR:2008:014 vendor-advisory, x_refsource_SUSE
- 30087 vdb-entry, x_refsource_BID
- 30990 third-party-advisory, x_refsource_SECUNIA
- TA09-133A third-party-advisory, x_refsource_CERT
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0305 x_refsource_CONFIRM
- ADV-2009-1297 vdb-entry, x_refsource_VUPEN
- DSA-1602 vendor-advisory, x_refsource_DEBIAN
- ADV-2008-2336 vdb-entry, x_refsource_VUPEN
- ADV-2008-2780 vdb-entry, x_refsource_VUPEN
- 30945 third-party-advisory, x_refsource_SECUNIA
- GLSA-200807-03 vendor-advisory, x_refsource_GENTOO
- APPLE-SA-2008-10-09 vendor-advisory, x_refsource_APPLE
- http://support.apple.com/kb/HT3216 x_refsource_CONFIRM
- 20081027 rPSA-2008-0305-1 pcre mailing-list, x_refsource_BUGTRAQ
- 35650 third-party-advisory, x_refsource_SECUNIA
When was it published, and where is the official record?
- Reserved
- May 21, 2008
- Published
- July 7, 2008, 23:00 UTC
- CVE record updated
- August 7, 2024, 08:58 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 22:53 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-2008-2371
Is CVE-2008-2371 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 6.73% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Pcre are affected by CVE-2008-2371?
pcre 7.7, php from 5.2.0 through 5.2.7, debian linux 4.0, ubuntu linux 6.06, ubuntu linux 7.04, ubuntu linux 7.10 and 5 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2008-2371?
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-2008-2371?
High (7.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2008-2371?
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.