Improper Handling of Highly Compressed Data (Data Amplification) Affecting undici package, versions <6.24.0>=7.0.0-alpha.1 <7.24.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-UNDICI-15518068
  • published13 Mar 2026
  • disclosed12 Mar 2026
  • creditUnknown

Introduced: 12 Mar 2026

NewCVE-2026-1526  (opens in a new tab)
CWE-409  (opens in a new tab)

How to fix?

Upgrade undici to version 6.24.0, 7.24.0 or higher.

Overview

undici is an An HTTP/1.1 client, written from scratch for Node.js

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) in the PerMessageDeflate.decompress() method of the permessage-deflate extension. An attacker can cause excessive memory usage by sending specially crafted compressed WebSocket frames that decompress to a very large size, potentially leading to process crashes or unresponsiveness.

CVSS Base Scores

version 4.0
version 3.1