{"id":"RUSTSEC-2026-0306","revision":null,"records":[{"revision":"d1bbe548dbd44144a43abe35267f6642","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0306","aliases":[],"title":"`hex_decode_unchecked` AVX2 path reads past `src`","description":"`faster_hex::hex_decode_unchecked` is a safe function. On x86 and x86_64, when AVX2 is enabled, `hex_decode_avx2` keeps decoding while `dst.len() >= 32` and then loads 32 bytes from `src` and 32 bytes from `src[32..]`. Nothing in that loop requires `src` to contain 64 bytes.\n\nA safe caller can pass a short `src` and a `dst` of at least 32 bytes. The AVX2 load then reads outside `src`.\n\nThe function has had this shape since 0.3.0. 0.10.0 is the last release with the unbounded AVX2 read. The maintainer agreed to this advisory and shipped the backport in 0.10.1 (pull request 74): the AVX2 loop now requires `src.len() >= 64` before those loads. 1.0.0 rewrites `hex_decode_unchecked` so the decoded length is `min(src.len() / 2, dst.len())`. Both are covered by `>= 0.10.1`. Other architectures take the scalar fallback and are outside this advisory.","state":0,"publishedAt":"2026-09-20T12:00:00+00:00","modifiedAt":"2026-09-23T14:15:03.274937+00:00","affected":[{"ecosystem":"crates.io","name":"faster-hex","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.3.0"},{"kind":"fixed","version":"0.10.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/faster-hex","https://rustsec.org/advisories/RUSTSEC-2026-0306.html","https://github.com/nervosnetwork/faster-hex/issues/73","https://github.com/nervosnetwork/faster-hex/pull/72","https://github.com/nervosnetwork/faster-hex/pull/74"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0306","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0306","identifiers":["RUSTSEC-2026-0306"]},"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-12T19:18:40.2432846+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-12T19:18:40.2432846+00:00","lastSuccessAt":"2026-11-12T19:18:40.4588707+00:00","error":null,"lastVerifiedAt":"2026-11-12T19:18:40.458871+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-64752486c567b55b31fb0d7225f5222bcd0019564ac0ac5f0649e242c7b19299-71a71be06903c0321f16f785da414a43cf171b11fafd14dad0e93850c58a221f","complete":true,"records":424812,"lastAttemptAt":"2026-11-12T19:16:36.4552812+00:00","lastSuccessAt":"2026-11-12T19:16:36.099661+00:00","error":null,"lastVerifiedAt":"2026-11-12T19:16:36.4552812+00:00","snapshotPublishedAt":"2026-11-12T18:25:07+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-92f81c09e13d462186b63ad6d42bf56c","complete":true,"records":13775,"lastAttemptAt":"2026-11-12T19:19:06.4872466+00:00","lastSuccessAt":"2026-11-12T19:19:06.482+00:00","error":null,"lastVerifiedAt":"2026-11-12T19:19:06.482+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13828,"expectedIdentifiers":13828,"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-12T19:18:40.2432846+00:00","complete":true,"records":1123,"lastAttemptAt":"2026-11-12T19:18:40.2432846+00:00","lastSuccessAt":"2026-11-12T19:18:40.459652+00:00","error":null,"lastVerifiedAt":"2026-11-12T19:18:40.4596522+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-5542c4cfe5304160aa85412ba73639c8","complete":true,"records":13775,"lastAttemptAt":"2026-11-12T19:19:05.6096222+00:00","lastSuccessAt":"2026-11-12T19:19:05.605+00:00","error":null,"lastVerifiedAt":"2026-11-12T19:19:05.605+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13828,"expectedIdentifiers":13828,"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-0a16b7a0ad9e3cbe2c8193b3ff308e03491784410561da4c005974a7742a693a","complete":true,"records":9947,"lastAttemptAt":"2026-11-12T19:18:40.1037842+00:00","lastSuccessAt":"2026-11-12T19:18:39.7950995+00:00","error":null,"lastVerifiedAt":"2026-11-12T19:18:40.1037842+00:00","snapshotPublishedAt":"2026-11-12T18:33:08+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-4d60731753a2f72e455d1086e7203d0ef10843936dcc1cf2b45135e2caa204b0","complete":true,"records":2012,"lastAttemptAt":"2026-11-12T19:16:36.615069+00:00","lastSuccessAt":"2026-11-12T18:16:50.7862525+00:00","error":null,"lastVerifiedAt":"2026-11-12T19:16:36.615069+00:00","snapshotPublishedAt":"2026-11-12T17:48:11+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-0d57668ba92a2918d0664e89ea91d467f8e6a2bc6330923eb883b74ac42a14ec","complete":true,"records":3125,"lastAttemptAt":"2026-11-12T19:18:40.2048041+00:00","lastSuccessAt":"2026-11-12T15:18:36.6112732+00:00","error":null,"lastVerifiedAt":"2026-11-12T19:18:40.2048041+00:00","snapshotPublishedAt":"2026-11-12T14:48:37+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-558c98a923b6de17949b5b6cab024e22e2f0e3b948d91b9ed9bca029f7b91e19","complete":true,"records":231722,"lastAttemptAt":"2026-11-12T19:18:30.8566334+00:00","lastSuccessAt":"2026-11-12T19:18:29.2862915+00:00","error":null,"lastVerifiedAt":"2026-11-12T19:18:30.8566334+00:00","snapshotPublishedAt":"2026-11-12T18:33:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}