threatdeck
Live 04:15 UTC ·

AI Stack Alert High CVE-2026-131833 For AI Eng, AppSec, SOC / IR, CISO AI-assisted

llama.cpp GGUF parsing heap buffer overflow in set_swa_pattern allows code execution (CVE-2026-131833)

A heap-based buffer overflow exists in llama.cpp's parsing of GGUF files. The flaw results from missing validation of user-supplied data length before it is copied to a fixed-length heap buffer. Successful exploitation allows arbitrary code execution in the context of the current process, and user interaction is required.

Why it matters

Any organization running affected llama.cpp installations that load GGUF model files is exposed. An attacker who gets a user to open a malicious file or visit a malicious page could run code with that process's privileges.

Do this

  1. Update llama.cpp to a build that includes the fix in upstream pull request 26051.
  2. Inventory llama.cpp deployments, including developer workstations and inference servers, and confirm their versions.
  3. Restrict GGUF model files to trusted sources and verify provenance before loading them.
  4. Run llama.cpp services with least privilege and isolate them from sensitive data and networks until patched.

Exploit Clock

No signals yet

  • No exploitation signals yet

Signals

  • NoCISA KEV
  • 36/100Priority
  • 80%Confidence

Evidence

“The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length, heap-based buffer.”

Zero Day Initiative: published advisories

“llama.cpp has issued an update to correct this vulnerability.”

Zero Day Initiative: published advisories

Sources

Affected / related

llama.cpp, llama.cpp, GGUF file parsing heap-based buffer overflow

Published 2026-11-24 06:00 UTC · updated 2026-11-24 20:06 UTC · AI-assisted summary, checked against quoted sources · How we score

Following

Follow the vendors, products, AI tools, techniques and actors you care about. Matching stories, CVEs and exploited bugs are marked, a Following tab appears in the feed, and returning visits show what changed. Saved only in this browser.

Presets

Get updates

A personal RSS feed of new stories on everything you follow. Paste it into any feed reader, Slack or Teams RSS app.