p PatchFirst

CVE-2025-52566

CVE-2025-52566 · llama.cpp tokenizer signed vs. unsigned heap overflow

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 8.6 · Élevée · EPSS 0,4% · Correctif disponible

Publication
Mise à jour

Pile logicielle: system

Produits et versions concernés

  • llama.cpp

    Versions du logiciel
    • < b5721: Concernée

    Aucun correctif publié

  • llama.cpp Debian:14

    Versions du logiciel
    • 5151+dfsg-1~exp2
    • 5151+dfsg-1~exp3
    • 5318+dfsg-1
    • 5318+dfsg-2
    • 5713+dfsg-1
    Plages de versions concernées
    • ECOSYSTEM: < 5760+dfsg-1

    Mettez à jour vers 5760+dfsg-1

  • llama.cpp Ubuntu:25.10

    Versions du logiciel
    • 5318+dfsg-1
    • 5318+dfsg-2
    • 5713+dfsg-1
    • 5760+dfsg-1
    • 5760+dfsg-3
    • 5760+dfsg-4
    • 5882+dfsg-2
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • llama.cpp Ubuntu:26.10

    Versions du logiciel
    • 8681+dfsg-1
    • 9721+dfsg-1ubuntu1
    • 10438+dfsg-1
    • 10438+dfsg-1ubuntu1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • llama.cpp Ubuntu:26.04:LTS

    Versions du logiciel
    • 5882+dfsg-2
    • 8064+dfsg-1ubuntu1
    • 8681+dfsg-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

Sources originales

Vérifiez votre serveur →