CVE catalog

CVE-2018-12115

nodejs: CVE-2018-12115

[CVE catalog]

Severity
High · CVSS 8.1CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
7.88% · Oct 25, 2026

In all versions of Node.js prior to 6.14.4, 8.11.4 and 10.9.0 when used with UCS-2 encoding (recognized by Node.js under the names `'ucs2'`, `'ucs-2'`, `'utf16le'` and `'utf-16le'`), `Buffer#write()` can be abused to write outside of the bounds of a single `Buffer`. Writes that start from the second-to-last position of a buffer cause a miscalculation of the maximum length of the input bytes to be written.

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~deb12u2fixed
Debiannodejsbookworm-security18.20.4+dfsg-1~deb12u3fixed
Cpenode.jsNot reported10.9.0fixed
Cpeopenshift_container_platformNot reportedNot reportedunknown
Alpinenodejs3.108.11.4-r0fixed
Alpinenodejs3.118.11.4-r0fixed
Alpinenodejs3.128.11.4-r0fixed
Alpinenodejs3.138.11.4-r0fixed
Alpinenodejs3.148.11.4-r0fixed
Alpinenodejs3.158.11.4-r0fixed
Alpinenodejs3.168.11.4-r0fixed
Alpinenodejs3.178.11.4-r0fixed
Alpinenodejs3.188.11.4-r0fixed
Alpinenodejs3.198.11.4-r0fixed
Alpinenodejs3.208.11.4-r0fixed
Alpinenodejs3.218.11.4-r0fixed
Alpinenodejs3.228.11.4-r0fixed
Alpinenodejs3.238.11.4-r0fixed
Alpinenodejs3.248.11.4-r0fixed
Alpinenodejs3.88.11.4-r0fixed
Alpinenodejs3.98.11.4-r0fixed
Ubuntunodejspro6.11.4~dfsg-1ubuntu1vulnerable
Ubuntunodejspro6.11.4~dfsg-1ubuntu2vulnerable
Ubuntunodejspro6.12.0~dfsg-1ubuntu1vulnerable
Ubuntunodejspro6.12.0~dfsg-2ubuntu1vulnerable
Ubuntunodejspro6.12.0~dfsg-2ubuntu2vulnerable
Ubuntunodejspro8.10.0~dfsg-2vulnerable
Ubuntunodejspro8.10.0~dfsg-2ubuntu0.2vulnerable
Ubuntunodejspro8.10.0~dfsg-2ubuntu0.3vulnerable
Ubuntunodejspro8.10.0~dfsg-2ubuntu0.4vulnerable
Ubuntunodejspro8.10.0~dfsg-2ubuntu0.4+esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannodejssourcesid10.15.0~dfsg-6unimportantNot reportedNot reported
Debiannodejssourceforky10.15.0~dfsg-6unimportantNot reportedNot reported
Debiannodejssourcetrixie10.15.0~dfsg-6unimportantNot reportedNot reported
Debiannodejssourcebookworm10.15.0~dfsg-6unimportantNot reportedNot reported
Cpenode.jscpeNot reported10.9.0Not reportedNVD-CVE-2018-12115Not reported
Alpinenodejsapk3.108.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Alpinenodejsapk3.118.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Alpinenodejsapk3.128.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Alpinenodejsapk3.138.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Alpinenodejsapk3.148.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Alpinenodejsapk3.158.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Alpinenodejsapk3.168.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Alpinenodejsapk3.178.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Alpinenodejsapk3.188.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Alpinenodejsapk3.198.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Alpinenodejsapk3.208.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Alpinenodejsapk3.218.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Alpinenodejsapk3.228.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Alpinenodejsapk3.238.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Alpinenodejsapk3.248.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Alpinenodejsapk3.88.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Alpinenodejsapk3.98.11.4-r0Not reportedALPINE-CVE-2018-12115Not reported
Ubuntunodejsdebpro8.10.0~dfsg-2ubuntu0.4+esm1Not reportedUBUNTU-CVE-2018-12115Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libnode108]Unknown

    Source package: [nodejs]

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

      Fixed · Fixed: 10.15.0~dfsg-6

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 10.15.0~dfsg-6

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 10.15.0~dfsg-6

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 10.15.0~dfsg-6

      dsa · nodejs · debian · bookworm

  • [libnode-dev]Unknown

    Source package: [nodejs]

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

      Fixed · Fixed: 10.15.0~dfsg-6

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 10.15.0~dfsg-6

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 10.15.0~dfsg-6

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 10.15.0~dfsg-6

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 10.15.0~dfsg-6

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 10.15.0~dfsg-6

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 10.15.0~dfsg-6

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 10.15.0~dfsg-6

      dsa · nodejs · debian · bookworm

  • [nodejs-doc]Unknown

    Source package: [nodejs]

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

      Fixed · Fixed: 10.15.0~dfsg-6

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 10.15.0~dfsg-6

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 10.15.0~dfsg-6

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 10.15.0~dfsg-6

      dsa · nodejs · debian · bookworm

Observed:

References