- CVSS
- HIGH · 7.5v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2026-09-01
- Weakness
- CWE-674
- Source
- nvd.nist.gov/vuln/detail/CVE-2026-52132
Description
llama.cpp through commit 97f06e9, when started with the –reranking flag, allows remote attackers to cause a denial of service (std::bad_alloc and HTTP 500) via a negative top_n value in a POST request to /rerank.
References
How GTK Cyber trains on this
AI security training at GTK Cyber covers the LLM and ML-pipeline vulnerability classes that vulnerabilities like CVE-2026-52132 fall into. Our hands-on courses are taught by Charles Givre and other practitioners who break and defend production AI systems.