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

Configuration 1 (hide)

cpe:2.3:a:fastify:fastify\/accepts-serializer:*:*:*:*:*:node.js:*:*

History

11 Nov 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) @fastify/accepts-serializer almacenaba en caché los resultados de selección de serializador indexados por el encabezado Accept de la solicitud sin un límite de tamaño o política de desalojo. Un cliente remoto no autenticado podría enviar muchas variantes distintas pero coincidentes del encabezado Accept para hacer que la caché creciera sin límites, agotando finalmente el heap de Node.js y bloqueando el proceso. Las versiones menor o igual que 6.0.3 están afectadas. Actualice a la versión 6.0.4 o posterior, que limita la caché mediante un LRU con un tamaño predeterminado de 100 entradas, configurable a través de la nueva opción de plugin cacheSize.

29 May 2026, 14:43

Type Values Removed Values Added
CPE cpe:2.3:a:fastify:fastify\/accepts-serializer:*:*:*:*:*:node.js:*:*
First Time Fastify
Fastify fastify\/accepts-serializer
References () https://cna.openjsf.org/security-advisories.html - () https://cna.openjsf.org/security-advisories.html - Vendor Advisory
References () https://github.com/fastify/fastify-accepts-serializer/security/advisories/GHSA-qxhc-wx3p-2wmg - () https://github.com/fastify/fastify-accepts-serializer/security/advisories/GHSA-qxhc-wx3p-2wmg - Vendor Advisory

04 May 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-04 20:16

Updated : 2026-11-11 23:10


NVD link : CVE-2026-7768

Mitre link : CVE-2026-7768

CVE.ORG link : CVE-2026-7768


JSON object : View

Products Affected

fastify

  • fastify\/accepts-serializer
CWE
CWE-770

Allocation of Resources Without Limits or Throttling