CVE-2016-5773 Use after free in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code or cause denial of service via crafted serialized data in the PHP zip extension due to a use-after-free vulnerability.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-5773?

CVE-2016-5773 is a critical use after free vulnerability in Php Php, published on 7 Aug 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

php_zip.c in the zip extension in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8 improperly interacts with the unserialize implementation and garbage collection, which allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free and application crash) via crafted serialized data containing a ZipArchive object.

Weakness: CWE-416

Which versions are affected by CVE-2016-5773?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2016-5773?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2016-5773 being exploited?

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

All Php Php vulnerabilities

Sources

Also known as GHSA-7w96-3v7r-6g9j, UBUNTU-CVE-2016-5773.

Is CVE-2016-5773 in your software?

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

Check your SBOMs for free