CVE-2026-52132
Published Sep 1, 2026
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.
Is your site exposed to CVE-2026-52132?
Run a free security scan — no signup, results in seconds.
References
Frequently Asked Questions
What is CVE-2026-52132? +
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.
How do I check if I'm vulnerable to CVE-2026-52132? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.