CVE-2015-4605 Memory corruption in n/a
Remote attackers can cause application crashes or execute arbitrary code via crafted input mishandled by the file magic library used in PHP.
- 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-4605?
CVE-2015-4605 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 mcopy 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 restrict a certain offset value, 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-4605?
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-4605?
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-4605 being exploited?
There is no known exploitation of CVE-2015-4605 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-94g6-fh67-6qp6.