GitHub Advisory Database
GHSA-c74c-p4p7-r8q5
py-lmdb Invalid write operation
Details
An issue was discovered in py-lmdb 0.97. For certain values of mp_flags, mdb_page_touch does not properly set up mc->mc_pg[mc->top], leading to an invalid write operation. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | lmdb | All versions up to and including 0.97 |