Live threats

All CVEs / Py-lmdb Project

CVE-2019-16225Py-lmdb Project Py-lmdb

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Sep 11, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Py-lmdb.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI lmdb ≤ 0.97 no fixed version —
PyPI lmdb < 0.98 0.98 pip install "lmdb>=0.98"

Per OSV / GitHub Advisories (GHSA-c74c-p4p7-r8q5, PYSEC-2019-237). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
py-lmdb_projectpy-lmdb≤ 0.97

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.