Heap-based Buffer Overflow Affecting llama.cpp package, versions <5882+dfsg-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.32% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-LLAMACPP-12656727
  • published13 Sept 2025
  • disclosed10 Jul 2025

Introduced: 10 Jul 2025

CVE-2025-53630  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-680  (opens in a new tab)

How to fix?

Upgrade Debian:14 llama.cpp to version 5882+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream llama.cpp package and not the llama.cpp package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

llama.cpp is an inference of several LLM models in C/C++. Integer Overflow in the gguf_init_from_file_impl function in ggml/src/gguf.cpp can lead to Heap Out-of-Bounds Read/Write. This vulnerability is fixed in commit 26a48ad699d50b6268900062661bd22f3e792579.