CVE-2019-16227
CRITICAL9.8EPSS 0.40%py-lmdb Invalid write operation
Published: 5/24/2022Modified: 4/28/2026
Also known as:DEBIAN-CVE-2019-16227
Description
An issue was discovered in py-lmdb 0.97. For certain values of mn_flags, mdb_cursor_set triggers a memcpy with an invalid write operation within mdb_xcursor_init1. 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:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2019-16227
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2019-16227
- PATCHhttps://github.com/jnwatson/py-lmdb
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/lmdb/PYSEC-2019-239.yaml
- WEBhttps://github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20memcpy%20illegal%20dst
- WEBhttps://pypi.org/project/lmdb