# CVE-2026-18581: ggml-org llama.cpp Jinja Minja Template parser.cpp assertion

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-08-03T00:30:08.285Z
- Modified: 2026-10-23T22:10:00.160Z
- Weaknesses: CWE-617
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- ggml-org llama.cpp: e15efe0

## Every score

- VulDB: CVSS: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: 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/E:P/RL:X/RC:R`
- VulDB: CVSS: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: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://vuldb.com/submit/799118> (exploit, third-party-advisory)
- <https://drive.proton.me/urls/R8D8NGZ6Z0#C2cVZYn5z1Xc> (exploit)
- <https://vuldb.com/vuln/385409> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/385409/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-18581> (third-party-advisory)
- <https://github.com/ggml-org/llama.cpp/issues/25282> (issue-tracking)
- <https://github.com/ggml-org/llama.cpp/> (product)

## Sources

- CVE List: [CVE-2026-18581](https://www.cve.org/CVERecord?id=CVE-2026-18581), CVE Terms of Use, modified 2026-08-03
- NVD: [CVE-2026-18581](https://nvd.nist.gov/vuln/detail/CVE-2026-18581), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-18581 · Whole record: https://cve.day/CVE-2026-18581.json · Rebuilt by cve.day 2026-11-25T22:59:30.819Z
