CVE-2007-4768 Memory corruption in n/a

Medium 6.8 Published Updated

Heap-based buffer overflow in PCRE library allows arbitrary code execution via crafted regex patterns, affecting applications using the library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2007-4768?

CVE-2007-4768 is a medium-severity memory corruption vulnerability in n/a, published on 7 Nov 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-119

Which versions are affected by CVE-2007-4768?

It affects 1 product.

Products include Pcre Pcre.

How do I fix CVE-2007-4768?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2007-4768 being exploited?

There is no known exploitation of CVE-2007-4768 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2007-4768, GHSA-jq5c-rgv9-cw8p.

Is CVE-2007-4768 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free