Heap-based buffer overflow in pcre_compile.c in the Perl-Compatible Regular Expression…
Priority MEDIUM 42CWE-787Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.06726 93rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 11
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:pcre:pcre:7.7:*:*:*:*:*:*:* | 7.7 | Vulnerable | PCRE |
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 5.2.0 – 5.2.7 | Vulnerable | PHP |
| cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:* | 6.06 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* | 7.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:* | 7.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:* | 8.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:9.10:*:*:*:*:*:*:* | 9.10 | Vulnerable | Canonical |
| cpe:2.3:o:fedoraproject:fedora:8:*:*:*:*:*:*:* | 8 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:9:*:*:*:*:*:*:* | 9 | Vulnerable | Fedoraproject |
- cpe:2.3:a:pcre:pcre:7.7:*:*:*:*:*:*:* Versions 7.7 Vulnerable ·PCRE
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 5.2.0 – 5.2.7 Vulnerable ·PHP
- cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:* Versions 6.06 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* Versions 7.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:* Versions 7.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:* Versions 8.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:9.10:*:*:*:*:*:*:* Versions 9.10 Vulnerable ·Canonical
- cpe:2.3:o:fedoraproject:fedora:8:*:*:*:*:*:*:* Versions 8 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:9:*:*:*:*:*:*:* Versions 9 Vulnerable ·Fedoraproject
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2008-2371
- 2026-10-03 Alias added: GHSA-853v-4rcq-pjpw
References
Advisory 26
- ADV-2008-2005
- MDVSA-2008:147
- HPSBUX02465
- http://support.apple.com/kb/HT3549
- ADV-2008-2006
- GLSA-200811-05
- SSRT090085
- USN-624-2
- USN-628-1
- FEDORA-2008-6025
- http://ftp.gnome.org/pub/GNOME/sources/glib/2.16/glib-2.16.4.changes
- USN-624-1
- APPLE-SA-2009-05-12
- ADV-2010-0833
- FEDORA-2008-6048
- MDVSA-2009:023
- SUSE-SR:2008:014
- TA09-133A
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0305
- ADV-2009-1297
- DSA-1602
- ADV-2008-2336
- ADV-2008-2780
- GLSA-200807-03
- APPLE-SA-2008-10-09
- http://support.apple.com/kb/HT3216
Sources
- CVE-2008-2371 · CVE Program
- CVE-2008-2371 · NVD
- FIRST EPSS
- GHSA-853v-4rcq-pjpw · GitHub Advisory Database · CC BY 4.0
- CVE-2008-2371 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences