CVE-2026-25224 · GitHub_M
Fastify Vulnerable to DoS via Unbounded Memory Allocation in sendWebStream
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.
Published 2026-02-03, last changed 2026-06-17. Weakness: CWE-770.
How to fix
Upgrade to a fixed version: fastify 5.7.3 (npm). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in fastify/fastify by eb11156396, 49468eddb7. Functions changed by the fix: sendWebStream, onDrain. Regression tests: test/web-api.test.js. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2026-02-02 | Package advisory GHSA-mrq3-vjjr-p77c |
| 2026-02-03 | Published |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.69% |
| 2026-12-05 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-mrq3-vjjr-p77c | fastify (npm) | 5.7.3 |
Also known as: GHSA-mrq3-vjjr-p77c
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-107832 | 2026-10-13 | 3.7 | fastify vulnerable to header validation bypass via case-sensitive propertyNames |
| CVE-2026-92081 | 2026-09-16 | 5.9 | fastify vulnerable to Denial of Service via unhandled exception on HTTP/2 trailer responses |
| CVE-2026-84428 | 2026-09-04 | 7.5 | fastify vulnerable to header validation bypass via incomplete schema case normalization |
| CVE-2026-84504 | 2026-09-04 | 8.1 | fastify vulnerable to request body replacement via an async validation result collision |
| CVE-2026-84469 | 2026-09-04 | 7.5 | fastify vulnerable to request validation bypass via skipped boolean false schemas |
| CVE-2026-76169 | 2026-09-04 | 7.5 | fastify vulnerable to authentication bypass via malformed URLs reaching encapsulated not-found handlers |
| CVE-2026-18504 | 2026-08-18 | 5.3 | fastify vulnerable to schema validation bypass via root primitive coercion mismatch |
| CVE-2026-16732 | 2026-08-18 | 6.1 | fastify vulnerable to X-Forwarded-* spoofing under trustProxy hop-count |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2026-25224, or call /api/v1/vulnerabilities/CVE-2026-25224. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.