{"id":"CVE-2026-7768","published":"2026-05-04T19:14:36Z","modified":"2026-05-04T19:50:16Z","title":"@fastify/accepts-serializer vulnerable to Denial of Service via Unbounded Accept Header Cache Growth","vendor":"@fastify/accepts-serializer","product":"@fastify/accepts-serializer","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00284,"percentile":0.21455,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]},{"url":"https://github.com/fastify/fastify-accepts-serializer/security/advisories/GHSA-qxhc-wx3p-2wmg","tags":[]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":4.29},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"fastify-accepts-serializer","affectedVersions":[{"vendor":"@fastify/accepts-serializer","product":"@fastify/accepts-serializer","versions":["< 6.0.4"]}],"fixedVersions":[{"vendor":"@fastify/accepts-serializer","product":"@fastify/accepts-serializer","versions":["6.0.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-04T19:50:08.458813Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@fastify/accepts-serializer","vulnerableRanges":["<6.0.4"],"patched":["6.0.4"],"from":["GHSA-qxhc-wx3p-2wmg"],"provenance":"source"}],"summary":{"text":"The @fastify/accepts-serializer package caches serializer-selection results keyed by the request Accept header with no size limit or eviction policy, so it is a resource-exhaustion flaw in the package's caching component. A remote, unauthenticated client needs only network access to send many distinct but matching Accept header variants, which grows the cache until the Node.js heap is exhausted and the process crashes, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:59Z"},"euvd":{"id":"EUVD-2026-27131","exploited":false,"provenance":"source"}}