CVE-2016-4342 Memory corruption in n/a

High 8.8 Published Updated

Remote attackers can cause denial of service or potential code execution via crafted archives due to heap memory corruption in PHP's phar extension.

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-2016-4342?

CVE-2016-4342 is a high-severity memory corruption vulnerability in Opensuse Leap, published on 22 May 2016. 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

ext/phar/phar_object.c in PHP before 5.5.32, 5.6.x before 5.6.18, and 7.x before 7.0.3 mishandles zero-length uncompressed data, which allows remote attackers to cause a denial of service (heap memory corruption) or possibly have unspecified other impact via a crafted (1) TAR, (2) ZIP, or (3) PHAR archive.

Weakness: CWE-119

Which versions are affected by CVE-2016-4342?

It affects 2 products.

Products include Opensuse Leap, Php Php.

How do I fix CVE-2016-4342?

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-2016-4342 being exploited?

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

All Opensuse Leap vulnerabilities

Sources

Also known as GHSA-x4x8-wmcm-3vhv, UBUNTU-CVE-2016-4342.

Is CVE-2016-4342 in your software?

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

Check your SBOMs for free