Out-of-bounds Read Affecting wasmtime package, versions >=29.0.0 <36.0.5>=37.0.0 <40.0.3>=41.0.0 <41.0.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. 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-RUST-WASMTIME-15123974
  • published28 Jan 2026
  • disclosed27 Jan 2026
  • creditLouis Merlin

Introduced: 27 Jan 2026

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

How to fix?

Upgrade wasmtime to version 36.0.5, 40.0.3, 41.0.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read in f64.copysign, on x86-64 platforms with AVX, which may load more bytes than necessary from memory. An attacker can cause the host process to terminate unexpectedly by triggering an uncaught segmentation fault when specific configuration options are set. This is only exploitable if guard pages are enabled and signals-based-traps are disabled.

Workaround

This vulnerability can be mitigated by enabling signals-based-traps.

CVSS Base Scores

version 4.0
version 3.1