CVE-2019-16226
HIGH7.5EPSS 0.43%LMDB invalid write
Published: 5/24/2022Modified: 4/28/2026
Description
An 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.
Affected packages (3)
- Debian/py-lmdbfrom 0
- PyPI/lmdbfrom 0, <= 0.97
- PyPI/lmdbfrom 0, < 0.98
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2019-16226
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2019-16226
- PATCHhttps://github.com/jnwatson/py-lmdb
- WEBhttps://github.com/jnwatson/py-lmdb/issues/210
- WEBhttps://github.com/LMDB/lmdb/blob/mdb.master/libraries/liblmdb/mdb.c#L8443-L8498
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/lmdb/PYSEC-2019-238.yaml
- WEBhttps://github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20memory%20corruption%20vuln
- WEBhttps://pypi.org/project/lmdb