CVE catalog

CVE-2025-23165

nodejs: CVE-2025-23165

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.56% · Oct 25, 2026

In Node.js, the `ReadFileUtf8` internal binding leaks memory due to a corrupted pointer in `uv_fs_s.file`: a UTF-16 path buffer is allocated but subsequently overwritten when the file descriptor is set. This results in an unrecoverable memory leak on every call. Repeated use can cause unbounded memory growth, leading to a denial of service. Impact: * This vulnerability affects APIs relying on `ReadFileUtf8` on Node.js release lines: v20 and v22.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannodejssid24.22.1+dfsg+~cs24.19.2-1fixed
Debiannodejsforky24.21.0+dfsg+~cs24.13.4-1fixed
Debiannodejstrixie20.19.2+dfsg-1+deb13u2fixed
Debiannodejstrixie-security20.19.2+dfsg-1+deb13u3fixed
Debiannodejsbookworm18.20.4+dfsg-1~deb12u2not affected
Debiannodejsbookworm-security18.20.4+dfsg-1~deb12u3not affected
Alpinenodejs3.2122.15.1-r0fixed
Opensusenodejs22tumbleweed22.15.1-1.1fixed
Susenodejs20linux enterprise module for web and scripting 15 sp620.19.2-150600.3.12.1fixed
Opensusenodejs20leap 15.620.19.2-150600.3.12.1fixed
Susenodejs20linux enterprise high performance computing 15 sp5-espos20.19.2-150500.11.21.1fixed
Susenodejs20linux enterprise high performance computing 15 sp5-ltss20.19.2-150500.11.21.1fixed
Susenodejs20linux enterprise server 15 sp5-ltss20.19.2-150500.11.21.1fixed
Susenodejs20linux enterprise server for sap applications 15 sp520.19.2-150500.11.21.1fixed
Susenodejs22linux enterprise module for web and scripting 15 sp622.15.1-150600.13.9.1fixed
Opensusenodejs22leap 15.622.15.1-150600.13.9.1fixed
Susenodejs22linux enterprise module for web and scripting 15 sp722.15.1-150700.3.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannodejssourcesid20.19.2+dfsg-1not yet assignedNot reported[1105832]
Debiannodejssourceforky20.19.2+dfsg-1not yet assignedNot reported[1105832]
Debiannodejssourcetrixie20.19.2+dfsg-1not yet assignedNot reported[1105832]
DebiannodejssourcebookwormNot affectedunimportantNot reported[1105832]
Alpinenodejsapk3.2122.15.1-r0Not reportedALPINE-CVE-2025-23165Not reported
Opensusenodejs22rpmtumbleweed22.15.1-1.1Not reportedOPENSUSE-SU-2025:15250-1Not reported
Susenodejs20rpmlinux enterprise module for web and scripting 15 sp620.19.2-150600.3.12.1Not reportedSUSE-SU-2025:02045-1Not reported
Opensusenodejs20rpmleap 15.620.19.2-150600.3.12.1Not reportedSUSE-SU-2025:02045-1Not reported
Susenodejs20rpmlinux enterprise high performance computing 15 sp5-espos20.19.2-150500.11.21.1Not reportedSUSE-SU-2025:02039-1Not reported
Susenodejs20rpmlinux enterprise high performance computing 15 sp5-ltss20.19.2-150500.11.21.1Not reportedSUSE-SU-2025:02039-1Not reported
Susenodejs20rpmlinux enterprise server 15 sp5-ltss20.19.2-150500.11.21.1Not reportedSUSE-SU-2025:02039-1Not reported
Susenodejs20rpmlinux enterprise server for sap applications 15 sp520.19.2-150500.11.21.1Not reportedSUSE-SU-2025:02039-1Not reported
Susenodejs22rpmlinux enterprise module for web and scripting 15 sp622.15.1-150600.13.9.1Not reportedSUSE-SU-2025:01878-1Not reported
Opensusenodejs22rpmleap 15.622.15.1-150600.13.9.1Not reportedSUSE-SU-2025:01878-1Not reported
Susenodejs22rpmlinux enterprise module for web and scripting 15 sp722.15.1-150700.3.3.1Not reportedSUSE-SU-2025:01879-1Not reported

[Debian bug #1105832]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libnode108]Not affected

    Source package: [nodejs]

    Details (4)
    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm

      Not affected

      dsa · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm

      Not affected

      dsa · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm-security

      Not affected

      dsa · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm-security

      Not affected

      dsa · nodejs · debian · bookworm

  • [libnode-dev]Not affected

    Source package: [nodejs]

    Details (4)
    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm

      Not affected

      dsa · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm

      Not affected

      dsa · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm-security

      Not affected

      dsa · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm-security

      Not affected

      dsa · nodejs · debian · bookworm

  • [nodejs]Not affected
    Details (4)
    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm

      Not affected

      dsa · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm

      Not affected

      dsa · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm-security

      Not affected

      dsa · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm-security

      Not affected

      dsa · nodejs · debian · bookworm

  • [nodejs-doc]Not affected

    Source package: [nodejs]

    Details (4)
    • 18.20.4+dfsg-1~deb12u2 · all · bookworm

      Not affected

      dsa · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · all · bookworm

      Not affected

      dsa · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · all · bookworm-security

      Not affected

      dsa · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · all · bookworm-security

      Not affected

      dsa · nodejs · debian · bookworm

[Debian 13 (Trixie)]

  • [libnode115]Fixed

    Source package: [nodejs]

    Details (5)
    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

  • Source package: [nodejs]

    Details (5)
    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

  • [nodejs]Fixed
    Details (5)
    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

  • [nodejs-doc]Fixed

    Source package: [nodejs]

    Details (5)
    • 20.19.2+dfsg-1+deb13u2 · all · trixie

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · all · trixie

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · all · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · all · trixie-security · Historical version

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u3 · all · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1

      dsa · nodejs · debian · 13

Observed:

References