REDHAT-BUG-2447142: High severity npm/undici vulnerability

Published Mar 12, 2026
·
Updated

The undici WebSocket client is vulnerable to a denial-of-service attack via unbounded memory consumption during permessage-deflate decompression. When a WebSocket connection negotiates the permessage-deflate extension, the client decompresses incoming compressed frames without enforcing any limit on the decompressed data size. A malicious WebSocket server can send a small compressed frame (a "decompression bomb") that expands to an extremely large size in memory, causing the Node.js process to exhaust available memory and crash or become unresponsive.

The vulnerability exists in the PerMessageDeflate.decompress() method, which accumulates all decompressed chunks in memory and concatenates them into a single Buffer without checking whether the total size exceeds a safe threshold.

Affected Software

1 affected component
npm/undici

Event History

Mar 12, 2026
Data Sourced
via Red Hat·09:01 PM
DescriptionSeverityAffected Software
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 REDHAT-BUG-2447142?

The severity of REDHAT-BUG-2447142 is high, rated at 7.

2

What vulnerability does REDHAT-BUG-2447142 describe?

REDHAT-BUG-2447142 describes a denial-of-service vulnerability due to unbounded memory consumption in the undici WebSocket client during permessage-deflate decompression.

3

How do I fix REDHAT-BUG-2447142?

To fix REDHAT-BUG-2447142, update the undici package to the latest version that addresses this vulnerability.

4

What software is affected by REDHAT-BUG-2447142?

The affected software for REDHAT-BUG-2447142 is npm/undici.

5

Can REDHAT-BUG-2447142 lead to security issues?

Yes, REDHAT-BUG-2447142 can lead to security issues by allowing an attacker to exploit the vulnerability for denial-of-service attacks.

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