Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-17500 EUVD-2026-49060GHSA-92r6-r5fj-xg82

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

Published Jul 27, 2026 · Updated Jul 27, 2026 · Assigned by VulDB

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.

Affected products

VendorProductAffectedFixed
ggml-org llama.cpp d006858, e15efe0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 llama.cpp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 llama.cpp No fix yet —
Ubuntu 26.04 LTS llama.cpp No fix yet —

References