GHSA-7mcq-f592-pf7v — Vulnerability in slice-ring-buffer
Slice Ring Buffer and Slice Deque contains four unique double-free vulnerabilities triggered through safe APIs
Does your project use an affected slice-ring-buffer version?
Paste your Cargo.lock to check it for GHSA-7mcq-f592-pf7v and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
The crate slice-ring-buffer was developed as a fork of slice-deque to continue maintenance and provide security patches, since the latter has been officially unmaintained (RUSTSEC-2020-0158).
While slice-ring-buffer has addressed some previously reported memory safety issues inherited from its fork origin (RUSTSEC-2021-0047), it still retains multiple unresolved memory corruption vulnerabilities.
Specifically, we have discovered four new memory safety bugs, each resulting in double-free violations that can occur when only safe APIs are invoked. These vulnerabilities correspond to four distinct safe APIs in the crate, each exposing unsound and vulnerable behavior due to incorrect usage of unsafe code internally.
Unfortunately, the maintainer doesn't have much availability to resolve these issues so there's no concrete timeline for fixes. Community contributions towards fixing these vulnerabilities would be much appreciated.
Advisory Timeline
- First published July 16, 2025 (498 days ago).
- Last revised October 28, 2025 — 104 days after initial publication.
Affected Packages (2)
Affects 1 ecosystem: crates.io (2).
| Package | Fixed In |
|---|---|
| slice-ring-buffer crates.io · Affected: All versions | Range-based data available |
| slice-deque crates.io · Affected: All versions | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-415
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
References
Frequently Asked Questions
- What is GHSA-7mcq-f592-pf7v?
- Slice Ring Buffer and Slice Deque contains four unique double-free vulnerabilities triggered through safe APIs. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.8/10).
- How do I check if my project is affected by GHSA-7mcq-f592-pf7v?
- GHSA-7mcq-f592-pf7v affects slice-ring-buffer and slice-deque. Use GeekWala's free vulnerability scanner to check your dependencies against GHSA-7mcq-f592-pf7v and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
Also Known As
Related CVEs
- CVE-2018-20995CRITICAL
Bug in SliceDeque::move_head_unchecked allows read of corrupted memory
- CVE-2019-15543CRITICAL
Bug in SliceDeque::move_head_unchecked corrupts its memory
- CVE-2019-15543CRITICAL
Out of bounds write in slice-deque
- CVE-2018-20995CRITICAL
Memory corruption slice-deque
- CVE-2026-83816HIGH
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
- CVE-2026-83817HIGH
CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution