CVE-2026-7768
published high CVSS 3.1 · 7.5@fastify/accepts-serializer vulnerable to Denial of Service via Unbounded Accept Header Cache Growth
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| @fastify/accepts-serializer | — | @fastify/accepts-serializer0 to < 6.0.4 (affected · semver) · 6.0.4 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
Description
@fastify/accepts-serializer cached serializer-selection results keyed by the request Accept header without a size limit or eviction policy. A remote unauthenticated client could send many distinct but matching Accept header variants to make the cache grow unbounded, eventually exhausting the Node.js heap and crashing the process. Versions <= 6.0.3 are affected. Update to 6.0.4 or later, which bounds the cache via an LRU with a default size of 100 entries, configurable through the new cacheSize plugin option.
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
- 7.5 / 10
- Severity
- high
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/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/accepts-serializer | @fastify/accepts-serializer | 0 to < 6.0.4 (affected · semver)6.0.4 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
1- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
2Provider assertions
2openjs · cna
@fastify/accepts-serializer vulnerable to Denial of Service via Unbounded Accept Header Cache Growth
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- aaf6ccb33be310c5d25ecea62f4bf7e0470f626543de39366dc00bba26da7662
- Ingested
- 23 Sep 2026, 09:34:17 UTC
- Source record
- Official CVE record