Live threats

All CVEs / Fastify

CVE-2026-7768Fastify/accepts-serializer

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
May 4, 2026
Updated
Nov 11, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Fastify/accepts-serializer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @fastify/accepts-serializer < 6.0.4 6.0.4 npm install @fastify/accepts-serializer@6.0.4

Per OSV / GitHub Advisories (GHSA-qxhc-wx3p-2wmg). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
fastifyfastify/accepts-serializer< 6.0.4

Official sources

References

Links published by the sources. Open them with care.