high7.5
CVE-2019-16226
LMDB invalid write
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | lmdb | <= 0.97 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Py-Lmdb Project | Py-Lmdb | through 0.97 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20memory%20corruption%20vuln
- https://github.com/advisories/GHSA-r8g9-w4f3-9crm
- https://nvd.nist.gov/vuln/detail/CVE-2019-16226
- https://github.com/jnwatson/py-lmdb/issues/210
- https://github.com/LMDB/lmdb/blob/mdb.master/libraries/liblmdb/mdb.c#L8443-L8498
- https://github.com/pypa/advisory-database/tree/main/vulns/lmdb/PYSEC-2019-238.yaml
- https://pypi.org/project/lmdb