PT-2025-13024 · Crates.Io · Xmas-Elf

Published

2025-03-26

·

Updated

2025-03-26

CVSS v4.0

6.9

Medium

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
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.

Fix

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

GHSA-9CC5-2PQ7-HFJ8

Affected Products

Xmas-Elf