{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-16228","id":"CVE-2019-16228","title":"py-lmdb Divide by Zero interruptions","description":"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.","descriptionLong":"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.","published":"2019-09-11T14:46:45.000Z","updated":"2026-10-24T10:30:51.796848248Z","reserved":"2019-09-11T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"lmdb","purl":"pkg:pypi/lmdb","ranges":["<=0.97","<0.98"],"fixed":["0.98"],"advisory":"GHSA-ggwq-vrgp-6gv4"}],"cwes":["CWE-369"],"aliases":["GHSA-ggwq-vrgp-6gv4","PYSEC-2019-240"],"references":[{"url":"https://github.com/TeamSeri0us/pocs/tree/master/lmdb/FPE","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16228","tags":["advisory"]},{"url":"https://github.com/jnwatson/py-lmdb","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/lmdb/PYSEC-2019-240.yaml","tags":["web"]},{"url":"https://pypi.org/project/lmdb","tags":["web","package"]},{"url":"https://github.com/advisories/GHSA-ggwq-vrgp-6gv4","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01786,"epssPercentile":0.78765,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-16228","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16228","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-16228","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-ggwq-vrgp-6gv4","ok":true,"note":"GHSA-ggwq-vrgp-6gv4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-16228","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}