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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-17501— ggml-org llama.cpp JSON-Schema-to-GBNF Conversion json-schema-to-grammar.cpp transform recursion

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 llama.cpp是ggml组织开源的一个纯C/C++语言模型推理工具。 ggml llama.cpp e15efe0版本存在资源管理错误漏洞,该漏洞源于JSON-Schema-to-GBNF Conversion组件中transform函数的资源分配问题,可能导致远程攻击者造成拒绝服务。

CVSS 5.3 · Medium EPSS 0.72% · P53

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-17501

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-GBNF Conversion json-schema-to-grammar.cpp transform recursion
Source: CVE Program / CVE List V5
Vulnerability Description
A flaw has been found in ggml-org llama.cpp e15efe0. This vulnerability affects the function transform of the file common/json-schema-to-grammar.cpp of the component JSON-Schema-to-GBNF Conversion. This manipulation causes uncontrolled recursion. The attack may be initiated 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
Vulnerability Title
ggml llama.cpp 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
ggml llama.cpp是ggml组织开源的一个纯C/C++语言模型推理工具。 ggml llama.cpp e15efe0版本存在资源管理错误漏洞,该漏洞源于JSON-Schema-to-GBNF Conversion组件中transform函数的资源分配问题,可能导致远程攻击者造成拒绝服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

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

II. Public POCs for CVE-2026-17501

# 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-17501

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

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

Proof of Concept for CVE-2026-17501 (1)

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

CVE-2026-17500 5.3 MEDIUM ggml-org llama.cpp json-schema-to-grammar.cpp _visit_pattern null pointer dereference
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-17501

No comments yet


Leave a comment