CVE-2018-12115
publishednodejs: Out of bounds (OOB) write via UCS-2 encoding
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| The Node.js Project | — | Node.jsAll versions of Node.js prior to 6.14.4, 8.11.4 and 10.9.0 | Affected | Not stated | nodejs |
| Alpine Linux | edge | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Red Hat Enterprise Linux | RHEL-6 | rh-nodejs6-nodejssrc | Advisory build | 6.11.3-6.el6 | RHSA-2018:2944 |
| SUSE / openSUSE | SLE-11-SP4 | MozillaFirefoxx86_64 | Advisory build | 68.2.0-78.51.4 | SUSE-SU-2019:14246-1 |
| Alpine Linux | v3.10 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Alpine Linux | v3.11 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Alpine Linux | v3.12 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Alpine Linux | v3.13 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.14 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Alpine Linux | v3.15 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Alpine Linux | v3.16 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Alpine Linux | v3.17 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Alpine Linux | v3.18 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Alpine Linux | v3.19 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Alpine Linux | v3.20 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Alpine Linux | v3.21 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Alpine Linux | v3.22 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Alpine Linux | v3.23 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Alpine Linux | v3.24 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Alpine Linux | v3.8 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Alpine Linux | v3.9 | nodejs | Fixed | 8.11.4-r0 | Package fix record |
| Red Hat Enterprise Linux | RHEL-6 | rh-nodejs6-nodejsx86_64 | Advisory build | 6.11.3-6.el6 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-6 | rh-nodejs6-nodejs-debuginfox86_64 | Advisory build | 6.11.3-6.el6 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-6 | rh-nodejs6-nodejs-develx86_64 | Advisory build | 6.11.3-6.el6 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-6 | rh-nodejs6-nodejs-docsnoarch | Advisory build | 6.11.3-6.el6 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs6-nodejsaarch64 | Advisory build | 6.11.3-7.el7 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs6-nodejsppc64le | Advisory build | 6.11.3-7.el7 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs6-nodejss390x | Advisory build | 6.11.3-7.el7 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs6-nodejssrc | Advisory build | 6.11.3-7.el7 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs6-nodejsx86_64 | Advisory build | 6.11.3-7.el7 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs6-nodejs-debuginfoaarch64 | Advisory build | 6.11.3-7.el7 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs6-nodejs-debuginfoppc64le | Advisory build | 6.11.3-7.el7 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs6-nodejs-debuginfos390x | Advisory build | 6.11.3-7.el7 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs6-nodejs-debuginfox86_64 | Advisory build | 6.11.3-7.el7 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs6-nodejs-develaarch64 | Advisory build | 6.11.3-7.el7 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs6-nodejs-develppc64le | Advisory build | 6.11.3-7.el7 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs6-nodejs-devels390x | Advisory build | 6.11.3-7.el7 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs6-nodejs-develx86_64 | Advisory build | 6.11.3-7.el7 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs6-nodejs-docsnoarch | Advisory build | 6.11.3-7.el7 | RHSA-2018:2944 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejsaarch64 | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejsppc64le | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejss390x | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejssrc | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejsx86_64 | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-debuginfoaarch64 | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-debuginfoppc64le | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-debuginfos390x | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-debuginfox86_64 | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-develaarch64 | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-develppc64le | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-devels390x | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-develx86_64 | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-docsnoarch | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-npmaarch64 | Advisory build | 5.6.0-8.11.4.1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-npmppc64le | Advisory build | 5.6.0-8.11.4.1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-npms390x | Advisory build | 5.6.0-8.11.4.1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-npmx86_64 | Advisory build | 5.6.0-8.11.4.1.el7 | RHSA-2018:2949 |
| SUSE / openSUSE | SLE-11-SP4 | MozillaFirefox-branding-SLEDx86_64 | Advisory build | 68-21.9.8 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | MozillaFirefox-translations-commonx86_64 | Advisory build | 68.2.0-78.51.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | MozillaFirefox-translations-otherx86_64 | Advisory build | 68.2.0-78.51.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-atk-langx86_64 | Advisory build | 2.26.1-2.8.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gdk-pixbuf-langx86_64 | Advisory build | 2.36.11-2.8.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gdk-pixbuf-query-loadersx86_64 | Advisory build | 2.36.11-2.8.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gdk-pixbuf-thumbnailerx86_64 | Advisory build | 2.36.11-2.8.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gio-branding-upstreamx86_64 | Advisory build | 2.54.3-2.14.7 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-glib2-langx86_64 | Advisory build | 2.54.3-2.14.7 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-glib2-toolsx86_64 | Advisory build | 2.54.3-2.14.7 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-branding-upstreamx86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-datax86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-immodule-amharicx86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-immodule-inuktitutx86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-immodule-multipressx86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-immodule-thaix86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-immodule-vietnamesex86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-immodule-ximx86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-immodules-tigrignax86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-langx86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-toolsx86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-libatk-1_0-0x86_64 | Advisory build | 2.26.1-2.8.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-libcairo-gobject2x86_64 | Advisory build | 1.15.10-2.13.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-libcairo2x86_64 | Advisory build | 1.15.10-2.13.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-libffi4x86_64 | Advisory build | 5.3.1+r233831-14.1 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-libffi7x86_64 | Advisory build | 3.2.1.git259-2.3.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-libgdk_pixbuf-2_0-0x86_64 | Advisory build | 2.36.11-2.8.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-libgtk-3-0x86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-libharfbuzz0x86_64 | Advisory build | 1.7.5-2.7.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-libpango-1_0-0x86_64 | Advisory build | 1.40.14-2.7.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | libfirefox-gio-2_0-0x86_64 | Advisory build | 2.54.3-2.14.7 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | libfirefox-glib-2_0-0x86_64 | Advisory build | 2.54.3-2.14.7 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | libfirefox-gmodule-2_0-0x86_64 | Advisory build | 2.54.3-2.14.7 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | libfirefox-gobject-2_0-0x86_64 | Advisory build | 2.54.3-2.14.7 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | libfirefox-gthread-2_0-0x86_64 | Advisory build | 2.54.3-2.14.7 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | libfreebl3x86_64 | Advisory build | 3.45-38.9.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | libfreebl3-32bitx86_64 | Advisory build | 3.45-38.9.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | libsoftokn3x86_64 | Advisory build | 3.45-38.9.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | libsoftokn3-32bitx86_64 | Advisory build | 3.45-38.9.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | mozilla-nsprx86_64 | Advisory build | 4.21-29.6.1 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | mozilla-nspr-32bitx86_64 | Advisory build | 4.21-29.6.1 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | mozilla-nspr-develx86_64 | Advisory build | 4.21-29.6.1 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | mozilla-nssx86_64 | Advisory build | 3.45-38.9.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | mozilla-nss-32bitx86_64 | Advisory build | 3.45-38.9.3 | SUSE-SU-2019:14246-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| The Node.js Project | Node.js | All versions of Node.js prior to 6.14.4, 8.11.4 and 10.9.0 (affected) | nodejs · cna |
Weaknesses
1- CWE-787 CWE-787: Out-of-bounds Write
References
8- 105127 http://www.securityfocus.com/bid/105127
- RHSA-2018:2552 https://access.redhat.com/errata/RHSA-2018:2552
- RHSA-2018:2553 https://access.redhat.com/errata/RHSA-2018:2553
- RHSA-2018:2944 https://access.redhat.com/errata/RHSA-2018:2944
- RHSA-2018:2949 https://access.redhat.com/errata/RHSA-2018:2949
- RHSA-2018:3537 https://access.redhat.com/errata/RHSA-2018:3537
- https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/
- GLSA-202003-48 https://security.gentoo.org/glsa/202003-48
Provider assertions
3nodejs · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 84fcef5b86abe678bc6a6d1978e4a082050fc1815e6f071c102554137efeb99f
- Ingested
- 15 Oct 2026, 17:54:56 UTC
- Source record
- Official CVE record