Every CVESearch/Get API key

GHSA-f9g6-fp84-fv92

impl `FromMdbValue` for bool is unsound

No score

GHSA-f9g6-fp84-fv92 is a vulnerability with no CVSS score yet in lmdb-rs, published June 26, 2023. No source lists public exploit code. No source names a fixed version.

What does this mean?
Severity
UnratedNo CVSS score yet
Exploit chance
UnscoredNo EPSS score yet
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
No fix listedNo source names one

Description

The implementation of FromMdbValue has several unsoundness issues. First of all, it allows to reinterpret arbitrary bytes as a bool and could make undefined behavior happen with safe function. Secondly, it allows transmuting pointer without taking memory layout into consideration. The details of reproducing the bug are available here.

Affected packages

Affected packages
PackageAffectedFixed
lmdb-rs
crates.io
through 0.7.6None known
lmdb-rs
crates.io
0.0.0-0 and laterNone known

What each source reports

GitHub AdvisoriesNo score

impl `FromMdbValue` for bool is unsound

The implementation of FromMdbValue has several unsoundness issues. First of all, it allows to reinterpret arbitrary bytes as a bool and could make undefined behavior happen with safe function. Secondly, it allows transmuting pointer without taking memory layout into consideration. The details of reproducing the bug are available here.

Record
GHSA-f9g6-fp84-fv92
Updated
2026-11-02
OSVNo score

impl `FromMdbValue` for bool is unsound

The implementation of FromMdbValue has several unsoundness issues. First of all, it allows to reinterpret arbitrary bytes as a bool and could make undefined behavior happen with safe function. Secondly, it allows transmuting pointer without taking memory layout into consideration. The details of reproducing the bug are available here.

Record
GHSA-f9g6-fp84-fv92
Updated
2026-11-02
OSVRUSTSEC-2023-0047No score

impl `FromMdbValue` for bool is unsound

The implementation of FromMdbValue have several unsoundness issues. First of all, it allows to reinterpret arbitrary bytes as a bool and could make undefined behavior happen with safe function. Secondly, it allows transmuting pointer without taking memory layout into consideration. The details of reproducing the bug were included in url above.

Record
RUSTSEC-2023-0047
Updated
2026-11-02

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

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

References

MoveEnter Open