Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-17500— ggml-org llama.cpp json-schema-to-grammar.cpp _visit_pattern null pointer dereference

Quick assessment

Affected
ggml-org llama.cpp
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 ggml-org llama.cpp 的 d006858/e15efe0 版本中发现了一个漏洞。该漏洞影响文件 common/json-schema-to-grammar.cpp 中的 _visit_pattern 函数。此漏洞可导致空指针解引用,攻击者可以远程发起攻击。修复该问题的拉取请求(Pull Request)目前正等待合并接受。

CVSS 5.3 · Medium EPSS 0.72% · P53

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
ggml-org llama.cpp d006858 affected
e15efe0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-17500

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ggml-org llama.cpp json-schema-to-grammar.cpp _visit_pattern null pointer dereference
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
空指针解引用
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
ggml-org llama.cpp d006858 cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-17500

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-17500

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-17500 (1)

News Coverage for CVE-2026-17500 (1)

Same Patch Batch · ggml-org · 2026-07-27 · 4 CVEs total

CVE-2026-17501 5.3 MEDIUM ggml-org llama.cpp JSON-Schema-to-GBNF Conversion json-schema-to-grammar.cpp transform rec
CVE-2026-17512 3.3 LOW ggml-org whisper.cpp log_mel_spectrogram out-of-bounds
CVE-2026-17513 3.3 LOW ggml-org whisper.cpp ggml.c ggml_ftype_to_ggml_type assertion

IV. Related Vulnerabilities

V. Comments for CVE-2026-17500

No comments yet


Leave a comment