{"id":"GHSA-924w-mwc9-86m8","revision":null,"records":[{"revision":"f9f2b4c5a80a42cc988a16fc67c39c08","observedAt":"2026-10-26T14:35:44.727+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0408","aliases":["GHSA-924w-mwc9-86m8"],"title":"Aliasing violations in splice, mutable iteration and cursors","description":"Four code paths create a pointer whose permission is later revoked, then\nwrite through it. Miri reports each as undefined behaviour under both the\nTree Borrows and Stacked Borrows aliasing models (CWE-758). All four are\nreachable from safe code with standard `Ord` types.\n\n1. **Splice back-pointer.** `split_off`, `split_off_index` and `append` stored\n   the first spliced node's `prev` pointer from a reference to the head, then\n   wrote through that same reference, invalidating the stored pointer. A later\n   `pop_first` or `pop_front` writes through it. This affects all four\n   collections.\n2. **`SkipMap::range_mut` back pointer.** With an `Included` or `Excluded`\n   upper bound, the back pointer came from a shared reference. `next_back`\n   hands out `&mut V` through it, and writing to that value is undefined\n   behaviour.\n3. **`IterMut::next_back` reads a yielded node.** In `SkipList` and `SkipMap`,\n   `next_back` read the predecessor node even after the front end had yielded\n   it as `&mut`. The read freezes the caller's reference, and the caller's\n   next write through it is undefined behaviour. This affects `iter_mut`,\n   `values_mut` and `range_mut` used from both ends.\n4. **Cursor list pointer.** `lower_bound_mut` and `upper_bound_mut` on\n   `OrderedSkipList` and `SkipSet` (`cursor` feature) took the cursor's list\n   pointer, then searched through `&self`. A comparator with interior-mutable\n   state, such as a `Cell` call counter, wrote to the list's memory through\n   that shared borrow and invalidated the cursor's pointer. The comparator can\n   be a fully consistent order. `SkipMap` cursors are not affected.\n\nNo miscompilation has been observed in an optimised build. A future compiler\nmay still optimise on the violated aliasing assumptions.\n\nThe flaws were corrected in 1.3.0. Each fix derives the pointer used for\nmutation from the collection's long-lived allocation pointers, and each has a\nMiri regression test.","state":0,"publishedAt":"2026-10-24T12:00:00+00:00","modifiedAt":"2026-10-26T14:00:05.7887967+00:00","affected":[{"ecosystem":"crates.io","name":"skiplist","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"1.3.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":null,"severity":null}],"references":["https://crates.io/crates/skiplist","https://rustsec.org/advisories/RUSTSEC-2026-0408.html","https://github.com/JP-Ellis/rust-skiplist/pull/407"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0408","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0408","identifiers":["RUSTSEC-2026-0408","GHSA-924w-mwc9-86m8"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-10-28T12:47:17.6325495+00:00","complete":true,"records":1760,"lastAttemptAt":"2026-10-28T12:47:17.6325495+00:00","lastSuccessAt":"2026-10-28T12:47:17.8057706+00:00","error":null,"lastVerifiedAt":"2026-10-28T12:47:17.8057724+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-d2186f400c54d65f61687f78bb1a00d184d2e215877d0194d7ed70caee809a44-db6b30e4154d7f454a4a984e0670e2b06ef170c95e65aff9574039e1e1cf8861","complete":true,"records":415957,"lastAttemptAt":"2026-10-28T12:47:17.2149044+00:00","lastSuccessAt":"2026-10-28T12:47:17.1524083+00:00","error":null,"lastVerifiedAt":"2026-10-28T12:47:17.2149044+00:00","snapshotPublishedAt":"2026-10-28T12:30:30+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-20847a2bb1f3426897e27cf6c9b4a410","complete":false,"records":13410,"lastAttemptAt":"2026-10-28T12:59:05.3362349+00:00","lastSuccessAt":"2026-10-28T12:59:05.332+00:00","error":"38 identifier lookups failed; latest failures include HTTP 403. Other identifiers were checked independently.","lastVerifiedAt":"2026-10-28T12:59:05.332+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":10462,"expectedIdentifiers":13514,"failedIdentifiers":38},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-10-28T12:47:17.6325495+00:00","complete":true,"records":1093,"lastAttemptAt":"2026-10-28T12:47:17.6325495+00:00","lastSuccessAt":"2026-10-28T12:47:17.9455724+00:00","error":null,"lastVerifiedAt":"2026-10-28T12:47:17.9455735+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-20aa4eab08c6464d975ad86f1f757bd0","complete":true,"records":13449,"lastAttemptAt":"2026-10-28T12:47:18.5776671+00:00","lastSuccessAt":"2026-10-28T12:29:05.966+00:00","error":null,"lastVerifiedAt":"2026-10-28T12:29:05.966+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13514,"expectedIdentifiers":13514,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-f7cb12508d9e6a348c8a60f772ed85529cc80cd2ff853da1099b57754b20e943","complete":true,"records":9790,"lastAttemptAt":"2026-10-28T12:47:17.5664031+00:00","lastSuccessAt":"2026-10-27T21:49:03.9756799+00:00","error":null,"lastVerifiedAt":"2026-10-28T12:47:17.5664031+00:00","snapshotPublishedAt":"2026-10-27T21:48:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-72e5e79de0026dd0562d40734074a2236a06886643d67182b8381eaee757dbf7","complete":true,"records":1966,"lastAttemptAt":"2026-10-28T12:47:17.2879787+00:00","lastSuccessAt":"2026-10-27T21:46:38.0277323+00:00","error":null,"lastVerifiedAt":"2026-10-28T12:47:17.2879787+00:00","snapshotPublishedAt":"2026-10-27T21:18:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-9cc0e41ed4e75d0c111bed7fd0bbcd4f139c80cc1fc67f8c3d9a33a41da846ad","complete":true,"records":3002,"lastAttemptAt":"2026-10-28T12:47:17.580034+00:00","lastSuccessAt":"2026-10-28T10:33:32.3653779+00:00","error":null,"lastVerifiedAt":"2026-10-28T12:47:17.580034+00:00","snapshotPublishedAt":"2026-10-28T09:02:50+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-f92980e1a2866a0bbb15861ebe30c8abcc7b7c0ec47586c9330b69d90fe53774","complete":true,"records":230857,"lastAttemptAt":"2026-10-28T12:47:17.464579+00:00","lastSuccessAt":"2026-10-28T12:29:02.8654193+00:00","error":null,"lastVerifiedAt":"2026-10-28T12:47:17.464579+00:00","snapshotPublishedAt":"2026-10-28T11:33:00+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}