Skip to content
OpenAdvisories
High · 7.5 CVE-2026-52132 EUVD-2026-69410GHSA-rqxm-jx33-wrqr

llama.cpp through commit 97f06e9, when started with the --reranking flag, allows remote attackers to cause a denial of service (std::bad_al…

Published Sep 1, 2026 · Updated Sep 2, 2026 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 llama.cpp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 llama.cpp No fix yet —
Ubuntu 26.04 LTS llama.cpp No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed llamacpp 0.4.0-1.1 openSUSE-SU-2026:11720-1

Advisories 1

References