CVE-2026-87018

  • Severity 7.5 HIGH
  • Published
  • Updated
  • Status Analyzed
  • EUVD EUVD-2026-102318
undici is an HTTP client library for Node.js. In versions 4.2.1 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1, the client process crashes when a TLS 1.2 server renegotiates after the connection is established and presents a different, CA-trusted certificate whose hostname does not match the requested host. Node.js re-runs hostname verification on the renegotiated handshake and destroys the socket with a certificate-altname error, but undici's established-socket error handler asserted that this error code could never occur, so the peer-controlled error became an uncaught assertion that terminates the Node.js process, affecting both the HTTP/1.1 and HTTP/2 paths. A malicious or compromised HTTPS endpoint reached through undici or the global fetch() can crash the client with a single server-initiated renegotiation, taking down all in-flight requests and background work in the process, and exploitation needs no CA compromise because the attacker controls the endpoint and can present two ordinary valid certificates. Only TLS 1.2 is affected, since TLS 1.3 does not support renegotiation. The issue is fixed in undici 6.29.1, 7.30.1, and 8.12.2, and users should upgrade to one of those versions or later. As a workaround, restrict outbound connections to TLS 1.3 so renegotiation cannot occur, when the target endpoints support it.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.1
EPSS Score
Percentile: 16.12%
Affected Products (NVD)
VendorProductVersion
nodejsundici
4.2.1 ≤
𝑥
< 6.29.1
nodejsundici
7.0.0 ≤
𝑥
< 7.30.1
nodejsundici
8.0.0 ≤
𝑥
< 8.12.2
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
node-undici
bookworm
vulnerable
bookworm (security)
vulnerable
forky
8.12.4+dfsg+~cs3.2.5-1
fixed
sid
8.12.4+dfsg+~cs3.2.5-1
fixed
trixie
no-dsa
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
node-undici
jammy
dne
noble
needs-triage
resolute
needs-triage
stonking
needs-triage
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
nodejs24
suse enterprise sap 15 SP7
24.22.3-150700.15.24.1
fixed
suse enterprise server 15 SP7
24.22.3-150700.15.24.1
fixed
nodejs24-devel
suse enterprise sap 15 SP7
24.22.3-150700.15.24.1
fixed
suse enterprise server 15 SP7
24.22.3-150700.15.24.1
fixed
nodejs24-docs
suse enterprise sap 15 SP7
24.22.3-150700.15.24.1
fixed
suse enterprise server 15 SP7
24.22.3-150700.15.24.1
fixed
npm24
suse enterprise sap 15 SP7
24.22.3-150700.15.24.1
fixed
suse enterprise server 15 SP7
24.22.3-150700.15.24.1
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
nodejs22
Amazon Linux 2023
1:22.23.4-1.amzn2023.0.1
fixed
nodejs22-debuginfo
Amazon Linux 2023
1:22.23.4-1.amzn2023.0.1
fixed
nodejs22-debugsource
Amazon Linux 2023
1:22.23.4-1.amzn2023.0.1
fixed
nodejs22-devel
Amazon Linux 2023
1:22.23.4-1.amzn2023.0.1
fixed
nodejs22-docs
Amazon Linux 2023
1:22.23.4-1.amzn2023.0.1
fixed
nodejs22-full-i18n
Amazon Linux 2023
1:22.23.4-1.amzn2023.0.1
fixed
nodejs22-libs
Amazon Linux 2023
1:22.23.4-1.amzn2023.0.1
fixed
nodejs22-libs-debuginfo
Amazon Linux 2023
1:22.23.4-1.amzn2023.0.1
fixed
nodejs22-npm
Amazon Linux 2023
1:10.9.9-1.22.23.4.1.amzn2023.0.1
fixed
nodejs24
Amazon Linux 2023
1:24.22.1-1.amzn2023.0.1
fixed
nodejs24-debuginfo
Amazon Linux 2023
1:24.22.1-1.amzn2023.0.1
fixed
nodejs24-debugsource
Amazon Linux 2023
1:24.22.1-1.amzn2023.0.1
fixed
nodejs24-devel
Amazon Linux 2023
1:24.22.1-1.amzn2023.0.1
fixed
nodejs24-docs
Amazon Linux 2023
1:24.22.1-1.amzn2023.0.1
fixed
nodejs24-full-i18n
Amazon Linux 2023
1:24.22.1-1.amzn2023.0.1
fixed
nodejs24-libs
Amazon Linux 2023
1:24.22.1-1.amzn2023.0.1
fixed
nodejs24-libs-debuginfo
Amazon Linux 2023
1:24.22.1-1.amzn2023.0.1
fixed
nodejs24-npm
Amazon Linux 2023
1:11.19.1-1.24.22.1.1.amzn2023.0.1
fixed
v8-12.4-devel
Amazon Linux 2023
3:12.4.254.21-1.22.23.4.1.amzn2023.0.1
fixed
v8-13.6-devel
Amazon Linux 2023
3:13.6.233.17-1.24.22.1.1.amzn2023.0.1
fixed