PT-2026-125541

CVE-2024-58400

·

Published

2026-10-27

·

Updated

2026-10-27

Description by

CVSS 4.0
8.8
High
MetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions llama.cpp versions prior to b3701
Description An out-of-bounds read exists in the llama decode internal() and llama encode internal() functions. Remote unauthenticated attackers can read memory or cause a process crash by providing unvalidated token IDs. This is achieved by sending integer-array prompts to the /completion endpoint with IDs that fall outside the 0 to n vocab range, allowing access to embedding memory outside the intended boundaries.
Recommendations Update llama.cpp to version b3701 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾