DEBIAN-CVE-2025-52566

Source
https://security-tracker.debian.org/tracker/CVE-2025-52566
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-52566.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2025-52566
Upstream
Published
2025-06-24T04:15:46Z
Modified
2026-09-01T20:05:53Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

llama.cpp is an inference of several LLM models in C/C++. Prior to version b5721, there is a signed vs. unsigned integer overflow in llama.cpp's tokenizer implementation (llama_vocab::tokenize) (src/llama-vocab.cpp:3036) resulting in unintended behavior in tokens copying size comparison. Allowing heap-overflowing llama.cpp inferencing engine with carefully manipulated text input during tokenization process. This issue has been patched in version b5721.

References

Affected packages

Debian:14 / llama.cpp

Package

Name
llama.cpp
Purl
pkg:deb/debian/llama.cpp?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5760+dfsg-1

Affected versions

Other
5151+dfsg-1~exp2
5151+dfsg-1~exp3
5318+dfsg-1
5318+dfsg-2
5713+dfsg-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-52566.json"