UBUNTU-CVE-2025-64345

Source
https://ubuntu.com/security/CVE-2025-64345
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64345.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-64345
Upstream
Published
2025-11-13T00:00:00Z
Modified
2025-11-15T10:18:55.869348Z
Severity
  • 1.8 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Wasmtime is a runtime for WebAssembly. Prior to version 38.0.4, 37.0.3, 36.0.3, and 24.0.5, Wasmtime's Rust embedder API contains an unsound interaction where a WebAssembly shared linear memory could be viewed as a type which provides safe access to the host (Rust) to the contents of the linear memory. This is not sound for shared linear memories, which could be modified in parallel, and this could lead to a data race in the host. Patch releases have been issued for all supported versions of Wasmtime, notably: 24.0.5, 36.0.3, 37.0.3, and 38.0.4. These releases reject creation of shared memories via Memory::new and shared memories are now excluded from core dumps. As a workaround, eembeddings affected by this issue should use SharedMemory::new instead of Memory::new to create shared memories. Affected embeddings should also disable core dumps if they are unable to upgrade. Note that core dumps are disabled by default but the wasm threads proposal (and shared memory) is enabled by default.

References

Affected packages

Ubuntu:24.04:LTS / rust-wasmtime

Package

Name
rust-wasmtime
Purl
pkg:deb/ubuntu/rust-wasmtime@16.0.0+dfsg-3?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

10.*

10.0.1+dfsg-7

15.*

15.0.1+dfsg-4

16.*

16.0.0+dfsg-2
16.0.0+dfsg-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-cranelift-dev",
            "binary_version": "0.103.0+16.0.0+dfsg-3"
        }
    ]
}

Ubuntu:25.10 / rust-wasmtime

Package

Name
rust-wasmtime
Purl
pkg:deb/ubuntu/rust-wasmtime@26.0.1+dfsg-3?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

26.*

26.0.1+dfsg-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-cranelift-dev",
            "binary_version": "0.113.1+26.0.1+dfsg-3"
        }
    ]
}

Ubuntu:25.04 / rust-wasmtime

Package

Name
rust-wasmtime
Purl
pkg:deb/ubuntu/rust-wasmtime@26.0.1+dfsg-3?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

19.*

19.0.0+dfsg-3
19.0.0+dfsg-4

21.*

21.0.2+dfsg-1
21.0.2+dfsg-1.1
21.0.2+dfsg-3

23.*

23.0.3+dfsg-1

26.*

26.0.1+dfsg-1
26.0.1+dfsg-2
26.0.1+dfsg-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-cranelift-dev",
            "binary_version": "0.113.1+26.0.1+dfsg-3"
        }
    ]
}