Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

ggerganov/llama.cpp
master @ f1793c1
47
Fixes
0
CVEs
CRITICAL
Peak severity
41.7%
Coverage
Highlights
Denial of Service: 16 prior fixes. Scrutinize any change in this area.
common/json-schema-to-grammar.cpp: most-fixed (3 issues). Treat as high-risk during review.
27 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Denial of Service: Multiple fixes address malformed RPC messages causing aborts, division by zero, and out-of-bounds writes; remote attack surface.
Buffer Overflow: GGUF loading has had multiple bounds/overflow fixes; crafted model files are a primary attack vector.
Path Traversal: File search and edit functions repeatedly lacked canonicalization and symlink guards; server exposes these to remote users.