
CVE catalog
CVE-2018-12115
nodejs: CVE-2018-12115
- Severity
- High · CVSS 8.1
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nodejs | sid | 24.22.1+dfsg+~cs24.19.2-1 | fixed |
| Debian | nodejs | forky | 24.21.0+dfsg+~cs24.13.4-1 | fixed |
| Debian | nodejs | trixie | 20.19.2+dfsg-1+deb13u2 | fixed |
| Debian | nodejs | trixie-security | 20.19.2+dfsg-1+deb13u3 | fixed |
| Debian | nodejs | bookworm | 18.20.4+dfsg-1~deb12u2 | fixed |
| Debian | nodejs | bookworm-security | 18.20.4+dfsg-1~deb12u3 | fixed |
| Cpe | node.js | Not reported | 10.9.0 | fixed |
| Cpe | openshift_container_platform | Not reported | Not reported | unknown |
| Alpine | nodejs | 3.10 | 8.11.4-r0 | fixed |
| Alpine | nodejs | 3.11 | 8.11.4-r0 | fixed |
| Alpine | nodejs | 3.12 | 8.11.4-r0 | fixed |
| Alpine | nodejs | 3.13 | 8.11.4-r0 | fixed |
| Alpine | nodejs | 3.14 | 8.11.4-r0 | fixed |
| Alpine | nodejs | 3.15 | 8.11.4-r0 | fixed |
| Alpine | nodejs | 3.16 | 8.11.4-r0 | fixed |
| Alpine | nodejs | 3.17 | 8.11.4-r0 | fixed |
| Alpine | nodejs | 3.18 | 8.11.4-r0 | fixed |
| Alpine | nodejs | 3.19 | 8.11.4-r0 | fixed |
| Alpine | nodejs | 3.20 | 8.11.4-r0 | fixed |
| Alpine | nodejs | 3.21 | 8.11.4-r0 | fixed |
| Alpine | nodejs | 3.22 | 8.11.4-r0 | fixed |
| Alpine | nodejs | 3.23 | 8.11.4-r0 | fixed |
| Alpine | nodejs | 3.24 | 8.11.4-r0 | fixed |
| Alpine | nodejs | 3.8 | 8.11.4-r0 | fixed |
| Alpine | nodejs | 3.9 | 8.11.4-r0 | fixed |
| Ubuntu | nodejs | pro | 6.11.4~dfsg-1ubuntu1 | vulnerable |
| Ubuntu | nodejs | pro | 6.11.4~dfsg-1ubuntu2 | vulnerable |
| Ubuntu | nodejs | pro | 6.12.0~dfsg-1ubuntu1 | vulnerable |
| Ubuntu | nodejs | pro | 6.12.0~dfsg-2ubuntu1 | vulnerable |
| Ubuntu | nodejs | pro | 6.12.0~dfsg-2ubuntu2 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2ubuntu0.2 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2ubuntu0.3 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2ubuntu0.4 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2ubuntu0.4+esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nodejs | source | sid | 10.15.0~dfsg-6 | unimportant | Not reported | Not reported |
| Debian | nodejs | source | forky | 10.15.0~dfsg-6 | unimportant | Not reported | Not reported |
| Debian | nodejs | source | trixie | 10.15.0~dfsg-6 | unimportant | Not reported | Not reported |
| Debian | nodejs | source | bookworm | 10.15.0~dfsg-6 | unimportant | Not reported | Not reported |
| Cpe | node.js | cpe | Not reported | 10.9.0 | Not reported | NVD-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.10 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.11 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.12 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.13 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.14 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.15 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.16 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.17 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.18 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.19 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.20 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.21 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.22 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.23 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.24 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.8 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Alpine | nodejs | apk | 3.9 | 8.11.4-r0 | Not reported | ALPINE-CVE-2018-12115 | Not reported |
| Ubuntu | nodejs | deb | pro | 8.10.0~dfsg-2ubuntu0.4+esm1 | Not reported | UBUNTU-CVE-2018-12115 | Not 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 · bookwormFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm
- [libnode-dev]Unknown
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm
- [nodejs]Unknown
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm
- [nodejs-doc]Unknown
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2018_2647-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2018-12115]
- [https://osv.dev/vulnerability/ALPINE-CVE-2018-12115]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-12115]
- [https://security-tracker.debian.org/tracker/CVE-2018-12115]
- [https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-12115.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]