CVE-2026-128842
JSON

5.3medium

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

Severity
5.3medium CVSS:3.1 by openjs
Exploit likelihood
0.33% (higher than 27% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
openjs

Description

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

Affected

Product or packageVersionsReported by
@fastify/busboy @fastify/busboybefore 3.2.6
Not affected: 3.2.6
CVE List

Classification

CWE-400

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-128842 changed 2026-11-17CVE Terms of Use
NVDCVE-2026-128842 changed 2026-11-17Public domain