Vulnerability DatabaseGHSA-5phc-849h-vcxg

GHSA-5phc-849h-vcxg
Rust vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-5phc-849h-vcxg) affects the bronzedb-protocol Rust crate versions 0.1.0 and earlier, discovered on January 3, 2021, and publicly disclosed on June 16, 2022. The issue involves passing an uninitialized buffer to a user-provided Read implementation in the ReadKVExt trait implementation (GitHub Advisory, RustSec Advisory).

Technical details

The vulnerability exists in the implementation of ReadKVExt trait, specifically in the read_key() and read_value() methods. These methods create an uninitialized u8 buffer and pass it to a user-provided Read implementation, which violates the safety requirements of the Read trait. According to the Read trait documentation, it is the caller's responsibility to ensure the buffer is initialized before calling read (BronzeDB Issue).

Impact

When exploited, this vulnerability can lead to memory exposure as arbitrary Read implementations can read from the uninitialized buffer. Additionally, it can result in undefined behavior when reading from uninitialized memory, and the Read implementation may return an incorrect number of bytes written to the buffer (GitHub Advisory, RustSec Advisory).

Mitigation and workarounds

The suggested fix is to zero-initialize the newly allocated u8 buffer before read(), which prevents user-provided Read implementations from reading old contents of the newly allocated heap memory (BronzeDB 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