Vulnerability DatabaseRUSTSEC-2022-0046

RUSTSEC-2022-0046
Rust vulnerability analysis and mitigation

Overview

RUSTSEC-2022-0046 is a vulnerability in the rust-rocksdb crate that involves an out-of-bounds read when opening multiple column families with TTL (Time To Live). The issue was discovered and fixed in March 2022, affecting versions of rust-rocksdb prior to the fix (GitHub PR).

Technical details

The vulnerability stems from a buffer over-read condition where a pointer to a single integer value was being passed when the implementation expected a pointer to multiple consecutive integer values, one for each column family. This occurred specifically in the column families with TTL functionality, where the code was incorrectly handling the TTL array allocation (GitHub PR).

Impact

When exploited, this vulnerability could lead to undefined behavior due to out-of-bounds memory access when attempting to open multiple column families with TTL settings. This could potentially result in memory corruption or application crashes (GitHub PR).

Mitigation and workarounds

The issue has been fixed through a pull request that corrects the buffer handling for TTL values. Users should update to the patched version of rust-rocksdb that includes this fix (GitHub PR).

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-2025-65807HIGH8.4
  • RustRust
  • sd
NoNoDec 10, 2025
CVE-2025-66627HIGH7.8
  • RustRust
  • wasmi
NoYesDec 09, 2025
CVE-2025-67487MEDIUM5.5
  • RustRust
  • static-web-server
NoYesDec 09, 2025
CVE-2025-66622LOW1.3
  • RustRust
  • matrix-sdk-base
NoYesDec 09, 2025
RUSTSEC-2025-0135N/AN/A
  • RustRust
  • matrix-sdk-base
NoYesDec 08, 2025

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