# CVE-2026-7768: @fastify/accepts-serializer vulnerable to Denial of Service via Unbounded Accept Header Cache Growth

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-05-04 · Modified: 2026-05-04
- Aliases: GHSA-qxhc-wx3p-2wmg
- Record: https://cvemate.com/vulnerability/CVE-2026-7768 · JSON: https://cvemate.com/vulnerability/CVE-2026-7768/json

## Description

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

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.289%, percentile 23.074%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- fastify fastify\\/accepts-serializer: \< 6.0.4
- @fastify/accepts-serializer @fastify/accepts-serializer: \< 6.0.4
- @fastify accepts-serializer (Npm): \< 6.0.4

## References

- <https://cna.openjsf.org/security-advisories.html>
- <https://github.com/fastify/fastify-accepts-serializer/security/advisories/GHSA-qxhc-wx3p-2wmg>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-7768>
- <https://github.com/fastify/fastify-accepts-serializer>

---

Data as of 2026-12-05T09:21:36.938Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
