Lucene search
K

Miscompilation of `i8x16.select` with the same inputs on x86\_64

🗓️ 03 Mar 2023 12:00:00Reported by rustsecType 
rustsec
 rustsec
🔗 rustsec.org👁 1 Views

Miscompilation of i8x16.select with identical inputs on x86_64 in Wasmtime advisory.

Related
Detection
ReporterTitlePublishedViews
Family
CBLMariner
CVE-2023-27477 affecting package rust for versions less than 1.68.2-2
25 May 202309:38
cbl_mariner
Chainguard
CVE-2023-27477 vulnerabilities
8 Mar 202321:15
cgr
Circl
CVE-2023-27477
9 Mar 202300:23
circl
CNNVD
Wasmtime 安全漏洞
8 Mar 202300:00
cnnvd
CVE
CVE-2023-27477
8 Mar 202300:00
cve
Cvelist
CVE-2023-27477
8 Mar 202300:00
cvelist
Debian CVE
CVE-2023-27477
8 Mar 202300:00
debiancve
EUVD
EUVD-2023-1143
3 Oct 202520:07
euvd
Github Security Blog
wasmtime vulnerable to miscompilation of `i8x16.select` with the same inputs on x86_64
9 Mar 202300:09
github
Microsoft CVE
wasmtime is a fast and secure runtime for WebAssembly. Wasmtime's code generation backend Cranelift has a bug on x86_64 platforms for the WebAssembly `i8x16.select` instruction which will produce the wrong results when the same operand is provided to the instruction and some of the selected indices are greater than 16. There is an off-by-one error in the calculation of the mask to the `pshufb` instruction which causes incorrect results to be returned if lanes are selected from the second vector. This codegen bug has been fixed in Wasmtiem 6.0.1 5.0.1 and 4.0.1. Users are recommended to upgrade to these updated versions. If upgrading is not an option for you at this time you can avoid this miscompilation by disabling the Wasm simd proposal. Additionally the bug is only present on x86_64 hosts. Other platforms such as AArch64 and s390x are not affected.
3 Apr 202307:00
mscve
Rows per page
Vulners
Node
bytecodealliancewasmtimeRange0.0.04.0.1rust
OR
bytecodealliancewasmtimeRange5.0.05.0.1rust
OR
bytecodealliancewasmtimeRange6.0.06.0.1rust

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

02 May 2025 08:23Current
7High risk
Vulners AI Score7
CVSS 3.13.1 - 4.3
EPSS0.00474
SSVC
1