CVE-2026-7768
Last modified
CVE-2026-7768 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. @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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
Description
@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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Fastify | Fastify\/Accepts-Serializer | < 6.0.4 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-7768?
How severe is CVE-2026-7768?
How do I fix CVE-2026-7768?
Are you affected by CVE-2026-7768?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
