GHSA-7mcq-f592-pf7v json
Slice Ring Buffer and Slice Deque contains four unique double-free vulnerabilities triggered through safe APIs
published last yr. modified last yr. also RUSTSEC-2025-0044
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
The crate [`slice-ring-buffer`](https://crates.io/crates/slice-ring-buffer) was developed as a fork of [`slice-deque`](https://crates.io/crates/slice-deque) to continue maintenance and provide security patches, since the latter has been officially unmaintained ([RUSTSEC-2020-0158](https://rustsec.org/advisories/RUSTSEC-2020-0158.html)).
While `slice-ring-buffer` has addressed some previously reported memory safety issues inherited from its fork origin ([RUSTSEC-2021-0047](https://rustsec.org/advisories/RUSTSEC-2021-0047.html)), 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.
Is GHSA-7mcq-f592-pf7v in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | slice-deque | <=0.3.0 |
no fix listed |
| crates.io | slice-ring-buffer | <=0.3.4 >=0.0.0-0 |
no fix listed |
Classification
- Weakness
-
- CWE-415 Double Free
References
-
github.com
/LiquidityC/slice_ring_buffer/issues/12
web, report
-
github.com
/gnzlbg/slice_deque
package
-
rustsec.org
/advisories/RUSTSEC-2025-0044.html
web, advisory
-
crates.io
/crates/slice-ring-buffer
package
Sources
- GitHub Advisory GHSA-7mcq-f592-pf7v
- OSV RUSTSEC-2025-0044
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.