Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/vladimir-tokarev-cyera/llama-cpp-security-patches
Defensive ToolsVulnerability AnalysisSupply Chain SecurityAI Security
GitHubvladimir-tokarev-cyera/llama-cpp-security-patches

llama-cpp-security-patches

Security patches for unpatched llama.cpp vulnerabilities (CVE-2026-43626 through CVE-2026-43632) — Cyera Research

查看仓库

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
123天前尚未审核
内容在请求的语言中不可用。显示英文版本。

llama.cpp Security Patches

Security patches for unpatched vulnerabilities in llama.cpp, discovered by Cyera Research.

Background

Between July 2025 and June 2026, we reported 10 vulnerabilities to the llama.cpp project through GitHub Security Advisories and MITRE. All advisories were closed by the maintainer without fixes or CVE assignment. We submitted a public PR with patches in June 2026 — it was also closed without merging.

VulnCheck allocated 10 CVE IDs after both the vendor and MITRE failed to act. Three of the original IDs (CVE-2026-43623, CVE-2026-43624, CVE-2026-43626) were subsequently replaced by CVE-2026-70638, CVE-2026-70639, and CVE-2026-70640 respectively.

These patches are provided so that users and downstream projects can protect themselves.

Unpatched Vulnerabilities

CVECVSSVulnerabilityAffected File(s)Patch
CVE-2026-706407.3Android JNI race condition (UAF)ai_chat.cppCVE-2026-70640
CVE-2026-436278.5llama_batch_init() integer overflowllama-batch.cppCVE-2026-43627
CVE-2026-436288.5DRY sampler integer underflowllama-sampler.cpp, arg.cpp, server-task.cppCVE-2026-43628
CVE-2026-436299.2KV cache state buffer overflowllama-kv-cache.cppCVE-2026-43629
CVE-2026-436319.2Server sleep-idle use-after-freeserver-context.cpp, server-queue.cpp, server-queue.hCVE-2026-43631
CVE-2026-436329.2Server unbounded task creationserver-task.cpp, server-queue.cppCVE-2026-43632

Applying Patches

Apply a single fix:

root@kitploit:~
cd /path/to/llama.cpp
git apply /path/to/patches/CVE-2026-43631-server-sleep-uaf.patch

Apply all fixes at once:

root@kitploit:~
cd /path/to/llama.cpp
git apply /path/to/patches/all-fixes.patch

If git apply fails due to context changes in newer llama.cpp versions, try with --3way:

root@kitploit:~
git apply --3way /path/to/patches/all-fixes.patch

Disclosure Timeline

DateEvent
July 2025First vulnerability submitted via GitHub Security Advisory

Researchers

  • Vladimir Tokarev (@G1ND1L4) — Vulnerability Research Tech Lead, Cyera
  • Ofek Itach (@ofekitach) — Security Research Team Lead, Cyera

Related

  • DEF CON 34 Talk: Breaking Local AI Runtimes
  • Original PR with patches (closed)
下载工具
October 2025Contacted MITRE for CVE assignment — 7 request IDs received, none assigned
January–May 2026Four more advisories submitted — all closed without fixes
May 2026VulnCheck allocated 10 CVEs
June 2026Public PR with patches submitted — PR closed