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

CVE-2019-16228: Zero Division Error in py-lmdb 0.97 Can Crash Software

CVE-2019-16228 · published 7 years ago
Summary

A bug in py-lmdb 0.97 can cause a crash if it tries to open a specially crafted database file. This could happen if an attacker provides a malicious database file. To stay safe, update to a fixed version of py-lmdb.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
Ecosystem VendorProductAffected versions
pip david wilson lmdb <= 0.97
– py-lmdb_project py-lmdb <= 0.97
cpe:2.3:a:py-lmdb_project:py-lmdb:*:*:*:*:*:*:*:*
Ubuntu:16.04:LTS canonical py-lmdb All versions
Original advisory text
An issue was discovered in py-lmdb 0.97. There is a divide-by-zero error in the function mdb_env_open2 if mdb_env_read_header obtains a zero value for a certain size field. NOTE: this outcome occur...
An issue was discovered in py-lmdb 0.97. There is a divide-by-zero error in the function mdb_env_open2 if mdb_env_read_header obtains a zero value for a certain size field. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker partial control (estimated)
Severity
8.7 High
Exploitation
2% chance of attack within 30 days
Type
CWE-369Divide By Zero
Timeline
Published11 Sep 2019
Updated11 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta