CVE-2026-17500

ggml-org llama.cpp json-schema-to-grammar.cpp _visit_pattern null pointer dereference

State
Published
Severity
6.9 Medium
Published
Jul 27, 2026
Updated
Jul 27, 2026
Reserved
Jul 26, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS: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:XVulDB
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:X/RC:RVulDB
3.05.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:X/RC:RVulDB
2.05.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P/E:ND/RL:ND/RC:URVulDB

Weaknesses

Affected Products

ProductVersions
llama.cppggml-org
  • d006858Affected
  • e15efe0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.