Skip to main content
CVE-2026-2069VulnerabilityPublished Updated

CVE-2026-2069: ggml-org llama.cpp · Stack-based Buffer Overflow

Affects ggml-org llama.cppSource CVE Database V5

0

Not known to be exploited · CVSS 4.8 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: 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 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
ggml-orgllama.cppAffected
  • =55abc39
Fixed in–

AI-suggested

To mitigate CVE-2026-2069, organizations should immediately apply the vendor-supplied patch (patch 18993) that corrects the buffer handling in the llama_grammar_advance_stack function. Beyond patching, restrict local access to systems running llama.cpp to trusted users only, employing strict access controls and monitoring for unusual local activity. Implement application whitelisting and endpoint detection and response (EDR) solutions to detect anomalous behavior indicative of exploitation attempts. Regularly audit and update all AI-related software dependencies to ensure vulnerabilities are addressed promptly. For environments where patching is delayed, consider running llama.cpp processes with the least privileges possible and within containerized or sandboxed environments to limit potential damage from exploitation. Additionally, maintain comprehensive logging and alerting on local process crashes or memory corruption events to enable rapid incident response.

Description

A flaw has been found in ggml-org llama.cpp up to 55abc39. Impacted is the function llama_grammar_advance_stack of the file llama.cpp/src/llama-grammar.cpp of the component GBNF Grammar Handler. This manipulation causes stack-based buffer overflow. The attack needs to be launched locally. The exploit has been published and may be used. Patch name: 18993. To fix this issue, it is recommended to deploy a patch.

References

Community reviews

Loading reviews…