CVE-2025-47279: undici Denial of Service attack via bad certificate data

Published May 15, 2025
·
Updated

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

Other sources

undici Denial of Service attack via bad certificate data

Microsoft

Undici is an HTTP/1.1 client for Node.js. Prior to versions 5.29.0, 6.21.2, and 7.5.0, 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. This has been patched in versions 5.29.0, 6.21.2, and 7.5.0. As a workaound, avoid calling a webhook repeatedly if the webhook fails.

NVD

Affected Software

7 affected componentsFixes available
npm/undici>=7.0.0<7.5.0
7.5.0
npm/undici>=6.0.0<6.21.2
6.21.2
npm/undici<5.29.0
5.29.0
Microsoft azl3 nodejs 20.14.0-9
Microsoft cbl2 nodejs18 18.20.3-6
Microsoft azl3 nodejs 20.14.0-8
IBM watsonx.data intelligence<=5.2.0, 5.2.1, 5.2.2, 5.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/undici to a version that resolves this vulnerability.

    Fixed in 7.5.0
  2. Upgrade

    Upgrade npm/undici to a version that resolves this vulnerability.

    Fixed in 6.21.2
  3. Upgrade

    Upgrade npm/undici to a version that resolves this vulnerability.

    Fixed in 5.29.0
  4. Upgrade

    Upgrade nodejs/undici to a version that resolves this vulnerability.

    Fixed in 5.29.0
  5. Upgrade

    Upgrade nodejs/undici to a version that resolves this vulnerability.

    Fixed in 6.21.2
  6. Upgrade

    Upgrade nodejs/undici to a version that resolves this vulnerability.

    Fixed in 7.5.0
  7. Compensating control

    If a webhook call fails, avoid calling the webhook repeatedly (do not keep retrying in a loop) to reduce the chance of triggering the undici memory leak caused by repeated requests with bad certificate data.

Event History

May 15, 2025
Advisory Published
via GitHub·02:15 PM
CVE Published
via MITRE·05:16 PM
Data Sourced
via MITRE·05:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Jul 11, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Jun 24, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-47279?

CVE-2025-47279 is classified as a critical vulnerability due to its potential for causing memory leaks in applications using the undici library.

2

How do I fix CVE-2025-47279?

You can mitigate CVE-2025-47279 by upgrading to undici version 7.5.0, 6.21.2, or 5.29.0.

3

What applications are affected by CVE-2025-47279?

Applications that utilize the undici library for implementing webhook-like systems are affected by CVE-2025-47279.

4

Can CVE-2025-47279 lead to data loss?

While CVE-2025-47279 primarily causes memory leaks, it can indirectly lead to performance degradation and potential data handling issues.

5

Is there a specific exploit for CVE-2025-47279?

CVE-2025-47279 can be exploited if an attacker forces the application to repeatedly call a webhook with an invalid certificate.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203