{"id":"RUSTSEC-2025-0167","revision":null,"records":[{"revision":"07aa117181d742ef9db8d249c394b350","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2025-0167","aliases":[],"title":"`Bitmap::try_from(&[u8])` can create invalid values","description":"The `TryFrom<&[u8]>` implementation for `Bitmap<SIZE>` copies the input bytes\ninto an uninitialized backing store and calls `assume_init()` without\nvalidating that the bytes form a valid value of the backing store type. For\n`SIZE = 1` the backing store is a `bool`, so any input byte other than `0x00`\nor `0x01` produces an invalid value, which is immediate undefined behavior.\n\nThe `AsMut<[u8]>` implementation has the same problem, as it allows safe code\nto write invalid bit patterns into the backing store through the returned slice.\n\nNo fixed version is available, as the crate is unmaintained; its GitHub\nrepository was archived by the owner on 2026-05-03.","state":0,"publishedAt":"2025-12-25T12:00:00+00:00","modifiedAt":"2026-08-10T19:45:04.5306836+00:00","affected":[{"ecosystem":"crates.io","name":"bitmaps","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.2.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/bitmaps","https://rustsec.org/advisories/RUSTSEC-2025-0167.html","https://github.com/bodil/bitmaps/issues/35"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2025-0167","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2025-0167","identifiers":["RUSTSEC-2025-0167"]},"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-22T09:25:33.2256939+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-22T09:25:33.2256939+00:00","lastSuccessAt":"2026-11-22T09:25:33.3869404+00:00","error":null,"lastVerifiedAt":"2026-11-22T09:25:33.3869457+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-a00cc431548e20f01f2da20f449eca4a9c3c2d80f0a99ee8150099224d339982-724083815be8d1a8631bd212c8bb7a4b38ef2246f4d50e70e1d82b3ddf9a4c02","complete":true,"records":430439,"lastAttemptAt":"2026-11-22T09:25:32.5103577+00:00","lastSuccessAt":"2026-11-22T09:25:32.4892235+00:00","error":null,"lastVerifiedAt":"2026-11-22T09:25:32.5103577+00:00","snapshotPublishedAt":"2026-11-22T08:32:03+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-d6922db2c3bc4c84850b54ce4be13c0f","complete":false,"records":13927,"lastAttemptAt":"2026-11-22T09:27:06.9887772+00:00","lastSuccessAt":"2026-11-22T09:27:07.0464367+00:00","error":null,"lastVerifiedAt":"2026-11-22T09:27:07.0464367+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"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-22T09:25:33.2256939+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-22T09:25:33.2256939+00:00","lastSuccessAt":"2026-11-22T09:25:33.3879016+00:00","error":null,"lastVerifiedAt":"2026-11-22T09:25:33.3879023+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-221c1c6b39cd46f3819094963a0f12e8","complete":true,"records":13939,"lastAttemptAt":"2026-11-22T09:25:46.5328603+00:00","lastSuccessAt":"2026-11-22T09:25:46.529+00:00","error":null,"lastVerifiedAt":"2026-11-22T09:25:46.529+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13975,"expectedIdentifiers":13975,"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-e5345bb505029da8292989aaa8236ee0c21dd40080e465858702ec2ecb4dcefd","complete":true,"records":9989,"lastAttemptAt":"2026-11-22T09:25:33.178263+00:00","lastSuccessAt":"2026-11-21T19:16:03.0413179+00:00","error":null,"lastVerifiedAt":"2026-11-22T09:25:33.178263+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+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-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-22T09:25:32.6728699+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-22T09:25:32.6728699+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+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-67ea94df7f6b2100258b087b14035af283f000b6aefe39f55e9f2795f912fde8","complete":true,"records":3209,"lastAttemptAt":"2026-11-22T09:25:33.1917039+00:00","lastSuccessAt":"2026-11-21T19:16:06.9994675+00:00","error":null,"lastVerifiedAt":"2026-11-22T09:25:33.1917039+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+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-93f8bde17692d302a32a561f6a40a941db24e5e5c3d8083eda975620fb7a4483","complete":true,"records":232857,"lastAttemptAt":"2026-11-22T09:25:33.0647686+00:00","lastSuccessAt":"2026-11-22T08:27:07.8116265+00:00","error":null,"lastVerifiedAt":"2026-11-22T09:25:33.0647686+00:00","snapshotPublishedAt":"2026-11-22T07:33:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}