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

Critical 9.8 Published Updated

Remote attackers can trigger a use-after-free in Chrome's WebCrypto API via crafted JavaScript, causing denial of service or potential code execution.

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-5142?

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

Official description

The Web Cryptography API (aka WebCrypto) implementation in Blink, as used in Google Chrome before 52.0.2743.116, does not properly copy data buffers, which allows remote attackers to cause a denial of service (use-after-free) or possibly have unspecified other impact via crafted JavaScript code, related to NormalizeAlgorithm.cpp and SubtleCrypto.cpp.

Weakness: CWE-416

Which versions are affected by CVE-2016-5142?

It affects 1 product.

Products include Google Chrome.

How do I fix CVE-2016-5142?

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-5142 being exploited?

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

All Google Chrome vulnerabilities

Sources

Also known as GHSA-g54g-mw8m-9fqx, UBUNTU-CVE-2016-5142.

Is CVE-2016-5142 in your software?

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

Check your SBOMs for free