{"schemaVersion":4,"id":"CVE-2023-41880","aliases":["UBUNTU-CVE-2023-41880","DEBIAN-CVE-2023-41880","GHSA-gw5p-q8mj-p7gh","RUSTSEC-2023-0091"],"status":"published","duplicateOf":null,"title":"Miscompilation of wasm `i64x2.shr_s` instruction with constant input on x86_64","description":"Wasmtime is a standalone runtime for WebAssembly. Wasmtime versions from 10.0.0 to versions 10.02, 11.0.2, and 12.0.1 contain a miscompilation of the WebAssembly `i64x2.shr_s` instruction on x86_64 platforms when the shift amount is a constant value that is larger than 32. Only x86_64 is affected so all other targets are not affected by this. The miscompilation results in the instruction producing an incorrect result, namely the low 32-bits of the second lane of the vector are derived from the low 32-bits of the second lane of the input vector instead of the high 32-bits. The primary impact of this issue is that any WebAssembly program using the `i64x2.shr_s` with a constant shift amount larger than 32 may produce an incorrect result.\n\nThis issue is not an escape from the WebAssembly sandbox. Execution of WebAssembly guest programs will still behave correctly with respect to memory sandboxing and isolation from the host. Wasmtime considers non-spec-compliant behavior as a security issue nonetheless.\n\nThis issue was discovered through fuzzing of Wasmtime's code generator Cranelift.\n\nWasmtime versions 10.0.2, 11.0.2, and 12.0.2 are all patched to no longer have this miscompilation. This issue only affects x86_64 hosts and the only workaround is to either scan for this pattern in wasm modules which is nontrivial or to disable the SIMD proposal for WebAssembly. Users prior to 10.0.0 are unaffected by this vulnerability.","dates":{"published":"2023-09-15T19:43:41.850Z","modified":"2024-09-24T18:13:31.648Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.2,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":2.2,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","exploitability":1.8,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":2.2,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","exploitability":1.8,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00672,"percentile":0.53475,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00672},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00605,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00672,"percentile":0.53475}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00672,"percentile":0.53475}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-193","name":"Off-by-one Error","description":"A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/193.html"}],"affected":[{"vendor":"bytecodealliance","product":"wasmtime","name":"wasmtime","label":"wasmtime","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 10.0.0, < 10.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"10.0.0","startInclusive":true,"end":"10.0.2","endInclusive":false}},{"text":"≥ 11.0.0, < 11.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"11.0.0","startInclusive":true,"end":"11.0.2","endInclusive":false}},{"text":"≥ 12.0.0, < 12.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"12.0.0","startInclusive":true,"end":"12.0.2","endInclusive":false}}],"versionsText":"≥ 10.0.0, < 10.0.2 | ≥ 11.0.0, < 11.0.2 | ≥ 12.0.0, < 12.0.2","eol":null,"hubHref":"/vendor/bytecodealliance/wasmtime"},{"vendor":"Crates.Io","product":"wasmtime","name":"wasmtime","label":"wasmtime","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/wasmtime","purlType":"cargo","versions":[{"text":"≥ 10.0.0, < 10.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"10.0.0","startInclusive":true,"end":"10.0.2","endInclusive":false}},{"text":"≥ 11.0.0, < 11.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"11.0.0","startInclusive":true,"end":"11.0.2","endInclusive":false}},{"text":"≥ 12.0.0, < 12.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"12.0.0","startInclusive":true,"end":"12.0.2","endInclusive":false}}],"versionsText":"≥ 10.0.0, < 10.0.2 | ≥ 11.0.0, < 11.0.2 | ≥ 12.0.0, < 12.0.2","eol":null,"hubHref":null},{"vendor":"debian","product":"rust-wasmtime","name":"rust-wasmtime","label":"rust-wasmtime","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rust-wasmtime","purlType":"deb","versions":[{"text":"< 15.0.0+dfsg-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"15.0.0+dfsg-1","endInclusive":false}}],"versionsText":"< 15.0.0+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rust-wasmtime","name":"rust-wasmtime","label":"rust-wasmtime","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rust-wasmtime","purlType":"deb","versions":[{"text":"< 16.0.0+dfsg-3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"16.0.0+dfsg-3","endInclusive":false}}],"versionsText":"< 16.0.0+dfsg-3","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-gw5p-q8mj-p7gh","label":"github.com/bytecodealliance/wasmtime/security/advisories/GHSA-gw5p-q8mj-p7gh","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Vendor Advisory"]},{"url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-gw5p-q8mj-p7gh#:~:text=Mailing%20list%20announcement","label":"github.com/bytecodealliance/wasmtime/security/advisories/GHSA-gw5p-q8mj-p7gh","hostname":"github.com","tags":["X Refsource MISC","WEB","Vendor Advisory"]},{"url":"https://github.com/bytecodealliance/wasmtime/pull/6372","label":"github.com/bytecodealliance/wasmtime/pull/6372","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Product"]},{"url":"https://github.com/bytecodealliance/wasmtime/commit/8d7eda15b0badcbea83a7aac2d08f80788b59240","label":"github.com/bytecodealliance/wasmtime/commit/8d7eda15b0badcbea83a7aac2d08f80788b59240","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.wasm_simd","label":"docs.rs/wasmtime/latest/wasmtime/struct.Config.html","hostname":"docs.rs","tags":["X Refsource MISC","WEB","Product"]},{"url":"https://ubuntu.com/security/CVE-2023-41880","label":"ubuntu.com/security/CVE-2023-41880","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-41880","label":"www.cve.org/CVERecord?id=CVE-2023-41880","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2023-0091.html","label":"rustsec.org/advisories/RUSTSEC-2023-0091.html","hostname":"rustsec.org","tags":["REPORT","WEB","Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-41880","label":"security-tracker.debian.org/tracker/CVE-2023-41880","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-41880","label":"nvd.nist.gov/vuln/detail/CVE-2023-41880","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/bytecodealliance/wasmtime","label":"github.com/bytecodealliance/wasmtime","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://crates.io/crates/wasmtime","label":"crates.io/crates/wasmtime","hostname":"crates.io","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-09-15T19:43:41.850Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-24T18:13:31.648Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 2.2, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,22],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00672,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2024-09-24T18:13:31.648Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":2.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","version":"3.1","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2024-09-24T18:13:31.648Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":2.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2024-09-24T18:13:31.648Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_crates.io","date":"2024-09-24T18:13:31.648Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":2.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-09-24T18:13:31.648Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2024-09-24T18:02:46.344Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00672,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T11:16:59.273Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T11:16:59.802Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T11:16:59.995Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T11:01:01.512Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T11:16:57.726Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T11:16:56.764Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T11:18:32.161Z","stale":false,"partial":false}}