An issue was discovered in py-lmdb 0.97. For certain values of md_flags, mdb_node_add does not properly set up a memcpy destination, leading to an invalid write operation. NOTE: this outcome occurs wh
An issue was discovered in py-lmdb 0.97. For certain values of md_flags, mdb_node_add does not properly set up a memcpy destination, leading to an invalid write operation. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | lmdb | < 0.98 | 0.98 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-16224
- https://github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20initialization%20vuln
- https://github.com/jnwatson/py-lmdb
- https://github.com/pypa/advisory-database/tree/main/vulns/lmdb/PYSEC-2019-236.yaml
- https://pypi.org/project/lmdb
- https://github.com/advisories/GHSA-9q62-r72g-pvv7
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-787- Platform
- Python (PyPI)
- Package
lmdb- Disclosed
- 11.09.2019
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-9q62-r72g-pvv7 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2019-236 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: lmdb
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 09.2019 09.2019
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 3
- High 2
Disclosures per year
- 2019: 5
- 2020: 0
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
An issue was discovered in py-lmdb 0.97. For certain values of md_flags, mdb_node_add does not properly set up a memcpy destination, leading to an invalid write operation. NOTE: this outcome occurs wh this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.