Vulnerabilityin ggml-org llama.cpp.
No public exploit found; not on exploited lists.
llama.cpp before b3701 contains an out-of-bounds read vulnerability in llama_decode_internal and llama_encode_internal that allows remote unauthenticated attackers to read memory by supplying unvalidated token IDs. Attackers can send integer-array prompts to the llama-server /completion endpoint with IDs outside 0 to n_vocab to read embedding memory out of bounds or crash the process.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 27 Oct 2026CVE ID reserved by VulnCheck.
- 27 Oct 2026Published in the CVE List.
- 27 Oct 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other llama.cpp vulnerabilities
Same weakness: Improper array index validation
- github.com patch, issue-tracking
- github.com patch
- github.com patch
- github.com technical-description
- github.com release-notes
- www.vulncheck.com third-party-advisory
Patchminder. CVE-2024-58400: Vulnerability in ggml-org llama.cpp. https://patchminder.com/cve/cve-2024-58400/ (accessed 5 December 2026).