Skip to main content
VulnerabilityPublished Updated

CVE-2025-52566: llama.cpp is an inference of several LLM models in C/C++

Affects llama.cppSource GCVE Database

0
Compare
Authoritative record:CVE-2025-52566· High 8.6

Not known to be exploited · CVSS 8.6 High.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10llama.cpppkg:deb/ubuntu/llama.cpp?arch=source&distro=stonkingOther threatsAffected
  • 8681+dfsg-1 – 10438+dfsg-1ubuntu1
4 affected builds
Fixed in–
Ubuntu 26.04 LTSllama.cpppkg:deb/ubuntu/llama.cpp?arch=source&distro=resoluteOther threatsAffected
  • =5882+dfsg-2
  • =8064+dfsg-1ubuntu1
  • =8681+dfsg-1
Fixed in–
Ubuntu 25.10llama.cpppkg:deb/ubuntu/llama.cpp?arch=source&distro=questingOther threatsAffected
  • 5318+dfsg-1 – 5882+dfsg-2
7 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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

Community reviews

Loading reviews…