Security mailing lists by PureSourceCode

CVE-2026-7768

HIGH 7.5CVSS 3.1

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

@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
4 May 2026
Last modified
11 Nov 2026
Assigned by
ce714d77-add3-4f53-aff5-83d477b104bb
NVD status
Analyzed
Weakness
CWE-770
Also known as
GHSA-qxhc-wx3p-2wmg
Sources
NVDJSONOSV GHSA-qxhc-wx3p-2wmgJSON

Scores

SourceScored byVersionScoreVector / decision
NVD ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD fastify fastify/accepts-serializer
cpe:2.3:a:fastify:fastify\/accepts-serializer:*:*:*:*:*:node.js:*:*
< 6.0.4 6.0.4
OSV npm @fastify/accepts-serializer < 6.0.4 6.0.4

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 4 May 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.