CVSS 4.0
1.9 lowCVSS: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:PLow (1.9) in ggml-org llama.cpp. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
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:PCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LExplain 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.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| ggml-org llama.cpp | e15efe0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 14 | llama.cpp | no fix listed | DEBIAN-CVE-2026-18581 |
| Ubuntu | 26.04:LTS, 26.10 | llama.cpp | no fix listed | UBUNTU-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 rates this Moderate.
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.
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.