CVE-2026-7768
@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.
Published:May 4, 2026
Last Modified:May 29, 2026
EPS:May 4, 2026
EPSS Score:0.00052
CVSS Score:7.5
Affected Products
Vendor
Product
Action
Vendor
Fastify
Product
Fastify-accepts-serializer
Fastify
Fastify-accepts-serializer
Vendor
Fastify
Product
Fastify\/accepts-serializer
Fastify
Fastify\/accepts-serializer
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
