CVE-2015-4604 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can cause a crash or execute arbitrary code via a crafted string due to improper pointer maintenance in the file magic 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-2015-4604?

CVE-2015-4604 is a high-severity memory corruption vulnerability in Php Php, published on 16 May 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The mget function in softmagic.c in file 5.x, as used in the Fileinfo component in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8, does not properly maintain a certain pointer relationship, which allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted string that is mishandled by a "Python script text executable" rule.

Weakness: CWE-20

Which versions are affected by CVE-2015-4604?

It affects 8 products.

Products include Php Php, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Hpc Node, Redhat Enterprise Linux Hpc Node Eus, Redhat Enterprise Linux Server and 2 more.

How do I fix CVE-2015-4604?

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-2015-4604 being exploited?

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

All Php Php vulnerabilities

Sources

Also known as GHSA-6r6h-mwpx-cfrc.

Is CVE-2015-4604 in your software?

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

Check your SBOMs for free