Improper Validation of Array Index Affecting tree-sitter-devel package, versions <0.26.8-160000.1.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.42% (34th 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 IDSNYK-SLES1600-TREESITTERDEVEL-16962321
  • published28 May 2026
  • disclosed14 May 2026

Introduced: 14 May 2026

CVE-2026-34942  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

Upgrade SLES:16.0.0 tree-sitter-devel to version 0.26.8-160000.1.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tree-sitter-devel package and not the tree-sitter-devel package as distributed by SLES. See How to fix? for SLES:16.0.0 relevant fixed versions and status.

Wasmtime is a runtime for WebAssembly. Prior to 24.0.7, 36.0.7, 42.0.2, and 43.0.1, Wasmtime's implementation of transcoding strings into the Component Model's utf16 or latin1+utf16 encodings improperly verified the alignment of reallocated strings. This meant that unaligned pointers could be passed to the host for transcoding which would trigger a host panic. This panic is possible to trigger from malicious guests which transfer very specific strings across components with specific addresses. Host panics are considered a DoS vector in Wasmtime as the panic conditions are controlled by the guest in this situation. This vulnerability is fixed in 24.0.7, 36.0.7, 42.0.2, and 43.0.1.

CVSS Base Scores

version 3.1