{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.4.0"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "5266f24da75dc449bd56cbed7addb9c8e4a6a73e"
            }
          ],
          "repo": "https://github.com/ggml-org/llama.cpp",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52132.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "llama.cpp"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-52132",
  "modified": "2026-09-06T11:31:04.032210670Z",
  "published": "2026-09-01T00:00:00Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52132.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52132"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ggml-org/llama.cpp"
    },
    {
      "type": "ARTICLE",
      "url": "https://blog.ph4nt0m.xyz/ko/cves/cve-2026-52132/"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}