Skip to main content
CVE-2026-17500VulnerabilityPublished 07/27/2026

CVE-2026-17500: ggml-org llama.cpp · NULL Pointer Dereference

Affects ggml-org llama.cppSource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium.

Data as of 10/25/2026, 16:58:55 UTC

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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Jul 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–Fixed in–

CPE configurations (1)

  • cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:*

AI-suggested

Users should monitor the vendor's repository or advisory channels for the acceptance and release of the fix. Until then, consider restricting access to the vulnerable functionality if possible to reduce exposure.

Description

A vulnerability was detected in ggml-org llama.cpp d006858/e15efe0. This affects the function _visit_pattern of the file common/json-schema-to-grammar.cpp. The manipulation results in null pointer dereference. The attack can be launched remotely. The pull request to fix this issue awaits acceptance.

Impact

Successful exploitation results in a null pointer dereference, which typically causes a denial of service by crashing the affected process. There is no indication of privilege escalation, data disclosure, or code execution. The vulnerability can be triggered remotely without authentication, increasing its potential impact on availability.

Summary

This vulnerability in ggml-org llama.cpp arises from improper handling in the _visit_pattern function within common/json-schema-to-grammar.cpp, leading to a null pointer dereference. The flaw can be exploited remotely without authentication or user interaction. The issue is documented under CVE-2026-17500 with a CVSS 4.0 score of 6.9 (medium severity). Although a pull request containing a fix exists, it has not yet been merged or officially released. No known exploits are reported in the wild.

References

Community reviews

Loading reviews…