cve.bz

CVE-2008-2371 Out-of-bounds Write

no score yetExploit referenceEPSS 6.7%

No CVSS score yet. EPSS 6.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
6.7% (unchanged from 6.7% a week ago; 6.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2008-2371 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2008-2371?via=ask-ai-copy and https://cve.bz/cve/CVE-2008-2371?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2008-2371 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pcre:pcre7.7
php:phpfrom 5.2.0 through 5.2.7
debian:debian_linux4.0
canonical:ubuntu_linux6.06
canonical:ubuntu_linux7.04
canonical:ubuntu_linux7.10
canonical:ubuntu_linux8.04
canonical:ubuntu_linux9.10
fedoraproject:fedora8
fedoraproject:fedora9
opensuse:opensuse10.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian4.0pcre36.7+7.4-4DSA-1602-1
Debian5.0pcre37.4-1+lenny2DTSA-145-1
Debian12pcre37.6-2.1DEBIAN-CVE-2008-2371

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Not vulnerable. This issue did not affect the versions of PCRE as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2008-2371.

References

Check your stackJSON