Skip to content
DoS Advisory Intermediate CVE-2026-131831

llama.cpp MTMD Multimodal GGUF File Parsing Out-Of-Bounds Read Denial-of-Service Vulnerability

The multimodal projector GGUF file parser in llama.cpp does not properly validate user-supplied data, leading to a read past the end of an allocated buffer. An attacker could exploit this to cause a denial-of-service condition when a malicious file is opened.

zent Follow

Originally disclosed on Zero Day Initiative

Medium 5.5 View original

This vulnerability allows remote attackers to cause a denial of service on affected installations of llama.cpp. User interaction is required to exploit this vulnerability in that the target must open a malicious file.

zent, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the parser trusts size or offset fields in the GGUF file without checking them against the actual buffer bounds, so it reads past the allocated buffer.

Impact

An attacker could cause a denial-of-service condition on the system by getting the target to open a malicious file; user interaction is required.

What the attacker needed

Victim opens a malicious GGUF file

The fix

The vendor issued an update to correct this vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A program that loads model files reads data from the file into a fixed-size memory area. If the file claims to contain more data than expected, the program can read beyond that area, which may crash it. This report says a crafted file can make the program crash, stopping it from working.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by zent

View all

3 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.