# Slice Ring Buffer and Slice Deque contains four unique double-free vulnerabilities triggered through safe APIs

Source: https://junglewise.ai/threats/slice-ring-buffer-and-slice-deque-contains-four-unique-double-free-02dde4ab  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-07-16  
License: CC BY 4.0 with a link back

Severity: medium · CVSS 4 · Published 2025-07-16

Slice Ring Buffer and Slice Deque contains four unique double-free vulnerabilities triggered through safe APIs

Technologies: [slice-deque (crates.io)](https://junglewise.ai/threats/technologies/slice-deque). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Medium severity, with a CVSS score of 4, published 16 July 2025.

**Which products and versions are affected?** slice-deque (crates.io) SEMVER:introduced=0,last_affected=0.3.0; slice-ring-buffer (crates.io) SEMVER:introduced=0,last_affected=0.3.4.

**Is there a fix for This vulnerability?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected?** Check whether you run slice-deque (crates.io) or slice-ring-buffer (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- slice-deque (crates.io) SEMVER:introduced=0,last_affected=0.3.0
- slice-ring-buffer (crates.io) SEMVER:introduced=0,last_affected=0.3.4

## Related threats

- [RUSTSEC-2025-0044 - Four unique double-free vulnerabilities triggered via safe APIs](https://junglewise.ai/threats/rustsec-2025-0044-four-unique-double-free-vulnerabilities-triggered-via-82f82e1d)
- [RUSTSEC-2021-0047 - SliceDeque::drain_filter can double drop an element if the predicate panics](https://junglewise.ai/threats/cve-2021-29938-double-free-in-slice-deque)
- [RUSTSEC-2020-0158 - slice-deque is unmaintained](https://junglewise.ai/threats/rustsec-2020-0158-slice-deque-is-unmaintained-3061c768)
- [RUSTSEC-2019-0002 - Bug in SliceDeque::move_head_unchecked corrupts its memory](https://junglewise.ai/threats/cve-2019-15543-out-of-bounds-write-in-slice-deque)
- [RUSTSEC-2018-0008 - Bug in SliceDeque::move_head_unchecked allows read of corrupted memory](https://junglewise.ai/threats/cve-2018-20995-memory-corruption-slice-deque)
