CVE-2019-16226
LMDB invalid write
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. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.
- Record
CVE-2019-16226- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.
- Record
CVE-2019-16226- Updated
- 2026-11-02
EUVDEUVD-2019-0079 No score
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. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.
- Record
EUVD-2019-0079- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-r8g9-w4f3-9crm
8.7
LMDB invalid write
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.
- Record
GHSA-r8g9-w4f3-9crm- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
7.5
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. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.
- Record
CVE-2019-16226- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-16226
7.5
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. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.
- Record
DEBIAN-CVE-2019-16226- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-r8g9-w4f3-9crm
8.7
LMDB invalid write
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.
- Record
GHSA-r8g9-w4f3-9crm- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-16226
7.5
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. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.
- Record
UBUNTU-CVE-2019-16226- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2026:10430-1 No score
python311-lmdb-2.1.1-1.1 on GA media
These are all security issues fixed in the python311-lmdb-2.1.1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:10430-1- Updated
- 2026-11-02
OSVPYSEC-2019-238 No score
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. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.
- Record
PYSEC-2019-238- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
lmdbPyPI |
through 0.97 | None known |
lmdbDebian:12 |
All versions, plus listed versions 0.9.24-10.9.31-10.9.35-1 |
None known |
lmdbDebian:13 |
All versions, plus listed versions 0.9.31-10.9.35-1 |
None known |
lmdbDebian:14 |
All versions, plus listed versions 0.9.31-10.9.35-1 |
None known |
py-lmdbDebian:12 |
All versions, plus listed versions 1.4.0-11.4.1-11.4.1-21.4.1-3 |
None known |
py-lmdbDebian:13 |
All versions, plus listed versions 1.4.1-3 |
None known |
py-lmdbDebian:14 |
All versions, plus listed versions 1.4.1-3 |
None known |
lmdbPyPI |
through 0.97, plus listed versions 0.580.590.600.610.62 Show 32 moreShow less0.630.640.650.660.670.680.690.700.710.730.740.750.760.770.780.790.800.810.820.830.840.850.860.870.880.890.910.920.930.940.950.96 |
None known |
lmdbPyPI |
before 0.98, plus listed versions 0.580.590.600.610.62 Show 33 moreShow less0.630.640.650.660.670.680.690.700.710.730.740.750.760.770.780.790.800.810.820.830.840.850.860.870.880.890.910.920.930.940.950.960.97 |
0.98 |
py-lmdbUbuntu:16.04:LTS |
All versions, plus listed versions 0.86-1build10.86-1build2 |
None known |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
py-lmdbUbuntu:18.04:LTS |
All versions, plus listed versions 0.86-1build4 |
None known |
py-lmdbUbuntu:20.04:LTS |
All versions, plus listed versions 0.86-1.10.86-1.1build10.86-1.20.86-1.2build1 |
None known |
py-lmdbUbuntu:22.04:LTS |
All versions, plus listed versions 1.0.0-1build11.0.0-1build21.0.0-1build3 |
None known |
py-lmdbUbuntu:24.04:LTS |
All versions, plus listed versions 1.4.1-21.4.1-2build11.4.1-2build2 |
None known |
py-lmdbUbuntu:25.10 |
All versions, plus listed versions 1.4.1-3build2 |
None known |
py-lmdbUbuntu:26.10 |
All versions, plus listed versions 1.4.1-3build4 |
None known |
py-lmdbUbuntu:26.04:LTS |
All versions, plus listed versions 1.4.1-3build21.4.1-3build31.4.1-3build4 |
None known |
python-lmdbopenSUSE:Tumbleweed From an advisory covering 5 CVEs |
before 2.1.1-1.1 | 2.1.1-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-16226 is a high vulnerability (CVSS 7.5) in Py-lmdb Project Py-lmdb, published September 11, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.59%, the 75th percentile. Fixed in lmdb 0.98.
References
github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20memory%20corruption%20vuln
nvd.nist.gov/vuln/detail/CVE-2019-16226
github.com/jnwatson/py-lmdb/issues/210
github.com/LMDB/lmdb/blob/mdb.master/libraries/liblmdb/mdb.c
github.com/pypa/advisory-database/tree/main/vulns/lmdb/PYSEC-2019-238.yaml
pypi.org/project/lmdb
Show 10 moreShow less
github.com/advisories/GHSA-r8g9-w4f3-9crm
security-tracker.debian.org/tracker/CVE-2019-16226
github.com/jnwatson/py-lmdb
ubuntu.com/security/CVE-2019-16226
cve.org/CVERecord?id=CVE-2019-16226
suse.com/security/cve/CVE-2019-16224
suse.com/security/cve/CVE-2019-16225
suse.com/security/cve/CVE-2019-16226
suse.com/security/cve/CVE-2019-16227
suse.com/security/cve/CVE-2019-16228