CVE-2018-5160 Use after free in Firefox
A use-after-free flaw in Firefox's WebRTC encoder allows attackers to cause a crash or potentially execute arbitrary code via uninitialized memory.
- 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-5160?
CVE-2018-5160 is a high-severity use after free 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
WebRTC can use a "WrappedI420Buffer" pixel buffer but the owning image object can be freed while it is still in use. This can result in the WebRTC encoder using uninitialized memory, leading to a potentially exploitable crash. This vulnerability affects Firefox < 60.
Which versions are affected by CVE-2018-5160?
It affects 2 products.
Products include Canonical Ubuntu Linux, Mozilla Firefox.
How do I fix CVE-2018-5160?
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-2018-5160 being exploited?
There is no known exploitation of CVE-2018-5160 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as GHSA-h8xw-9226-rgwq, UBUNTU-CVE-2018-5160.