Live threats

All CVEs / Py-lmdb Project

CVE-2019-16227Py-lmdb Project Py-lmdb

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.0%
probability of exploitation in 30 days · percentile 82
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 mn_flags, mdb_cursor_set triggers a memcpy with an invalid write operation within mdb_xcursor_init1. 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-pf3p-v9xp-mrvf, PYSEC-2019-239). 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.