CVE-2008-2371 in Canonical Ubuntu Linux and 5 more products
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.
Affects 6 products from 6 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 6.06 7.04 7.10 8.04 9.10 |
| Debian | Debian Linux | 4.0 |
| Fedoraproject | Fedora | 8 9 |
| Opensuse | Opensuse | 10.3 |
| Pcre | Pcre | 7.7 |
| Php | Php | ≥ 5.2.0, ≤ 5.2.7 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2008-2371 |
|---|---|
| BreachSpider ID | BS-2008-GLOBAL-021159-H |
| CVSS vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2008-07-07 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2008. A high severity vulnerability affects Canonical systems (CVE-2008-2371). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:L/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2008-2371?
This vulnerability was disclosed in 2008. A high severity vulnerability affects Canonical systems (CVE-2008-2371). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2008-2371?
CVE-2008-2371 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 6.7%.
Is CVE-2008-2371 actively exploited?
No confirmed active exploitation of CVE-2008-2371 as of 2026-09-25.
How do I remediate CVE-2008-2371?
Priority: MEDIUM.
What systems are affected by CVE-2008-2371?
CVE-2008-2371 affects Canonical Ubuntu Linux; Debian Debian Linux; Fedoraproject Fedora; Opensuse Opensuse; Pcre Pcre; Php Php.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.