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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*
Rejoining the server...
Rejoin failed... trying again in seconds.
Failed to rejoin.Please retry or reload the page.
The session has been paused by the server.
Failed to resume the session.Please retry or reload the page.