CVE-2026-116840: llama.cpp b5854 before b11275 Integer Overflow in gguf_init_from_reader

Published Oct 27, 2026
·
Updated

llama.cpp b5854 before b11275 contains an integer overflow vulnerability in ggufinitfromreader that bypasses the CVE-2025-53630 size check when padding near-SIZEMAX tensor sizes. Attackers can supply a crafted GGUF file whose tensor size pads to zero, causing an undersized data blob and out-of-bounds reads by consumers.

Affected Software

1 affected component
Llama.cpp llama.cpp>=b5854<b11275

Event History

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

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using llama.cpp builds from b5854 up to, but not including, b11275 are affected when they process a crafted GGUF file. The issue is triggered in gguf_init_from_reader.

2

What does exploitation require?

An attacker needs to cause a user to process a crafted GGUF file with tensor sizes that pad near SIZE_MAX. No privileges are required, but user interaction is required.

3

How can I determine whether an installation is affected?

Check the llama.cpp build version. Builds before b11275 are affected within the stated range beginning at b5854; b11275 is outside the affected range.

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