Skip to content

CVE-2025-53630 Integer Overflow in GGUF Parser can lead to Heap Out-of-Bounds Read/Write in gguf

HighCVSS 8.9 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

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.

Upgrade path

5 packages: 2 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/llama.cpp(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/llama.cpp(Ubuntu 26.10) All versions No fix listed No fix yet
debian/ggml(Debian 14) < 0.0~git20250711.b6d2ebd-1; = 0.0~git20250414.be935ac-4; = 0.0~git20250414.be935ac-5; = 0.0~git20250502.17733de-1 +5 more 0.0~git20250711.b6d2ebd-1 Fixed
debian/llama.cpp(Debian 14) < 5882+dfsg-1; = 5151+dfsg-1~exp2; = 5151+dfsg-1~exp3; = 5318+dfsg-1 +6 more 5882+dfsg-1 Fixed
ggml-org llama.cpp = < 26a48ad699d50b6268900062661bd22f3e792579 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/ggml(Debian:14) < 0.0~git20250711.b6d2ebd-1 0.0~git20250711.b6d2ebd-1
debian/ggml(Debian:14) = 0.0~git20250414.be935ac-4 No fix listed
debian/ggml(Debian:14) = 0.0~git20250414.be935ac-5 No fix listed
debian/ggml(Debian:14) = 0.0~git20250502.17733de-1 No fix listed
debian/ggml(Debian:14) = 0.0~git20250502.17733de-2 No fix listed
debian/ggml(Debian:14) = 0.0~git20250502.17733de-3 No fix listed
debian/ggml(Debian:14) = 0.0~git20250502.17733de-4 No fix listed
debian/ggml(Debian:14) = 0.0~git20250618.9e4bee1-1 No fix listed
debian/ggml(Debian:14) = 0.0~git20250618.9e4bee1-2 No fix listed
debian/llama.cpp(Debian:14) < 5882+dfsg-1 5882+dfsg-1
debian/llama.cpp(Debian:14) = 5151+dfsg-1~exp2 No fix listed
debian/llama.cpp(Debian:14) = 5151+dfsg-1~exp3 No fix listed
debian/llama.cpp(Debian:14) = 5318+dfsg-1 No fix listed
debian/llama.cpp(Debian:14) = 5318+dfsg-2 No fix listed
debian/llama.cpp(Debian:14) = 5713+dfsg-1 No fix listed
debian/llama.cpp(Debian:14) = 5760+dfsg-1 No fix listed
debian/llama.cpp(Debian:14) = 5760+dfsg-2 No fix listed
debian/llama.cpp(Debian:14) = 5760+dfsg-3 No fix listed
debian/llama.cpp(Debian:14) = 5760+dfsg-4 No fix listed
ggml-org llama.cpp = < 26a48ad699d50b6268900062661bd22f3e792579 No fix listed
ubuntu/llama.cpp(Ubuntu:26.04) All versions No fix listed
ubuntu/llama.cpp(Ubuntu:26.10) All versions No fix listed

References