CVE-2026-128842 PUBLISHED

@fastify/busboy vulnerable to Denial of Service via URL-encoded field size-limit bypass

Assigner: openjs
Reserved: 13.11.2026 Published: 16.11.2026 Updated: 16.11.2026

@fastify/busboy is a streaming parser for multipart and url-encoded form data used by Fastify. In versions 1.0.0 through 3.2.5, the url-encoded parser stops accumulating a field only when the decoded length exactly equals the configured per-field size limit, and a malformed percent escape is passed through verbatim by the decoder, so the decoded length can jump from just below the limit to just above it and skip that equality check. The parser then keeps buffering the field in memory until the next delimiter or the end of the request, so a single unauthenticated url-encoded field or field name can grow to the size of the whole request body regardless of a much smaller configured per-field limit, with memory use bounded only by the independent whole-request body limit. The issue is fixed in @fastify/busboy 3.2.6, which clamps a field as soon as the decoded length reaches or exceeds the limit, and users should upgrade to 3.2.6 or later. As a workaround, set a conservative whole-request body limit so the per-field overshoot cannot exceed it.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS Score: 5.3

Product Status

Vendor @fastify/busboy
Product @fastify/busboy
Versions Default: unaffected
  • affected from 0 to 3.2.6 (excl.)
  • Version 3.2.6 is unaffected

Credits

  • fokshadev reporter
  • mcollina remediation developer
  • UlisesGascon remediation reviewer

References

Problem Types

  • CWE-400: Uncontrolled Resource Consumption CWE