CVE-2019-16228Py-lmdb Project Py-lmdb
High 7.5 No auth needed
Follow: this CVE · Py-lmdb Project · Py-lmdb Project Py-lmdb We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- 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-369
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Py-lmdb.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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-ggwq-vrgp-6gv4, PYSEC-2019-240). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| py-lmdb_project | py-lmdb | ≤ 0.97 |
Official advisories
- python311-lmdb-2.1.1-1.1 on GA media · SUSE · openSUSE-SU-2026:10430-1 · Mar 25, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory