CVE-2026-7768CWE-770

@fastify/accepts-serializer vulnerable to Denial of Service via Unbounded Accept Header Cache Growth

High · published May 4, 2026

CVSS v3.1
7.5
EPSS
0%
Percentile
41.1
In the wild
Unconfirmed
What it is

@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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00488 · 41.1th percentile
Weakness
CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2026-05-04T19:14Z
EPSS history
Timeline
  • 04 MAY 19:14Z
    @fastify/accepts-serializer vulnerable to Denial of Service via Unbounded Accept Header Cache Growth
    cvelistv5