skiplist memory corruption via aliasing violations

Severity: medium · CVSS 4 · Published 2026-10-24

The skiplist Rust library contains multiple unsafe pointer aliasing violations in splice, mutable iteration, and cursor operations. An attacker can trigger undefined behavior—including memory corruption—from safe code paths, potentially enabling information disclosure or code execution. No real-world exploitation has been observed yet, but future compiler optimizations may enable exploitation.

Technologies: skiplist (crates.io). 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 24 October 2026.
Which products and versions are affected?
skiplist (crates.io) SEMVER:introduced=0.0.0-0,fixed=1.3.0; Skiplist <1.3.0.
Is there a fix for This vulnerability?
Yes. skiplist (crates.io): upgrade to 1.3.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is This vulnerability attacked?
It is attacked with local access, in a software library.
Am I affected?
Check whether you run skiplist (crates.io) or Skiplist 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.

How to fix

  • skiplist (crates.io): upgrade to 1.3.0 or later
    cargo update -p skiplist

Technical details

Four code paths violate Rust's aliasing rules (CWE-758) by deriving pointers from shared references, then invalidating those references and writing through the stored pointers. The vulnerabilities affect splice back-pointers, SkipMap::range_mut iteration, SkipList/SkipMap bidirectional iteration, and OrderedSkipList/SkipSet cursors with interior-mutable comparators. All are reachable from safe code with standard types and confirmed as undefined behavior by Miri static analysis under both Tree Borrows and Stacked Borrows models.

Affected products

  • skiplist <1.3.0

Identifiers

  • GHSA-924w-mwc9-86m8
  • RUSTSEC-2026-0408

Timeline

  • 2026-10-24: disclosed
  • 2026-10-26: advisory
  • 2026-10-26: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.