Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ RUSTSEC-2025-0105 — direct-ring-buffer

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Uninitialized memory exposure in create_ring_buffer

The safe function create_ring_buffer allocates a buffer using Vec::with_capacity followed by set_len, creating a Box<[T]> containing uninitialized memory.

This leads to undefined behavior when functions like write_slices create typed slices (e.g., &mut [bool]) over the uninitialized memory, violating Rust's validity invariants. The issue has been confirmed using Miri.

Fixed in version 0.2.2 by using resize_with to properly initialize the buffer with T::default(), adding a T: Default bound to ensure sound initialization.

Affected software

RUSTSEC-2025-0105 is recorded against 1 package.

  • direct-ring-buffer

Timeline and source

Published on 21 October 2025 and last revised on 28 October 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

crates.io (Package)
rustsec.org (Advisory)
github.com (Report)
github.com (Web)

Other advisories for this package

direct-ring-buffer has other advisories on record. If you are patching this one, these are worth checking on the same host:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2025-10-21
Updated 2026-08-20
Modified 2025-10-28
Fix URL N/A

Affected Packages

Software From version Fixed in
direct-ring-buffer — —

Similar Threats

Free Vulnerability Check

Is your site affected by RUSTSEC-2025-0105?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against RUSTSEC-2025-0105 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesRustsecRustsec 2025
✓