cvelo
P3 · MediumCVSS 5.5EPSS 0.2%

llama.cpp before b5649 Heap Out-of-Bounds Read via llama_vocab::impl::print_info

  • CVE-2025-71439
  • GHSA-4qpr-vwfh-qwp4
  • EUVD-2025-211201

Description

llama.cpp before b5649 contains a heap out-of-bounds read vulnerability in llama_vocab::impl::print_info() that allows attackers to crash model loading via oversized special token IDs. Attackers can supply a crafted GGUF model with a short tokenizer.ggml.tokens array, causing llama-cli or llama-server to read past id_to_token and crash.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • ggml-org llama.cpp

    Affected versionsFixed in
    before b5649none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.