# CVE-2025-58749: WAMR runtime hangs or crashes with large memory.fill addresses in LLVM-JIT mode

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.1
- **CVSS:** 2.1 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.45% (percentile 31, 2026-11-26)
- **CWE:** CWE-822, CWE-190
- **Published:** 2025-09-16T15:53:35.345Z
- **Modified:** 2026-06-17T09:44:52.203Z

## Who should check

- Anyone running bytecodealliance wasm-micro-runtime \< 2.4.2

## Description

WebAssembly Micro Runtime (WAMR) is a lightweight standalone WebAssembly (Wasm) runtime. In WAMR versions prior to 2.4.2, when running in LLVM-JIT mode, the runtime cannot exit normally when executing WebAssembly programs containing a memory.fill instruction where the first operand (memory address pointer) is greater than or equal to 2147483648 bytes (2GiB). This causes the runtime to hang in release builds or crash in debug builds due to accessing an invalid pointer. The issue does not occur in FAST-JIT mode or other runtime tools. This has been fixed in version 2.4.2.

## Affected and fixed versions

- bytecodealliance wasm-micro-runtime: \< 2.4.2 (cvelist)

## Mitigation

- Upgrade wasm-micro-runtime to 2.4.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-58749. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-58749.md
Affected: bytecodealliance wasm-micro-runtime < 2.4.2
Fixed in: bytecodealliance wasm-micro-runtime 2.4.2

Steps:
1. Search this machine and project for bytecodealliance wasm-micro-runtime: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-58749 being exploited?

There is no confirmed exploitation: CVE-2025-58749 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-58749?

Low: CVSS 2.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-58749?

bytecodealliance wasm-micro-runtime \< 2.4.2.

### Is there a fix for CVE-2025-58749?

Yes. Fixed in bytecodealliance wasm-micro-runtime 2.4.2. Upgrade wasm-micro-runtime to 2.4.2 or later.

### How do I check if I'm affected by CVE-2025-58749?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/bytecodealliance/wasm-micro-runtime/security/advisories/GHSA-xj5p-r8jq-pw47>
- patch: <https://github.com/bytecodealliance/wasm-micro-runtime/commit/95f506a6e77d3ac7588eac7263f95558edfa7f3b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-58749>

HTML: <https://flawdb.com/CVE-2025-58749> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-58749>
