Vulnerability DatabaseRUSTSEC-2025-0105

RUSTSEC-2025-0105
Rust vulnerability analysis and mitigation

Overview

A soundness issue was discovered in the directringbuffer Rust crate, identified as RUSTSEC-2025-0105. The vulnerability was reported on October 15, 2025, affecting the createringbuffer function in the library. The issue involves undefined behavior in memory handling that could potentially lead to security concerns (GitHub Issue).

Technical details

The vulnerability exists in the createringbuffer function where it allocates a buffer using Vec::withcapacity followed by an unsafe call to setlen. This creates a Box<[T]> containing uninitialized memory, which leads to undefined behavior when functions like producer.writeslices create a typed slice over this uninitialized memory, violating Rust's validity invariants. The issue was verified using Miri, the Rust interpreter, which confirmed the undefined behavior when attempting to retag memory for Unique permission ([GitHub Issue](https://github.com/ain1084/directring_buffer/issues/1)).

Impact

The vulnerability can lead to undefined behavior in applications using the directringbuffer crate, potentially causing memory safety violations and security issues in dependent applications (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-2025-65807HIGH8.4
  • RustRust
  • sd
NoNoDec 10, 2025
CVE-2025-66627HIGH7.8
  • RustRust
  • typst
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