CVE-2025-53630

unknown
Published โ€” ยท Modified โ€”
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
โ€”

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker ยท View original โ†— ยท DFSG

CVE-2025-53630 NameCVE-2025-53630 Descriptionllama.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. SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo,โ€ฆ

CVE-2025-53630

NameCVE-2025-53630
Descriptionllama.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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1109124

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ggml (PTS)forky, sid0.13.1-1fixed
llama.cpp (PTS)forky8941+dfsg-1fixed
sid9413+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ggmlsource(unstable)0.0~git20250711.b6d2ebd-11109124
llama.cppsource(unstable)5882+dfsg-1unimportant

Notes

https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-vgg9-87g3-85w8
Fixed by: https://github.com/ggml-org/llama.cpp/commit/26a48ad699d50b6268900062661bd22f3e792579 (b5854)
llama.cpp builts embedded ggml but does not use it, rather Debian uses standalone src:ggml

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-vgg9-87g3-85w8Fixed by: https://github.com/ggml-org/llama.cpp/commit/26a48ad699d50b6268900062661bd22f3e792579 (b5854)llama.cpp builts embedded ggml but does not use it, rather Debian uses standalone src:ggml

OS impact

OSVersionStatusFixed in
debian debianforkyfixed0.0~git20250711.b6d2ebd-1
debian debiansidfixed0.0~git20250711.b6d2ebd-1

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.