CVE-2019-5018

NameCVE-2019-5018
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs928770

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sqlite (PTS)jessie, jessie (lts)2.8.17-12+deb8u1fixed
stretch (lts), stretch2.8.17-14+deb9u1fixed
buster (security), buster, buster (lts)2.8.17-15+deb10u1fixed
sqlite3 (PTS)jessie, jessie (lts)3.8.7.1-1+deb8u8fixed
stretch (security)3.16.2-5+deb9u3fixed
stretch (lts), stretch3.16.2-5+deb9u4fixed
buster, buster (lts)3.27.2-3+deb10u3fixed
buster (security)3.27.2-3+deb10u2fixed
bullseye3.34.1-3fixed
bullseye (security)3.34.1-3+deb11u1fixed
bookworm3.40.1-2+deb12u1fixed
sid, trixie3.46.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sqlitesource(unstable)(not affected)
sqlite3sourcewheezy(not affected)
sqlite3sourcejessie(not affected)
sqlite3sourcestretch(not affected)
sqlite3source(unstable)3.27.2-3928770

Notes

[stretch] - sqlite3 <not-affected> (windowfuncs introduced in 3.25.0)
[jessie] - sqlite3 <not-affected> (windowfuncs introduced in 3.25.0)
- sqlite <not-affected> (window functions not present in v2)
https://www.talosintelligence.com/vulnerability_reports/TALOS-2019-0777
[wheezy] - sqlite3 <not-affected> (windowfuncs introduced in 3.25.0)

Search for package or bug name: Reporting problems