Incorrect Calculation of Multi-Byte String Length Affecting rust-std-static-wasm32-unknown-unknown package, versions <0:1.94.0-1.amzn2023.0.2


Severity

Recommended
medium

Based on Amazon Linux security rating.

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 IDSNYK-AMZN2023-RUSTSTDSTATICWASM32UNKNOWNUNKNOWN-16068073
  • published15 Apr 2026
  • disclosed26 Jan 2026

Introduced: 26 Jan 2026

CVE-2026-0810  (opens in a new tab)
CWE-135  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 rust-std-static-wasm32-unknown-unknown to version 0:1.94.0-1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2026-1568.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-std-static-wasm32-unknown-unknown package and not the rust-std-static-wasm32-unknown-unknown package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

A flaw was found in gix-date. The gix_date::parse::TimeBuf::as_str function can generate strings containing invalid non-UTF8 characters. This issue violates the internal safety invariants of the TimeBuf component, leading to undefined behavior when these malformed strings are subsequently processed. This could potentially result in application instability or other unforeseen consequences.

CVSS Base Scores

version 3.1