Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. slice-ring-buffer
  4. ›
  5. GHSA-7mcq-f592-pf7v

GHSA-7mcq-f592-pf7v: Slice Ring Buffer and Slice Deque contains four unique double-free vulnerabilities triggered through safe APIs

July 16, 2025

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.

References

  • github.com/LiquidityC/slice_ring_buffer/issues/12
  • github.com/advisories/GHSA-7mcq-f592-pf7v
  • github.com/gnzlbg/slice_deque
  • rustsec.org/advisories/RUSTSEC-2025-0044.html

Code Behaviors & Features

Detect and mitigate GHSA-7mcq-f592-pf7v with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.3.4

Solution

Unfortunately, there is no solution available yet.

Weakness

  • CWE-415: Double Free

Source file

cargo/slice-ring-buffer/GHSA-7mcq-f592-pf7v.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:37 +0000.