KeygraphLabs · CVE MCP

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.

CVSS
3.7
low, from the CNA
EPSS
0.55%
percentile 47.3%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-02Package advisory GHSA-mrq3-vjjr-p77c
2026-02-03Published
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 0.69%
2026-12-05Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-mrq3-vjjr-p77cfastify (npm)5.7.3

Also known as: GHSA-mrq3-vjjr-p77c

Related

CVEPublishedCVSSSummary
CVE-2026-1078322026-10-133.7fastify vulnerable to header validation bypass via case-sensitive propertyNames
CVE-2026-920812026-09-165.9fastify vulnerable to Denial of Service via unhandled exception on HTTP/2 trailer responses
CVE-2026-844282026-09-047.5fastify vulnerable to header validation bypass via incomplete schema case normalization
CVE-2026-845042026-09-048.1fastify vulnerable to request body replacement via an async validation result collision
CVE-2026-844692026-09-047.5fastify vulnerable to request validation bypass via skipped boolean false schemas
CVE-2026-761692026-09-047.5fastify vulnerable to authentication bypass via malformed URLs reaching encapsulated not-found handlers
CVE-2026-185042026-08-185.3fastify vulnerable to schema validation bypass via root primitive coercion mismatch
CVE-2026-167322026-08-186.1fastify 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.

NVD · CVE.org