CVE-2026-17500: NULL Pointer Dereference in ggml-org llama.cpp
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.
AI Analysis
Technical 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.
Potential 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.
Mitigation Recommendations
No official patch or fix is currently available as the pull request is pending acceptance. 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.
CVE-2026-17500: NULL Pointer Dereference in ggml-org llama.cpp
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.
CVSS v4.0
Score 6.9medium
Affected software
cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:*AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
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.
Potential 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.
Mitigation Recommendations
No official patch or fix is currently available as the pull request is pending acceptance. 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.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-07-26T17:33:41.700Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a66af679c2644c7f8dd00f2
Added to database: 07/27/2026, 01:07:51 UTC
Last enriched: 07/30/2026, 01:08:11 UTC
Last updated: 09/07/2026, 16:11:00 UTC
Views: 120
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.