CVE-2026-18581
ggml-org llama.cpp Jinja Minja Template parser.cpp assertion
- State
- Published
- Severity
- 4.8 Medium
- Published
- Aug 3, 2026
- Updated
- Aug 3, 2026
- Reserved
- Aug 2, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | 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 | VulDB |
| 3.1 | 3.3 Low | 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 | VulDB |
| 3.0 | 3.3 Low | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R | VulDB |
| 2.0 | 1.7 Low | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR | VulDB |
Weaknesses
- CWE-617 Reachable Assertion
Affected Products
| Product | Versions |
|---|---|
llama.cppggml-org |
|
References
- VDB-385409 | ggml-org llama.cpp Jinja Minja Template parser.cpp assertionvdb-entrytechnical-description
- VDB-385409 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- CVE-2026-18581 | CVE Analysis and Reportthird-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/25282issue-tracking
- https://drive.proton.me/urls/R8D8NGZ6Z0#C2cVZYn5z1Xcexploit
- https://github.com/ggml-org/llama.cpp/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.