HighVulnerabilityLLM-specific
CVE-2026-33298: llama.cpp integer overflow in ggml_nbytes via crafted GGUF file
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-33298
- Published
- Record updated
- Fixed in
- The source references a patch, a mitigation or a vendor advisory.
Summary
CVE-2026-33298 affects llama.cpp versions prior to b7824. An integer overflow in the `ggml_nbytes` function lets an attacker craft a GGUF file with specific tensor dimensions that bypass memory validation, so `ggml_nbytes` returns a much smaller size than required (for example 4MB instead of Exabytes). The application then suffers a heap-based buffer overflow when it processes the tensor, which allows potential Remote Code Execution via memory corruption.
Mitigation
Fixed in b7824.
Topics
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online