CVE-2007-4768

CVE-2007-4768 is a medium-severity vulnerability in Pcre with a CVSS 2.0 base score of 6.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.

Key facts

Description

Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library before 7.3 allows context-dependent attackers to execute arbitrary code via a singleton Unicode sequence in a character class in a regex pattern, which is incorrectly optimized.

Frequently asked questions

What is CVE-2007-4768?
Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library before 7.3 allows context-dependent attackers to execute arbitrary code via a singleton Unicode sequence in a character class in a regex pattern, which is incorrectly optimized.
How severe is CVE-2007-4768?
CVE-2007-4768 has a CVSS 2.0 base score of 6.8, rated medium severity.
Is CVE-2007-4768 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (90th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2007-4768?
CVE-2007-4768 affects Pcre. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2007-4768?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2007-4768 published?
CVE-2007-4768 was published on 2007-11-07 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Pcre

All CVEs affecting Pcre →

Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities

Browse all CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities →