{
 "id": "AIR-2026-1321",
 "slug": "llama-cpp-vulnerable-to-denial-of-service-via-negative-top-n",
 "title": "llama.cpp vulnerable to denial of service via negative top_n reranking value",
 "summary": "The llama.cpp framework when started with the reranking flag allows remote attackers to cause a denial of service via a negative top_n value in POST requests. The issue results in std::bad_alloc errors and HTTP 500 status codes.",
 "type": "attack_on_ai",
 "categories": [
  "infra_vuln"
 ],
 "severity": 2,
 "targets": [
  "framework_or_tooling"
 ],
 "products": [
  "llama.cpp"
 ],
 "incident_date": "2026-09-01",
 "incident_date_precision": "day",
 "first_reported": "2026-09-01",
 "sources": [
  {
   "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52132",
   "publisher": "NVD",
   "title": "CVE-2026-52132: llama.cpp through commit 97f06e9, when started with the --reranking flag, allows remote attackers to cause a denial of service…",
   "published_at": "2026-09-01"
  }
 ],
 "source_count": 1,
 "confidence": 0.95,
 "status": "published",
 "origin": "seed_nvd",
 "tags": [
  "CVE-2026-52132",
  "denial-of-service"
 ],
 "created_at": "2026-10-18T10:04:21.885Z",
 "updated_at": "2026-10-18T10:04:21.885Z"
}
