{"id":"GHSA-x6j6-3ffp-qrfr","revision":null,"records":[{"revision":"8c43a491f8c64cffbf9164fde7e22089","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0300","aliases":["GHSA-x6j6-3ffp-qrfr"],"title":"Use-after-free in `clear` and `retain` when an element's `Drop` panics","description":"`SkipList::clear` drops the node chain and only then resets `tail` and `len`.\nThe drop runs each element's `Drop`, and `T` carries no bounds excluding a\npanicking one. If it unwinds, `tail` still points at the freed node while `len`\nstays non-zero.\n\n`back()`, `back_mut()`, `last_key_value()` and `last()` dereference `tail`\nthrough `unsafe`, so reading the container after the unwind is a use-after-free\n(CWE-416). `Drop for SkipList` calls `Box::from_raw` on `self.head`, which\n`clear` already destroyed, so dropping the container is a double free\n(CWE-415).\n\n`retain`, `retain_mut` and `dedup_by` reach the same state through\n`Node::filter_rebuild`, which frees nodes and runs a user predicate before the\ncaller commits `tail` and `len`. There the head links are left partially\nrewired, so traversal can also reach freed nodes.\n\n## Mitigation\n\nUpdate to 1.1.1.","state":0,"publishedAt":"2026-09-02T12:00:00+00:00","modifiedAt":"2026-09-22T07:45:03.8956299+00:00","affected":[{"ecosystem":"crates.io","name":"skiplist","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"1.1.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/skiplist","https://rustsec.org/advisories/RUSTSEC-2026-0300.html","https://github.com/JP-Ellis/rust-skiplist/pull/334"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0300","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0300","identifiers":["RUSTSEC-2026-0300","GHSA-x6j6-3ffp-qrfr"]},"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-11-15T15:44:35.9269651+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-15T15:44:35.9269651+00:00","lastSuccessAt":"2026-11-15T15:44:36.5463392+00:00","error":null,"lastVerifiedAt":"2026-11-15T15:44:36.5463405+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-7de4d7559a5263003f03d9f70577ab06f92ba4178309f26fce53e22a4a959294-fe26fb3283d0188e4f1216c8a5f5e42b8b3a78e2b8ea03ea41743c12f8c225e3","complete":true,"records":425822,"lastAttemptAt":"2026-11-15T15:44:34.9158006+00:00","lastSuccessAt":"2026-11-15T15:44:34.777694+00:00","error":null,"lastVerifiedAt":"2026-11-15T15:44:34.9158006+00:00","snapshotPublishedAt":"2026-11-15T15:23:06+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-2591b0dc4e22463286f1b2e1fdad4426","complete":true,"records":13821,"lastAttemptAt":"2026-11-15T15:56:56.9999793+00:00","lastSuccessAt":"2026-11-15T15:56:56.987+00:00","error":null,"lastVerifiedAt":"2026-11-15T15:56:56.987+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13874,"expectedIdentifiers":13874,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-15T15:44:35.9269651+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-15T15:44:35.9269651+00:00","lastSuccessAt":"2026-11-15T15:44:36.5762509+00:00","error":null,"lastVerifiedAt":"2026-11-15T15:44:36.5762516+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-b8dcff928a3a4fd2a861cd283fe6f01b","complete":true,"records":13833,"lastAttemptAt":"2026-11-15T15:44:56.5973506+00:00","lastSuccessAt":"2026-11-15T15:44:56.582+00:00","error":null,"lastVerifiedAt":"2026-11-15T15:44:56.582+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13874,"expectedIdentifiers":13874,"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-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-15T15:44:35.2999749+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-15T15:44:35.2999749+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+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-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-15T15:44:35.0073146+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-15T15:44:35.0073146+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+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-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-15T15:44:35.3356305+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-15T15:44:35.3356305+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+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-ff18f36f13fcca3a20a3fb9274b59b8872d18869a99071730e1e79b625c8f612","complete":true,"records":232475,"lastAttemptAt":"2026-11-15T15:44:35.1483585+00:00","lastSuccessAt":"2026-11-15T11:05:10.4195883+00:00","error":null,"lastVerifiedAt":"2026-11-15T15:44:35.1483585+00:00","snapshotPublishedAt":"2026-11-15T10:33:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}