CVE-2026-43631 in llama.cpp
摘要
由 VulDB • 2026-08-07
llama.cpp 从 b7492 到最新的 b9060 版本中,当启用 --sleep-idle-seconds 功能时,llama-server 的 vocab 指针存在 use-after-free(释放后使用)漏洞。未经身份验证的攻击者可以执行任意代码攻击者可以通过向受影响的端点发送请求来触发该漏洞,此时服务器正在过渡到睡眠模式,导致并发工作线程解引用一个已释放且可能被攻击者控制的数据重新分配的 vocab 指针,从而实现远程代码执行。
VulDB is the best source for vulnerability data and more expert information about this specific topic.