{"id":"CVE-2019-16227","published":"2019-09-11T14:47:02Z","modified":"2024-08-05T01:10:41Z","title":"An issue was discovered in py-lmdb 0.97","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02044,"percentile":0.81647,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20memcpy%20illegal%20dst","tags":["x_refsource_MISC"]}],"priority":{"score":21.3,"factors":[{"name":"EPSS percentile","points":16.33},{"name":"Public exploit code","points":5.0}]},"affected":[{"ecosystem":"PyPI","package":"lmdb","vulnerableRanges":["<=0.97","<0.98"],"patched":["0.98"],"from":["GHSA-pf3p-v9xp-mrvf","PYSEC-2019-239"],"provenance":"source"}],"summary":{"text":"The py-lmdb 0.97 Python binding for the LMDB database library contains a flaw in its cursor handling, where for certain values of mn_flags the mdb_cursor_set routine triggers a memcpy with an invalid write inside mdb_xcursor_init1. An attacker who can get the application to open a crafted data.mdb file can trigger this invalid write.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:39Z"},"euvd":{"id":"EUVD-2019-0080","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20memcpy%20illegal%20dst"]}