CVE-2007-1660 Memory corruption in n/a

Medium 6.8 Published Updated

A buffer overflow in the PCRE library allows attackers to cause a crash or potentially execute arbitrary code via crafted input.

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

CVE-2007-1660 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

Perl-Compatible Regular Expression (PCRE) library before 7.0 does not properly calculate sizes for unspecified "multiple forms of character class", which triggers a buffer overflow that allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code.

Weakness: CWE-119

Which versions are affected by CVE-2007-1660?

It affects 1 product.

Linux distribution packages (12)
pcre Red Hat:enterprise_linux:4::asAll versions0:4.5-4.el4_5.1
pcre-debuginfo Red Hat:enterprise_linux:4::asAll versions0:4.5-4.el4_5.1
pcre-devel Red Hat:enterprise_linux:4::asAll versions0:4.5-4.el4_5.1
pcre Red Hat:enterprise_linux:4::desktopAll versions0:4.5-4.el4_5.1
pcre-debuginfo Red Hat:enterprise_linux:4::desktopAll versions0:4.5-4.el4_5.1
pcre-devel Red Hat:enterprise_linux:4::desktopAll versions0:4.5-4.el4_5.1
pcre Red Hat:enterprise_linux:4::esAll versions0:4.5-4.el4_5.1
pcre-debuginfo Red Hat:enterprise_linux:4::esAll versions0:4.5-4.el4_5.1
pcre-devel Red Hat:enterprise_linux:4::esAll versions0:4.5-4.el4_5.1
pcre Red Hat:enterprise_linux:4::wsAll versions0:4.5-4.el4_5.1
pcre-debuginfo Red Hat:enterprise_linux:4::wsAll versions0:4.5-4.el4_5.1
pcre-devel Red Hat:enterprise_linux:4::wsAll versions0:4.5-4.el4_5.1

Products include Pcre Pcre.

How do I fix CVE-2007-1660?

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-1660 being exploited?

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

Sources

Also known as DEBIAN-CVE-2007-1660, GHSA-v294-5p22-v3ph, RHSA-2007:0968.

Is CVE-2007-1660 in your software?

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

Check your SBOMs for free