CVE-2019-16225: py-lmdb - Out of Bounds Read/Write
- Cve: CVE-2019-16225
- Name: py-lmdb - Out of Bounds Read/Write
- Description: 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.
- Impact: Attackers can cause arbitrary memory corruption, potentially leading to denial of service or arbitrary code execution.
- Remediation: Update to the latest version of py-lmdb that addresses this issue or apply available patches.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to supply malicious data.mdb file
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01815
- Epss percentile: 0.79238
- Assignee: [email protected]
- Published at: 2019-09-11T15:15:11Z
- Age in days: 2631
- Modified at: 2026-06-17T02:21:56Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-16225
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20write%20to%20illegal%20address | nvd | 2019-09-11 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20write%20to%20illegal%20address | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| py-lmdb_project:py-lmdb | <= 0.97 | no | nvd | /v1/products/py-lmdb_project/py-lmdb |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| jnwatson/py-lmdb | package | yes | /v1/repositories/jnwatson/py-lmdb |
Index
- Repositories: 65
- Repositories high signal: 26
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2019-09-11
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts