Every CVE Search/ Get API key

CVE-2019-16228

py-lmdb Divide by Zero interruptions

7.5 HighFix available

An issue was discovered in py-lmdb 0.97. There is a divide-by-zero error in the function mdb_env_open2 if mdb_env_read_header obtains a zero value for a certain size field. 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

1.79%Up 1.4 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

An issue was discovered in py-lmdb 0.97. There is a divide-by-zero error in the function mdb_env_open2 if mdb_env_read_header obtains a zero value for a certain size field. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.

Record
CVE-2019-16228
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-369
Updated
2026-11-02
CVE List No score

An issue was discovered in py-lmdb 0.97. There is a divide-by-zero error in the function mdb_env_open2 if mdb_env_read_header obtains a zero value for a certain size field. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.

Record
CVE-2019-16228
Updated
2026-11-02
EUVDEUVD-2019-0081 No score

An issue was discovered in py-lmdb 0.97. There is a divide-by-zero error in the function mdb_env_open2 if mdb_env_read_header obtains a zero value for a certain size field. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.

Record
EUVD-2019-0081
Updated
2026-11-03
GitHub AdvisoriesGHSA-ggwq-vrgp-6gv4 8.7

py-lmdb Divide by Zero interruptions

An issue was discovered in py-lmdb 0.97. There is a divide-by-zero error in the function mdb_env_open2 if mdb_env_read_header obtains a zero value for a certain size field.

Record
GHSA-ggwq-vrgp-6gv4
CVSS 4.0
8.7 HighCVSS: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 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-369
Updated
2026-11-02
OSV 7.5

An issue was discovered in py-lmdb 0.97. There is a divide-by-zero error in the function mdb_env_open2 if mdb_env_read_header obtains a zero value for a certain size field. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.

Record
CVE-2019-16228
CVSS 3.1
7.5 HighCVSS: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-16228 7.5

An issue was discovered in py-lmdb 0.97. There is a divide-by-zero error in the function mdb_env_open2 if mdb_env_read_header obtains a zero value for a certain size field. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.

Record
DEBIAN-CVE-2019-16228
CVSS 3.1
7.5 HighCVSS: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-ggwq-vrgp-6gv4 8.7

py-lmdb Divide by Zero interruptions

An issue was discovered in py-lmdb 0.97. There is a divide-by-zero error in the function mdb_env_open2 if mdb_env_read_header obtains a zero value for a certain size field.

Record
GHSA-ggwq-vrgp-6gv4
CVSS 4.0
8.7 HighCVSS: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 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-369
Updated
2026-11-02
OSVUBUNTU-CVE-2019-16228 7.5

An issue was discovered in py-lmdb 0.97. There is a divide-by-zero error in the function mdb_env_open2 if mdb_env_read_header obtains a zero value for a certain size field. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.

Record
UBUNTU-CVE-2019-16228
CVSS 3.1
7.5 HighCVSS: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-240 No score

An issue was discovered in py-lmdb 0.97. There is a divide-by-zero error in the function mdb_env_open2 if mdb_env_read_header obtains a zero value for a certain size field. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.

Record
PYSEC-2019-240
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
lmdb
PyPI
through 0.97 None known
lmdb
Debian:12
All versions, plus listed versions
0.9.24-10.9.31-10.9.35-1
None known
lmdb
Debian:13
All versions, plus listed versions
0.9.31-10.9.35-1
None known
lmdb
Debian:14
All versions, plus listed versions
0.9.31-10.9.35-1
None known
py-lmdb
Debian:12
All versions, plus listed versions
1.4.0-11.4.1-11.4.1-21.4.1-3
None known
py-lmdb
Debian:13
All versions, plus listed versions
1.4.1-3
None known
py-lmdb
Debian:14
All versions, plus listed versions
1.4.1-3
None known
lmdb
PyPI
through 0.97, plus listed versions
0.580.590.600.610.62
Show 32 moreShow less
0.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
lmdb
PyPI
before 0.98, plus listed versions
0.580.590.600.610.62
Show 33 moreShow less
0.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-lmdb
Ubuntu:16.04:LTS
All versions, plus listed versions
0.86-1build10.86-1build2
None known
Show 8 moreShow less
Affected packages
PackageAffectedFixed
py-lmdb
Ubuntu:18.04:LTS
All versions, plus listed versions
0.86-1build4
None known
py-lmdb
Ubuntu:20.04:LTS
All versions, plus listed versions
0.86-1.10.86-1.1build10.86-1.20.86-1.2build1
None known
py-lmdb
Ubuntu:22.04:LTS
All versions, plus listed versions
1.0.0-1build11.0.0-1build21.0.0-1build3
None known
py-lmdb
Ubuntu:24.04:LTS
All versions, plus listed versions
1.4.1-21.4.1-2build11.4.1-2build2
None known
py-lmdb
Ubuntu:25.10
All versions, plus listed versions
1.4.1-3build2
None known
py-lmdb
Ubuntu:26.10
All versions, plus listed versions
1.4.1-3build4
None known
py-lmdb
Ubuntu:26.04:LTS
All versions, plus listed versions
1.4.1-3build21.4.1-3build31.4.1-3build4
None known
python-lmdb
openSUSE:Tumbleweed
From an advisory covering 5 CVEs
before 2.1.1-1.1
2.1.1-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-16228 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.79%, the 78th percentile. Fixed in lmdb 0.98.

References

Show 8 moreShow less
MoveEnter Open