CVE-2025-14956: WebAssembly Binaryen wasm-binary.cpp readExport heap-based overflow

Published Dec 19, 2025
·
Updated

A vulnerability was determined in WebAssembly Binaryen up to 125. Affected by this issue is the function WasmBinaryReader::readExport of the file src/wasm/wasm-binary.cpp. This manipulation causes heap-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been publicly disclosed and may be utilized. Patch name: 4f52bff8c4075b5630422f902dd92a0af2c9f398. It is recommended to apply a patch to fix this issue.

Affected Software

7 affected componentsFixes available
webassembly/binaryen<=125
WebAssembly Binaryen<=125
alpine/binaryen<129-r0
129-r0
debian/binaryen*
debian/binaryen*
debian/binaryen<130-2
130-2
debian/binaryen<=108-1, <=120-4
131-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/binaryen to a version that resolves this vulnerability.

    Fixed in 129-r0
  2. Upgrade

    Upgrade debian/binaryen to a version that resolves this vulnerability.

    Fixed in 130-2
  3. Upgrade

    Upgrade debian/binaryen to a version that resolves this vulnerability.

    Fixed in 131-2
  4. Upgrade

    Upgrade WebAssembly Binaryen to a version that resolves this vulnerability.

    Patch 4f52bff8c4075b5630422f902dd92a0af2c9f398

Event History

Dec 19, 2025
CVE Published
via MITRE·04:32 PM
Data Sourced
via MITRE·04:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·05:15 PM
DescriptionSeverityAffected Software
Event
via NVD·05:15 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-14956?

CVE-2025-14956 is categorized as a medium severity vulnerability due to its potential to cause a heap-based buffer overflow.

2

How do I fix CVE-2025-14956?

To fix CVE-2025-14956, upgrade WebAssembly Binaryen to version 126 or later.

3

What software is affected by CVE-2025-14956?

CVE-2025-14956 affects WebAssembly Binaryen versions up to and including 125.

4

Can CVE-2025-14956 be exploited remotely?

CVE-2025-14956 requires local access to the host to exploit the vulnerability.

5

What is the nature of the vulnerability in CVE-2025-14956?

CVE-2025-14956 involves a heap-based buffer overflow in the WasmBinaryReader::readExport function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203