Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.9

py-lmdb can write invalid memory with crafted files

published 1 day ago
Summary

The Python LMDB library version 0.97 may copy data to the wrong place when it processes a specially crafted database file. An attacker who provides such a file could cause the program to write to an unintended memory location, potentially leading to crashes or other unexpected behavior. Upgrade to a newer version of py‑lmdb or avoid opening untrusted .mdb files.

Original advisory text
An issue was discovered in py-lmdb 0.97. For certain values of md_flags, mdb_node_add does not properly set up a memcpy…
An issue was discovered in py-lmdb 0.97. For certain values of md_flags, mdb_node_add does not properly set up a memcpy destination, leading to an invalid write operation. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker full control (estimated)
Severity
9.9 Critical
Timeline
Published30 Nov 2026
Updated30 Nov 2026
First seen30 Nov 2026
Sources
Track software like this
Free during beta