cve.bz

CVE-2026-18581 ggml-org llama.cpp: Reachable Assertion

1.9 lowEPSS 0.2%

Low (1.9) in ggml-org llama.cpp. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
A vulnerability was determined in ggml-org llama.cpp e15efe0. Affected by this issue is some unknown functionality of the file common/jinja/parser.cpp of the component Jinja Minja Template Parser. Executing a manipulation with the input {{9|9|{ can lead to reachable assertion. The attack requires local access. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.

Severity

CVSS 4.0

1.9 low
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

CVSS 3.1

3.3 low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 5th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-08-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-617 Reachable Assertion
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-18581 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-18581?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-18581?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-18581 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
ggml-org llama.cppe15efe0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14llama.cppno fix listedDEBIAN-CVE-2026-18581
Ubuntu26.04:LTS, 26.10llama.cppno fix listedUBUNTU-CVE-2026-18581

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw has a Moderate impact. The Jinja/Minja chat-template parser in llama.cpp (common/jinja/parser.cpp) does not validate the syntactic correctness of template input; a local user who supplies a malformed template such as {{9|9|{ triggers a reachable assertion that aborts the process, resulting in a denial of service. Exploitation requires local access and the ability to submit a chat template to the parser, and the impact is limited to availability of the affected process. No Red Hat enterprise product ships llama.cpp; only the Fedora community packages llama-cpp and python-llama-cpp-python are affected, for which community trackers have been filed for maintainer action.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-18581.

References

Check your stackJSON