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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fastify | fastify/accepts-serializercpe: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
- https://cna.openjsf.org/security-advisories.html · Vendor Advisory, WEB
- https://github.com/fastify/fastify-accepts-serializer/security/advisories/GHSA-qxhc-wx3p-2wmg · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-7768 · ADVISORY
- https://github.com/fastify/fastify-accepts-serializer · PACKAGE
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)