Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. lmdb
  4. ›
  5. CVE-2019-16226

CVE-2019-16226: LMDB invalid write

May 24, 2022 (updated September 30, 2024)

An issue was discovered in py-lmdb 0.97. mdb_node_del does not validate a memmove in the case of an unexpected node->mn_hi, leading to an invalid write operation.

References

  • github.com/LMDB/lmdb/blob/mdb.master/libraries/liblmdb/mdb.c
  • github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20memory%20corruption%20vuln
  • github.com/advisories/GHSA-r8g9-w4f3-9crm
  • github.com/jnwatson/py-lmdb
  • github.com/jnwatson/py-lmdb/issues/210
  • github.com/pypa/advisory-database/tree/main/vulns/lmdb/PYSEC-2019-238.yaml
  • nvd.nist.gov/vuln/detail/CVE-2019-16226
  • pypi.org/project/lmdb

Code Behaviors & Features

Detect and mitigate CVE-2019-16226 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.97

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

pypi/lmdb/CVE-2019-16226.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:08 +0000.