Vulnerability DatabaseRUSTSEC-2023-0047

RUSTSEC-2023-0047
Rust vulnerability analysis and mitigation

Overview

The vulnerability (RUSTSEC-2023-0047) was discovered in the lmdb-rs Rust library, specifically in the implementation of from_mdb_value for boolean values. The issue was reported on June 27, 2023, affecting the core functionality of the library's data type conversion mechanism (GitHub Issue).

Technical details

The vulnerability stems from an unsound implementation in the from_mdb_value trait for boolean types. The issue occurs in the file lmdb-rs/src/traits.rs where the function uses unsafe transmutation of arbitrary bit patterns to boolean values. When tested with Miri (Rust's interpreter for detecting undefined behavior), it reveals that attempting to construct a boolean value from invalid bit patterns (such as 0x03) leads to undefined behavior (GitHub Issue).

Impact

The vulnerability can lead to undefined behavior in Rust programs using the lmdb-rs library, particularly when converting values to boolean types. This violates Rust's safety guarantees, as undefined behavior should not occur within safe functions (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22863CRITICAL9.2
  • RustRust
  • deno
NoYesJan 15, 2026
CVE-2026-23519HIGH8.9
  • RustRust
  • yazi
NoYesJan 15, 2026
RUSTSEC-2026-0003HIGH8.9
  • RustRust
  • cmov
NoYesJan 14, 2026
CVE-2026-22864HIGH8.1
  • RustRust
  • deno
NoYesJan 15, 2026
CVE-2026-22782LOW2.9
  • RustRust
  • rustfs
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management