An issue was discovered in py-lmdb 0.97. For certain values of mnflags, mdbcursorset triggers a memcpy with an invalid write operation within mdbxcursor_init1. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.