CVE-2026-25224: Fastify Vulnerable to DoS via Unbounded Memory Allocation in sendWebStream

Published Feb 2, 2026
·
Updated

Impact A Denial of Service vulnerability in Fastify’s Web Streams response handling can allow a remote client to exhaust server memory. Applications that return a ReadableStream (or Response with a Web Stream body) via reply.send() are impacted. A slow or non-reading client can trigger unbounded buffering when backpressure is ignored, leading to process crashes or severe degradation.

Patches The issue is fixed in Fastify 5.7.3. Users should upgrade to 5.7.3 or later.

Workarounds Avoid sending Web Streams from Fastify responses (e.g., ReadableStream or Response bodies). Use Node.js streams (stream.Readable) or buffered payloads instead until the project can upgrade.

References - https://hackerone.com/reports/3524779

Other sources

Fastify is a fast and low overhead web framework, for Node.js. Prior to version 5.7.3, a denial-of-service vulnerability in Fastify’s Web Streams response handling can allow a remote client to exhaust server memory. Applications that return a ReadableStream (or Response with a Web Stream body) via reply.send() are impacted. A slow or non-reading client can trigger unbounded buffering when backpressure is ignored, leading to process crashes or severe degradation. This issue has been patched in version 5.7.3.

MITRE

Affected Software

2 affected componentsFixes available
npm/fastify<=5.7.2
5.7.3
fastify Fastify Node.js<5.7.3

Event History

Feb 2, 2026
Advisory Published
via GitHub·10:25 PM
Data Sourced
via GitHub·10:25 PM
DescriptionSeverityWeaknessAffected Software
Feb 3, 2026
CVE Published
via MITRE·09:21 PM
Data Sourced
via MITRE·09:21 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
RemedyAffected Software
Feb 27, 58104
Event
via FIRST·07:31 AM
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-2026-25224?

CVE-2026-25224 is classified as a Denial of Service vulnerability.

2

How do I fix CVE-2026-25224?

To mitigate CVE-2026-25224, upgrade Fastify to version 5.7.3 or later.

3

What applications are affected by CVE-2026-25224?

Applications that return a ReadableStream via reply.send() are affected by CVE-2026-25224.

4

Can CVE-2026-25224 lead to server memory exhaustion?

Yes, CVE-2026-25224 can allow a remote client to exhaust server memory.

5

What is the nature of the attack for CVE-2026-25224?

CVE-2026-25224 can be exploited by a slow or non-reading client, resulting in resource exhaustion.

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