CVE-2026-92081
published medium CVSS 3.1 · 5.9fastify vulnerable to Denial of Service via unhandled exception on HTTP/2 trailer responses
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| fastify | — | fastify0 to < 5.12.5 (affected · semver) · 5.12.5 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| fastify | fastify | 0 to < 5.12.5 (affected · semver)5.12.5 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
1- CWE-248 CWE-248: Uncaught Exception
References
2Provider assertions
2openjs · cna
fastify vulnerable to Denial of Service via unhandled exception on HTTP/2 trailer responses
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e3e22ef240c894fcd7bd9492a1e402a126d5df567b5809119225484e7de81920
- Ingested
- 23 Sep 2026, 09:40:21 UTC
- Source record
- Official CVE record