CVE-2019-5018 Use after free in Sqlite3

High 8.1 Published Updated

A use-after-free flaw in SQLite allows attackers to execute arbitrary code via specially crafted SQL commands.

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

What is CVE-2019-5018?

CVE-2019-5018 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 10 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An exploitable use after free vulnerability exists in the window function functionality of Sqlite3 3.26.0. A specially crafted SQL command can cause a use after free vulnerability, potentially resulting in remote code execution. An attacker can send a malicious SQL command to trigger this vulnerability.

Weakness: CWE-416

Which versions are affected by CVE-2019-5018?

It affects 2 products.

Products include Canonical Ubuntu Linux, Sqlite Sqlite.

How do I fix CVE-2019-5018?

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

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2019-5018, CLEANSTART-2026-ZK88220, DEBIAN-CVE-2019-5018, GHSA-qgrg-5hv8-3w32.

Is CVE-2019-5018 in your software?

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

Check your SBOMs for free