CVE-2007-1661 Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex pattern

Medium 6.4 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2007-1661?

CVE-2007-1661 is a medium-severity vulnerability in Apple Mac Os X, published on 7 Nov 2007.

Official description

Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex patterns in non-UTF-8 mode, which allows context-dependent attackers to obtain sensitive information or cause a denial of service (crash), as demonstrated by the "\X?\d" and "\P{L}?\d" patterns.

Which versions are affected by CVE-2007-1661?

It affects 3 products.

Products include Apple Mac Os X, Apple Mac Os X Server, Pcre Perl-Compatible Regular Expression Library.

How do I fix CVE-2007-1661?

Upgrade to a fixed version.

Is CVE-2007-1661 being exploited?

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

All Apple Mac Os X vulnerabilities

Sources

Also known as DEBIAN-CVE-2007-1661, GHSA-759q-4q8w-5gfh.

Is CVE-2007-1661 in your software?

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

Check your SBOMs for free