CVE Catalog

CVE-2019-16226

High
Published: Translated: NVD NIST

Summary

An issue was discovered in py-lmdb 0.97 where mdb_node_del does not validate a memmove in the case of an unexpected node->mn_hi, leading to an invalid write operation. This occurs when accessing a data.mdb file supplied by an attacker.

Risk Assessment

An attacker can supply a crafted data.mdb file that, when processed by an application using py-lmdb, may cause an invalid memory write, potentially leading to a crash or further privilege escalation.

Recommendation

Update py-lmdb to a version newer than 0.97 where this vulnerability is fixed. If an update is not possible, avoid processing data.mdb files from untrusted sources.

Other vulnerabilities in py-lmdb

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS