{"id":"CVE-2026-7768","aliases":["GHSA-qxhc-wx3p-2wmg"],"url":"https://o3.security/vulnerability/CVE-2026-7768","summary":"@fastify/accepts-serializer vulnerable to Denial of Service via Unbounded Accept Header Cache Growth","details":"### Impact\n\n`@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. Under sustained load, this can exhaust the Node.js heap and crash the process.\n\n### Patches\n\nUpdate to `@fastify/accepts-serializer >= 6.0.4`. The cache is now bounded by an LRU with a default size of 100 entries, configurable via the new `cacheSize` plugin option.\n\n### Workarounds\n\nNone. Upgrade is required.","published":"2026-05-04T19:14:36.828Z","modified":"2026-08-12T03:51:40.995343133Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.00284,"percentile":0.2037,"asOf":"2026-08-24"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@fastify/accepts-serializer","fixedVersion":"6.0.4"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7768.json"},{"type":"ADVISORY","url":"https://github.com/fastify/fastify-accepts-serializer/security/advisories/GHSA-qxhc-wx3p-2wmg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7768"},{"type":"PACKAGE","url":"https://github.com/fastify/fastify-accepts-serializer"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:40.995343133Z"}}