Impact
A bug in fastify versions before 5.12.5 causes a node process to crash when a route registers a response trailer with reply.trailer() and the request is served over HTTP/2. The mishandled header results in Node.js throwing an uncaught exception that terminates the server process. A single unauthenticated HTTP/2 request to any affected route triggers the crash and aborts all in‑flight requests, effectively denying service until the process restarts.
Affected Systems
The affected product is the fastify web framework for Node.js. All releases prior to 5.12.5 are vulnerable. The fix is included in fastify 5.12.5 and later.
Risk and Exploitability
The vulnerability has a CVSS score of 5.9, indicating moderate severity, and the EPSS score is not available; it is not listed in the CISA KEV catalog. The attack vector is remote and unauthenticated: any client able to send an HTTP/2 request can trigger the crash. Because no authentication or privileged state is required, the exploit likelihood is high in environments that enable HTTP/2 and use the trailer feature.
OpenCVE Enrichment