CVE-2025-47153: out-of-bounds access in some 32-bit builds of Node.js

Published Jul 14, 2024
·
Updated

Certain build processes for libuv and Node.js for 32-bit systems, such as for the nodejs binary package through nodejs20.19.0+dfsg-2i386.deb for Debian GNU/Linux, have an inconsistent offt size (e.g., building on i386 Debian always uses FILEOFFSETBITS=64 for the libuv dynamic library, but uses the FILEOFFSETBITS global system default of 32 for nodejs), leading to out-of-bounds access. NOTE: this is not a problem in the Node.js software itself. In particular, the Node.js website's download page does not offer prebuilt Node.js for Linux on i386.

Affected Software

3 affected componentsFixes available
Node.js Node.js
debian/nodejs<=18.19.0+dfsg-6~deb12u2, <=20.19.0+dfsg-2
debian/nodejs
18.20.4+dfsg-1~deb12u218.20.4+dfsg-1~deb12u320.19.2+dfsg-1+deb13u220.19.2+dfsg-1+deb13u324.21.0+dfsg+~cs24.13.4-124.22.2+dfsg+~cs24.19.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 18.20.4+dfsg-1~deb12u2Fixed in 18.20.4+dfsg-1~deb12u3Fixed in 20.19.2+dfsg-1+deb13u2Fixed in 20.19.2+dfsg-1+deb13u3Fixed in 24.21.0+dfsg+~cs24.13.4-1Fixed in 24.22.2+dfsg+~cs24.19.2-1

Event History

May 1, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 AM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-47153?

CVE-2025-47153 has been categorized as a moderate severity vulnerability due to the inconsistencies in data types that could lead to application errors.

2

How do I fix CVE-2025-47153?

To fix CVE-2025-47153, ensure you are using the latest versions of Node.js or libuv that address the off_t size inconsistency.

3

What systems are affected by CVE-2025-47153?

CVE-2025-47153 primarily affects 32-bit systems, particularly Debian GNU/Linux when building the nodejs binary package.

4

What are the potential impacts of CVE-2025-47153?

The potential impacts of CVE-2025-47153 include undefined behavior and application crashes due to inconsistent off_t sizes.

5

Is CVE-2025-47153 a remote code execution vulnerability?

CVE-2025-47153 is not classified as a remote code execution vulnerability but can lead to unexpected behaviors in programs that rely on consistent file size handling.

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