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

CVE-2019-16225: py-lmdb Invalid write operation

May 24, 2022 (updated September 30, 2024)

An issue was discovered in py-lmdb 0.97. For certain values of mp_flags, mdb_page_touch does not properly set up mc->mc_pg[mc->top], leading to an invalid write operation. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.

References

  • github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20write%20to%20illegal%20address
  • github.com/advisories/GHSA-c74c-p4p7-r8q5
  • github.com/jnwatson/py-lmdb
  • github.com/pypa/advisory-database/tree/main/vulns/lmdb/PYSEC-2019-237.yaml
  • nvd.nist.gov/vuln/detail/CVE-2019-16225
  • pypi.org/project/lmdb

Code Behaviors & Features

Detect and mitigate CVE-2019-16225 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 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

pypi/lmdb/CVE-2019-16225.yml

Spotted a mistake? Edit the file on GitLab.

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

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