Out-of-Bounds Affecting ggml-org/ggml package, versions [,0.9.9)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.13% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-Bounds vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-GGMLORGGGML-15929054
  • published8 Apr 2026
  • disclosed1 Apr 2026
  • creditHeapSmasher

Introduced: 1 Apr 2026

CVE-2026-34159  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade ggml-org/ggml to version 0.9.9 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds in the deserialize_tensor() function of the RPC backend when the buffer field is set to 0, which causes all bounds validation to be skipped. An attacker can read and write arbitrary process memory and achieve remote code execution by sending crafted GRAPH_COMPUTE messages to the RPC server port.

Note:

This is only exploitable if the attacker has TCP access to the RPC server port.

CVSS Base Scores

version 4.0
version 3.1