{"id":"GHSA-9cc5-2pq7-hfj8","revision":"5c0d58ceecf84664bfd859d08063f6cb","records":[{"revision":"5c0d58ceecf84664bfd859d08063f6cb","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-9cc5-2pq7-hfj8","aliases":["RUSTSEC-2025-0018"],"title":"xmas-elf potential out-of-bounds read with a malformed ELF file and the HashTable API.","description":"Affected versions of this crate only validated the `index` argument of `HashTable::get_bucket` and `HashTable::get_chain` against the input-controlled `bucket_count` and `chain_count` fields, but not against the size of the ELF section. As a result, a malformed ELF file could trigger out-of-bounds reads in a consumer of the HashTable API by setting these fields to inappropriately large values that would fall outside the relevant hash table section, and by introducing correspondingly out-of-bounds hash table indexes elsewhere in the ELF file.","state":0,"publishedAt":"2025-03-26T20:11:24+00:00","modifiedAt":"2026-09-10T03:50:23.0785365+00:00","affected":[{"ecosystem":"crates.io","name":"xmas-elf","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.10"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/nrc/xmas-elf/issues/86","https://github.com/nrc/xmas-elf/commit/57685c35512a57269086314a42a70441af4ef451","https://github.com/nrc/xmas-elf","https://rustsec.org/advisories/RUSTSEC-2025-0018.html"],"sourceUrl":"https://github.com/advisories/GHSA-9cc5-2pq7-hfj8","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-9cc5-2pq7-hfj8","identifiers":["GHSA-9cc5-2pq7-hfj8","RUSTSEC-2025-0018"]},"retained":false,"historicalAffected":[]}],"coverage":[]}