CVE-2025-71439: llama.cpp before b5649 Heap Out-of-Bounds Read via llama_vocab::impl::print_info

Published Oct 27, 2026
·
Updated

llama.cpp before b5649 contains a heap out-of-bounds read vulnerability in llamavocab::impl::printinfo() that allows attackers to crash model loading via oversized special token IDs. Attackers can supply a crafted GGUF model with a short tokenizer.ggml.tokens array, causing llama-cli or llama-server to read past idtotoken and crash.

Affected Software

1 affected component
Llama.cpp llama.cpp<b5649

Event History

Oct 27, 2026
CVE Published
via MITRE·12:33 AM
Data Sourced
via MITRE·12:33 AM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203