Security Advisory

CVE-2026-52132

7.5
HIGH

Vulnerability 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.
Published Date September 1, 2026
Official Source NIST NVD Advisory