Service abort via unchecked Jinja filter operand
Published Aug 3, 2026 · Updated Aug 3, 2026
Reachable assertion in llama.cpp e15efe0 allows local users to abort a server by supplying a malformed Jinja chat template. The parser accepts a literal after the pipe operator without validating its operand type, so the runtime chk_type assertion calls abort(). Exploitation requires access to submit a user-controlled chat_template; the result is an availability-only server process termination.
Summary
What happened
Reachable assertion in llama.cpp e15efe0 allows local users to abort a server by supplying a malformed Jinja chat template. The parser accepts a literal after the pipe operator without validating its operand type, so the runtime chk_type assertion calls abort(). Exploitation requires access to submit a user-controlled chat_template; the result is an availability-only server process termination.
The record
- CVE
- CVE-2026-18581
- Published
- Aug 3, 2026
- Updated
- Aug 3, 2026
- Vendor
- Georgi Gerganov
- Product
- llama.cpp
- Classifications
- CWE-617, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 3, 2026CVE publishedPublication date reported by the CVE source.
- Aug 3, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=e15efe0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Malformed Minja filter expression triggerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo