PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-39909 ggml-org CVE debrief

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-21T17:16:30.810Z and has not been modified since then. The NVD entry is currently Received. CVE-2026-39909 is a use-after-free vulnerability in the RPC server's GRAPH_RECOMPUTE handler of llama.cpp before version b8585. This vulnerability allows unauthenticated remote attackers to achieve arbitrary read and write access by storing a computation graph, freeing referenced buffers, and reclaiming freed memory with attacker-controlled content. Attackers can send RPC requests to trigger re-execution of stored graphs with dangling pointers, enabling full remote code execution without requiring authentication or user interaction. Organizations and individuals using llama.cpp, especially those exposing the RPC server to untrusted networks or users, should prioritize patching to prevent potential remote code execution. This includes reviewing current deployments, assessing exposure, and ensuring that appropriate security measures are in place to protect against this vulnerability. Limited information is available about the specific conditions and vectors. To verify, defenders should review the official advisory, assess their exposure, and monitor for suspicious activity.

Vendor
ggml-org
Product
llama.cpp
CVSS
CRITICAL 9.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-21
Original CVE updated
2026-09-03
Advisory published
2026-08-21
Advisory updated
2026-09-03

Who should care

Organizations and individuals using llama.cpp, especially those exposing the RPC server to untrusted networks or users, should prioritize patching to prevent potential remote code execution. This includes reviewing current deployments, assessing exposure, and ensuring that appropriate security measures are in place to protect against this vulnerability.

Technical summary

CVE-2026-39909 is a use-after-free vulnerability in the RPC server's GRAPH_RECOMPUTE handler of llama.cpp before version b8585. This vulnerability allows unauthenticated remote attackers to achieve arbitrary read and write access by storing a computation graph, freeing referenced buffers, and reclaiming freed memory with attacker-controlled content. Attackers can send RPC requests to trigger re-execution of stored graphs with dangling pointers, enabling full remote code execution without requiring authentication or user interaction.

Defensive priority

Organizations using llama.cpp should prioritize patching to prevent potential remote code execution.

Recommended defensive actions

  • Apply the patch from https://github.com/ggml-org/llama.cpp/releases/tag/b8585
  • Restrict access to the RPC server to trusted parties
  • Monitor for suspicious RPC requests
  • Inventory llama.cpp installations for version b8585 or later
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE-2026-39909 record indicates a use-after-free vulnerability in llama.cpp before version b8585. The vulnerability is in the RPC server's GRAPH_RECOMPUTE handler, allowing unauthenticated remote attackers to achieve arbitrary read and write access. Limited information is available about the specific conditions and vectors. To verify, defenders should review the official advisory, assess their exposure, and monitor for suspicious activity.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-39909 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-39909

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-39909 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-39909

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.