CVE-2019-9936

NameCVE-2019-9936
DescriptionIn SQLite 3.27.2, running fts5 prefix queries inside a transaction could trigger a heap-based buffer over-read in fts5HashEntrySort in sqlite3.c, which may lead to an information leak. This is related to ext/fts5/fts5_hash.c.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2340-1
NVD severitymedium
Debian Bugs925289

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sqlite3 (PTS)stretch3.16.2-5+deb9u1vulnerable
stretch (security)3.16.2-5+deb9u2fixed
buster3.27.2-3fixed
bullseye, sid3.33.0-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sqlite3sourcejessie(not affected)
sqlite3sourcestretch3.16.2-5+deb9u2DLA-2340-1
sqlite3source(unstable)3.27.2-2low925289

Notes

[jessie] - sqlite3 <not-affected> (fts5 introducded later, function not available for fts3)
https://sqlite.org/src/info/b3fa58dd7403dbd4

Search for package or bug name: Reporting problems