CVE-2019-2126 Use after free in Android

High 8.8 Published Updated

A double free vulnerability in Android's MKV parser allows remote code execution via user interaction.

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-2019-2126?

CVE-2019-2126 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 20 Aug 2019. 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

In ParseContentEncodingEntry of mkvparser.cc, there is a possible double free due to a missing reset of a freed pointer. This could lead to remote code execution with no additional execution privileges needed. User interaction is needed for exploitation. Product: Android. Versions: Android-7.0 Android-7.1.1 Android-7.1.2 Android-8.0 Android-8.1 Android-9. Android ID: A-127702368.

Weakness: CWE-415

Which versions are affected by CVE-2019-2126?

It affects 4 products.

Products include Canonical Ubuntu Linux, Fedoraproject Fedora, Google Android, Opensuse Leap.

How do I fix CVE-2019-2126?

Apply the vendor's patch.

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-2019-2126 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-jxxw-46w4-3vhv, UBUNTU-CVE-2019-2126.

Is CVE-2019-2126 in your software?

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

Check your SBOMs for free