{"id":"CVE-2026-92081","published":"2026-09-16T08:52:49Z","modified":"2026-09-16T14:00:59Z","title":"fastify vulnerable to Denial of Service via unhandled exception on HTTP/2 trailer responses","vendor":"fastify","product":"fastify","tier":"tail","description":{"text":"fastify is a fast and low-overhead web framework for Node.js. In versions before 5.12.5, when a route registers a response trailer via reply.trailer() and is served over HTTP/2, fastify unconditionally sets the Transfer-Encoding: chunked header, which is forbidden on HTTP/2, so Node.js throws while serializing the response headers. The exception is not caught and becomes an uncaughtException, so a single unauthenticated HTTP/2 request to any route that uses trailers crashes the server process and drops all in-flight requests, and it can be repeated on every restart. The issue is fixed in fastify 5.12.5, and users should upgrade to 5.12.5 or later. As a workaround, avoid registering response trailers with reply.trailer() on routes served over HTTP/2 until upgrading.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00412,"percentile":0.36367,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"}],"references":[{"url":"https://github.com/fastify/fastify/security/advisories/GHSA-4mh8-r7rc-xpvc","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"priority":{"score":11.4,"factors":[{"name":"EPSS percentile","points":7.27},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"fastify","affectedVersions":[{"vendor":"fastify","product":"fastify","versions":["< 5.12.5"]}],"fixedVersions":[{"vendor":"fastify","product":"fastify","versions":["5.12.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-16T14:00:06.966478Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"fastify","vulnerableRanges":["<5.12.5"],"patched":["5.12.5"],"from":["GHSA-4mh8-r7rc-xpvc"],"provenance":"source"}],"summary":{"text":"The flaw is in fastify's response handling (fastify core, before 5.12.5): when a route registers a trailer with reply.trailer() and is served over HTTP/2, fastify unconditionally sets the Transfer-Encoding: chunked header, which HTTP/2 forbids, causing an uncaught exception in Node.js. An unauthenticated remote attacker who can send a single HTTP/2 request to any route using trailers can crash the server process, dropping in-flight requests, with the condition that the target runs an affected version and serves such routes over HTTP/2.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:53Z"},"euvd":{"id":"EUVD-2026-80315","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-fastify-cve-2026-25224","parents":[{"from":"CVE-2026-25224","to":"CVE-2026-92081","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/reply.js"],"commits":["https://github.com/fastify/fastify/commit/eb11156396f6a5fedaceed0140aed2b7f026be37","https://github.com/fastify/fastify/commit/ad06a4c3fe8a944a904f38068249b18b8f552e90"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-84428","published":"2026-09-04","fixed":"5.12.2","kev":false},{"cve":"CVE-2026-84469","published":"2026-09-04","fixed":"5.12.2","kev":false},{"cve":"CVE-2026-84504","published":"2026-09-04","fixed":"5.12.2","kev":false},{"cve":"CVE-2026-92081","published":"2026-09-16","fixed":"5.12.5","kev":false},{"cve":"CVE-2026-107832","published":"2026-10-13","fixed":"5.12.6","kev":false,"link":{"from":"CVE-2026-92081","to":"CVE-2026-107832","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:fastify","fromFixed":"5.12.5","toFixed":"5.12.6","daysApart":27}]}}],"package":"npm:fastify"}}