Skip to content
CVE PROGRAM SOURCE RECORD6.9 Medium

CVE-2026-116840

llama.cpp b5854 before b11275 Integer Overflow in gguf_init_from_reader

Description

llama.cpp b5854 before b11275 contains an integer overflow vulnerability in gguf_init_from_reader that bypasses the CVE-2025-53630 size check when padding near-SIZE_MAX 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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

ggml-org llama.cpp

Default version status: unaffected

  • b5854 to < b11275affected
  • 0.1.0 to < 0.6.0affected
pkg:github/ggml-org/llama.cpp

References