CVE-2007-1659 Denial of service in n/a

Medium 6.8 Published Updated

Attackers can cause crashes or execute arbitrary code in applications using the PCRE library by providing malicious regex patterns with orphan escape codes.

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-1659?

CVE-2007-1659 is a medium-severity denial of service 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

Perl-Compatible Regular Expression (PCRE) library before 7.3 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via regex patterns containing unmatched "\Q\E" sequences with orphan "\E" codes.

Weakness: CWE-119

Which versions are affected by CVE-2007-1659?

It affects 1 product.

Products include Pcre Pcre.

How do I fix CVE-2007-1659?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2007-1659 being exploited?

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

Sources

Also known as DEBIAN-CVE-2007-1659, GHSA-h2p6-9f3w-vqw9.

Is CVE-2007-1659 in your software?

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

Check your SBOMs for free