Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @fastify/accepts-serializer
  4. ›
  5. CVE-2026-7768

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

May 8, 2026

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

References

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

Code Behaviors & Features

Detect and mitigate CVE-2026-7768 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.0.4

Fixed versions

  • 6.0.4

Solution

Upgrade to version 6.0.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

npm/@fastify/accepts-serializer/CVE-2026-7768.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 00:18:49 +0000.