CVE Catalog

CVE-2019-16228

High
Published: Translated: NVD NIST

Summary

A divide-by-zero error was discovered in py-lmdb 0.97 in the mdb_env_open2 function when mdb_env_read_header obtains a zero value for a certain size field. This issue can be triggered by supplying a crafted data.mdb file.

Risk Assessment

An attacker can cause a crash of the application using py-lmdb by providing a malicious database file, leading to a denial of service (DoS).

Recommendation

Update the py-lmdb library to a patched version or implement validation of data.mdb files before processing as a workaround.

Other vulnerabilities in py-lmdb

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS