🛡️ GHSA-9cc5-2pq7-hfj8 — xmas-elf

⚪ Unknown ✅ No Known Exploit CWE-125 OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

xmas-elf potential out-of-bounds read with a malformed ELF file and the HashTable API.

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. Rated impact: confidentiality low, integrity none, availability none.

Weakness class

GHSA-9cc5-2pq7-hfj8 is classified as CWE-125: Out-of-bounds Read. The code reads past the limits of a buffer, exposing adjacent memory contents or crashing the process.

Affected software

GHSA-9cc5-2pq7-hfj8 is recorded against 1 package.

  • xmas-elf

Timeline and source

Published on 26 March 2025 and last revised on 28 October 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Web)
github.com (Package)
rustsec.org (Web)

Details

Severity Unknown
CVSS Score N/A
CVSS 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
CWE CWE-125
Public Exploit ✅ No
Source OSV
Published 2025-03-26
Updated 2026-08-12
Modified 2025-10-28
Fix URL N/A

Affected Packages

Software From version Fixed in
xmas-elf

Similar Threats

Free Vulnerability Check

Is your site affected by GHSA-9cc5-2pq7-hfj8?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-9cc5-2pq7-hfj8 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.