Vulnerability · Published Aug 3, 2026 · Assigned by VulDB
CVE-2026-18581ggml-org llama.cpp Jinja Minja Template parser.cpp assertion
Low 3.3
In plain English
A low-severity security flaw in llama.cpp from ggml-org. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities).
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:14 | llama.cpp | no fix listed | DEBIAN-CVE-2026-18581 |
| Ubuntu:26.04:LTS | llama.cpp | no fix listed | UBUNTU-CVE-2026-18581 |
| Ubuntu:26.10 | llama.cpp | no fix listed | UBUNTU-CVE-2026-18581 |
Affected products (as reported)
Weakness: CWE-617 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R
References
- VDB-385409 | ggml-org llama.cpp Jinja Minja Template parser.cpp assertion vdb-entry, technical-description
- VDB-385409 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- CVE-2026-18581 | CVE Analysis and Report third-party-advisory
- Submit #799118 | ggml-org llama.cpp confirmed commit e15efe0 CWE-617 (Reachable Assertion) third-party-advisory
- https://github.com/ggml-org/llama.cpp/issues/25282 issue-tracking
- https://drive.proton.me/urls/R8D8NGZ6Z0#C2cVZYn5z1Xc exploit
- https://github.com/ggml-org/llama.cpp/ product