CVE-2025-47279: undici Denial of Service attack via bad certificate data
Impact Applications that use undici to implement a webhook-like system are vulnerable. If the attacker set up a server with an invalid certificate, and they can force the application to call the webhook repeatedly, then they can cause a memory leak. Patches This has been patched in https://github.com/nodejs/undici/pull/4088. Workarounds If a webhook fails, avoid keep calling it repeatedly.
Published May 15, 2025 · Updated Feb 6, 2026
Affected packages
undici
- Ecosystem
- npm
- Affected
- < 5.29.0
- Fixed in
- 5.29.0
- Check
npm ls undici
undici
- Ecosystem
- npm
- Affected
- >= 6.0.0, < 6.21.2
- Fixed in
- 6.21.2
- Check
npm ls undici
undici
- Ecosystem
- npm
- Affected
- >= 7.0.0, < 7.5.0
- Fixed in
- 7.5.0
- Check
npm ls undici
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
Applications that use undici to implement a webhook-like system are vulnerable. If the attacker set up a server with an invalid certificate, and they can force the application to call the webhook repeatedly, then they can cause a memory leak.
Patches
This has been patched in https://github.com/nodejs/undici/pull/4088.
Workarounds
If a webhook fails, avoid keep calling it repeatedly.
References
Reported as: https://github.com/nodejs/undici/issues/3895
Credited to styfle, mcollina.
References
- https://github.com/nodejs/undici/security/advisories/GHSA-cxrh-j4jr-qwg3
- https://github.com/nodejs/undici/issues/3895
- https://github.com/nodejs/undici/pull/4088
- https://nvd.nist.gov/vuln/detail/CVE-2025-47279
- https://github.com/nodejs/undici/commit/f317618ec28753a4218beccea048bcf89c36db25
- https://github.com/advisories/GHSA-cxrh-j4jr-qwg3
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-109383
undici vulnerable to TLS certificate validation bypass via dropped tls options in Agent
high7.4Oct 27, 2026CVE-2026-109829
undici vulnerable to cache poisoning and cross-user disclosure via cross-origin redirects
high7.4Oct 27, 2026CVE-2026-109855
undici WebSocket client vulnerable to Denial of Service via failed HTTP/2 handshake
high7.5Oct 27, 2026CVE-2026-109932
undici WebSocket client vulnerable to Denial of Service via unbounded automatic PONG buffering
medium5.9Oct 27, 2026CVE-2026-87018
undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation
high7.5Oct 27, 2026CVE-2026-87029
undici vulnerable to Denial of Service via unhandled exception in the decompress interceptor
medium5.9Oct 27, 2026
