Advisory

GHSA-mrq3-vjjr-p77c

Also known as: CVE-2026-25224

Summary

Fastify Vulnerable to DoS via Unbounded Memory Allocation in sendWebStream

Details

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

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-02-02 22:25 UTC
Modified
2026-02-04 18:08 UTC

Affected packages and fixes

fastify

npm · All systems

Affected

  • introduced 0, fixed 5.7.3 (semver)

Fixed versions

5.7.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences