Description
An issue was discovered in py-lmdb 0.97. For certain values of md_flags, mdb_node_add does not properly set up a memcpy destination, leading to an invalid write operation. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | lmdb +1 | No fix yet | — |
| Debian 13 | lmdb +1 | No fix yet | — |
| Debian 12 | lmdb +1 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | py-lmdb | No fix yet | — |
| Ubuntu 26.04 LTS | py-lmdb | No fix yet | — |
| Ubuntu 25.10 | py-lmdb | No fix yet | — |
| Ubuntu 24.04 LTS | py-lmdb | No fix yet | — |
| Ubuntu 22.04 LTS | py-lmdb | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | py-lmdb | No fix yet | — |
| Ubuntu 18.04 LTS | py-lmdb | No fix yet | — |
| Ubuntu 16.04 LTS | py-lmdb | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-lmdb | 2.1.1-1.1 | openSUSE-SU-2026:10430-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | lmdb | <= 0.97 | — | GHSA-9q62-r72g-pvv7 |
| PyPI | lmdb | < 0.98 | 0.98 | PYSEC-2019-236 |
Advisories 1
- openSUSE-SU-2026:10430-1 python311-lmdb-2.1.1-1.1 on GA media SUSE / openSUSE Security Updates · Mar 26, 2026