CVE-2019-16226

NameCVE-2019-16226
DescriptionAn issue was discovered in py-lmdb 0.97. mdb_node_del does not validate a memmove in the case of an unexpected node->mn_hi, leading to an invalid write operation. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1132719, 1141312

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
lmdb (PTS)bookworm, bullseye0.9.24-1vulnerable
trixie0.9.31-1vulnerable
forky, sid0.9.35-1vulnerable
py-lmdb (PTS)bullseye1.0.0-1vulnerable
bookworm1.4.0-1vulnerable
forky, sid, trixie1.4.1-3vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
lmdbsource(unstable)(unfixed)1141312
py-lmdbsource(unstable)(unfixed)unimportant1132719

Notes

[trixie] - lmdb <no-dsa> (Minor issue)
[bookworm] - lmdb <postponed> (Minor issue; only reachable via attacker-supplied/corrupted LMDB database file; unfixed upstream)
[bullseye] - lmdb <postponed> (Minor issue; only reachable via attacker-supplied/corrupted LMDB database file; unfixed upstream)
src:py-lmdb uses system version of liblmdb
https://github.com/jnwatson/py-lmdb/issues/210
https://github.com/jnwatson/py-lmdb/pull/429

Search for package or bug name: Reporting problems