CVE-2014-9652 Memory corruption in n/a

Medium 5.0 Published Updated

Remote attackers can cause a denial of service via a crafted file due to improper handling of string lengths in the file library used by PHP.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2014-9652?

CVE-2014-9652 is a medium-severity memory corruption vulnerability in Php Php, published on 30 Mar 2015. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The mconvert function in softmagic.c in file before 5.21, as used in the Fileinfo component in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5, does not properly handle a certain string-length field during a copy of a truncated version of a Pascal string, which might allow remote attackers to cause a denial of service (out-of-bounds memory access and application crash) via a crafted file.

Weakness: CWE-119

Which versions are affected by CVE-2014-9652?

It affects 2 products.

Products include File Project File, Php Php.

How do I fix CVE-2014-9652?

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-2014-9652 being exploited?

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

All Php Php vulnerabilities

Sources

Also known as DEBIAN-CVE-2014-9652, DSA-3126-1, GHSA-4mj2-cv5h-vvmg, UBUNTU-CVE-2014-9652.

Is CVE-2014-9652 in your software?

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

Check your SBOMs for free