Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 7.5 · High EPSS 0.05% · P16
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-7768

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
@fastify/accepts-serializer vulnerable to Denial of Service via Unbounded Accept Header Cache Growth
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
不加限制或调节的资源分配
Source: NVD (National Vulnerability Database)
Vulnerability Title
@fastify/accepts-serializer 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
@fastify/accepts-serializer是Fastify开源的一个基于Accept头自动选择序列化方式的插件。 @fastify/accepts-serializer 6.0.3及之前版本存在安全漏洞,该漏洞源于缓存序列化选择结果时未设置大小限制或驱逐策略,远程未认证客户端可发送大量不同但匹配的Accept标头变体导致缓存无限增长,最终耗尽Node.js堆并导致进程崩溃。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
@fastify/accepts-serializer@fastify/accepts-serializer 0 ~ 6.0.4 -

II. Public POCs for CVE-2026-7768

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-7768

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2026-7768

No comments yet


Leave a comment