Out-of-bounds Read Affecting wasmcloud package, versions <2.0.1-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.01% (1st 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 Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-WOLFILATEST-WASMCLOUD-15855266
  • published31 Mar 2026
  • disclosed27 Jan 2026

Introduced: 27 Jan 2026

CVE-2026-24116  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Wolfi wasmcloud to version 2.0.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream wasmcloud package and not the wasmcloud package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

Wasmtime is a runtime for WebAssembly. Starting in version 29.0.0 and prior to version 36.0.5, 40.0.3, and 41.0.1, on x86-64 platforms with AVX, Wasmtime's compilation of the f64.copysign WebAssembly instruction with Cranelift may load 8 more bytes than is necessary. When signals-based-traps are disabled this can result in a uncaught segfault due to loading from unmapped guard pages. With guard pages disabled it's possible for out-of-sandbox data to be loaded, but unless there is another bug in Cranelift this data is not visible to WebAssembly guests. Wasmtime 36.0.5, 40.0.3, and 41.0.1 have been released to fix this issue. Users are recommended to upgrade to the patched versions of Wasmtime. Other affected versions are not patched and users should updated to supported major version instead. This bug can be worked around by enabling signals-based-traps. While disabling guard pages can be a quick fix in some situations, it's not recommended to disabled guard pages as it is a key defense-in-depth measure of Wasmtime.

CVSS Base Scores

version 3.1