# CVE-2025-54126: WebAssembly Micro Runtime's \`--addr-pool\` option allows all IPv4 addresses when subnet mask is not specified

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

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: Low; 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:** Remote, no login needed
- **EPSS:** 0.72% (percentile 50, 2026-11-26)
- **CWE:** CWE-668
- **Published:** 2025-07-29T21:52:36.253Z
- **Modified:** 2026-06-17T09:39:29.810Z

## Who should check

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

## Description

The WebAssembly Micro Runtime's (WAMR) iwasm package is the executable binary built with WAMR VMcore which supports WebAssembly System Interface (WASI) and command line interface. In versions 2.4.0 and below, iwasm uses --addr-pool with an IPv4 address that lacks a subnet mask, allowing the system to accept all IP addresses. This can unintentionally expose the service to all incoming connections and bypass intended access restrictions. Services relying on --addr-pool for restricting access by IP may unintentionally become open to all external connections. This may lead to unauthorized access in production deployments, especially when users assume that specifying an IP without a subnet mask implies a default secure configuration. This is fixed in version 2.4.1.

## Affected and fixed versions

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

## Mitigation

- Upgrade wasm-micro-runtime to 2.4.1 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-54126. Work read-only: do not install, upgrade, delete or change anything.

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

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-54126 being exploited?

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

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

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.

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

bytecodealliance wasm-micro-runtime \< 2.4.1.

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

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

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

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-vh64-mfvw-pxqp>
- patch: <https://github.com/bytecodealliance/wasm-micro-runtime/commit/121232a9957a069bbb04ebda053bdc72ab409e7a>
- other: <https://github.com/bytecodealliance/wasm-micro-runtime/releases/tag/WAMR-2.4.1>

## 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-54126>

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