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.
Published: 2026-08-03
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the Jinja Minja Template parser of ggml-org llama.cpp and is triggered when a specially crafted input such as "{{9|9|{" reaches an assertion in common/jinja/parser.cpp. The assertion failure causes the program to crash, which results in a local denial of service. The weakness is identified as CWE-617 and relies on improper handling of malformed template data. No privilege escalation or data disclosure results from the failure—only termination of the affected process. The impact is limited to local execution environments that invoke the vulnerable parser.

Affected Systems

The affected software is ggml-org llama.cpp, specifically the implementation of the Jinja Minja parser in the file common/jinja/parser.cpp. The issue was discovered in commit e15efe0; no specific version ranges are published, so any build that includes this unmodified code may be vulnerable. Users deploying llama.cpp should verify whether the parser component is present in their build and whether any fixes have been applied upstream.

Risk and Exploitability

The CVSS score of 4.8 indicates a moderate severity impact. The EPSS score is not available, suggesting public data is insufficient to quantify exploit likelihood. The vulnerability is not listed in CISA’s KEV catalog, and no known remote exploitation pathway is documented. The attack requires local access to the system and the execution of a crafted template string. Because the vulnerability merely triggers a crash rather than a more complex compromise, the overall risk is considered moderate; however, in environments where uptime is critical, the impact of repeated failures can be significant.

Generated by OpenCVE AI on August 3, 2026 at 09:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Check out or build the latest llama.cpp source that includes the assertion fix, if available; the repository may have an older commit with a patch awaiting merge.
  • If the Jinja Minja parsing feature is not essential to your application, remove or disable the parser component to eliminate the vulnerability surface.
  • Sanitize or validate any template input before passing it to the parser to avoid malformed data triggering the assertion; input validation helps mitigate similar assertion‐based denial of service weaknesses.
  • Monitor the ggml-org repository and security advisories for an official patch or update, and apply it promptly once released.

Generated by OpenCVE AI on August 3, 2026 at 09:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 03 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 03 Aug 2026 01:15:00 +0000

Type Values Removed Values Added
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.
Title ggml-org llama.cpp Jinja Minja Template parser.cpp assertion
First Time appeared Ggml-org
Ggml-org llama.cpp
Weaknesses CWE-617
CPEs cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:*
Vendors & Products Ggml-org
Ggml-org llama.cpp
References
Metrics cvssV2_0

{'score': 1.7, 'vector': 'AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 3.3, 'vector': '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'}

cvssV3_1

{'score': 3.3, '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'}

cvssV4_0

{'score': 4.8, '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'}


Subscriptions

Ggml-org Llama.cpp
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-03T19:47:33.721Z

Reserved: 2026-08-02T18:58:51.627Z

Link: CVE-2026-18581

cve-icon Vulnrichment

Updated: 2026-08-03T19:45:04.823Z

cve-icon NVD

Status : Deferred

Published: 2026-08-03T01:16:43.300

Modified: 2026-08-12T21:00:37.147

Link: CVE-2026-18581

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T09:15:03Z

Weaknesses