CVE-2018-5122 Integer overflow in Firefox

Critical 9.8 Published Updated

An integer overflow in Firefox's WebCrypto component could allow an attacker to execute arbitrary code via an out-of-bounds write.

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

What is CVE-2018-5122?

CVE-2018-5122 is a critical vulnerability in Canonical Ubuntu Linux, published on 11 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A potential integer overflow in the "DoCrypt" function of WebCrypto was identified. If a means was found of exploiting it, it could result in an out-of-bounds write. This vulnerability affects Firefox < 58.

Weakness: CWE-787, CWE-190

Which versions are affected by CVE-2018-5122?

It affects 2 products.

Products include Canonical Ubuntu Linux, Mozilla Firefox.

How do I fix CVE-2018-5122?

Upgrade to a fixed version.

Is CVE-2018-5122 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-r55c-w846-xc87, UBUNTU-CVE-2018-5122.

Is CVE-2018-5122 in your software?

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

Check your SBOMs for free