{"id":"CVE-2026-128842","kind":"vulnerability","aliases":["CVE-2026-128842"],"related":[],"title":"@fastify/busboy: malformed form escape lets one field exhaust memory","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.","summary":"@fastify/busboy is a form parser used by Fastify. A malformed percent escape in a url-encoded form field makes the per-field size limit fail to stop buffering, so one unauthenticated field can grow to the whole request body size and use a lot of memory.","severity":"medium","cvss":5.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["fastify","node","package","self-hosted"],"not_affected_if":["auth-required","no-urlencoded-forms"],"how_to_check":"- Check the installed version with `npm ls @fastify/busboy`; versions from 1.0.0 through 3.2.5 are affected.\n- Check whether your Fastify app accepts url-encoded form bodies from the internet.","fix":"- `@fastify/busboy` `3.2.6` or later\n- Workaround stated by the source: set a conservative whole-request body limit so the per-field overshoot cannot exceed it.","status":"open","published_at":"2026-11-16T14:17:06+00:00","first_seen_at":"2026-11-16T14:36:59+00:00","triaged_at":"2026-11-16T14:37:21+00:00","updated_at":"2026-11-16T14:37:21+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-16T14:37:21Z","model":"claude-haiku-5-5","output":{"fix":"- `@fastify/busboy` `3.2.6` or later\n- Workaround stated by the source: set a conservative whole-request body limit so the per-field overshoot cannot exceed it.","reach":"internet","title":"@fastify/busboy: malformed form escape lets one field exhaust memory","impact":"medium","summary":"@fastify/busboy is a form parser used by Fastify. A malformed percent escape in a url-encoded form field makes the per-field size limit fail to stop buffering, so one unauthenticated field can grow to the whole request body size and use a lot of memory.","audience":"developers","category":"package","nicknames":[],"who_cares":["fastify","node","self-hosted"],"confidence":0.8,"fix_status":"available","needs_auth":"no","worst_case":"Server memory grows toward whole request size per request.","analyst_note":"","how_to_check":"- Check the installed version with `npm ls @fastify/busboy`; versions from 1.0.0 through 3.2.5 are affected.\n- Check whether your Fastify app accepts url-encoded form bodies from the internet.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["no-urlencoded-forms","auth-required"],"who_is_affected":"Applications that use @fastify/busboy from 1.0.0 through 3.2.5 to parse url-encoded form bodies, typically through Fastify, are exposed. Exposure is reached through any unauthenticated request that sends a url-encoded field with a malformed percent escape. Apps that do not parse url-encoded forms, or that already run a tight whole-request body limit, are less exposed.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"no","severity_if_unknown":"medium"},"cost_usd":0.000777,"input_tokens":4803,"output_tokens":594,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-128842':12A,15A '-2026':11A,14A '1.0.0':88C '3.2.5':90C '3.2.6':215C,236C 'accumul':97C 'bodi':62B,185C,207C,248C 'bound':199C 'buffer':51B,150C 'cannot':256C 'check':145C 'clamp':217C 'configur':108C,191C 'conserv':244C 'cve':10A,13A 'data':82C 'decod':103C,125C,128C,224C 'delimit':158C 'encod':38B,80C,94C,171C 'end':161C 'equal':106C,144C 'escap':4A,33B,118C 'exact':105C 'exceed':228C,257C 'exhaust':8A 'fail':48B 'fastifi':16B,29B,85C 'fastify/busboy':1A,22B,70C,214C 'field':7A,40B,45B,55B,99C,111C,152C,172C,174C,194C,219C,254C 'fix':212C 'form':3A,25B,39B,81C 'grow':57B,177C 'host':21B 'independ':203C 'issu':210C 'jump':131C 'keep':149C 'later':238C 'length':104C,129C,225C 'let':5A 'limit':47B,113C,136C,195C,208C,230C,249C 'lot':67B 'make':41B 'malform':2A,31B,116C 'memori':9A,69B,154C,197C 'much':189C 'multipart':76C 'name':175C 'next':157C 'node':17B 'one':6A,53B 'overshoot':255C 'packag':18B 'parser':26B,74C,95C,147C 'pass':120C 'per':44B,110C,193C,253C 'per-field':43B,109C,192C,252C 'percent':32B,117C 'reach':226C 'regardless':186C 'request':61B,164C,184C,206C,247C 'self':20B 'self-host':19B 'set':242C 'singl':167C 'size':46B,63B,112C,180C 'skip':142C 'smaller':190C 'soon':221C 'stop':50B,96C 'stream':73C 'unauthent':54B,168C 'upgrad':234C 'url':37B,79C,93C,170C 'url-encod':36B,78C,92C,169C 'use':27B,65B,83C,198C 'user':232C 'verbatim':122C 'version':87C 'whole':60B,183C,205C,246C 'whole-request':204C,245C 'workaround':241C","nicknames":[],"mitigations":[],"who_affected":"Applications that use @fastify/busboy from 1.0.0 through 3.2.5 to parse url-encoded form bodies, typically through Fastify, are exposed. Exposure is reached through any unauthenticated request that sends a url-encoded field with a malformed percent escape. Apps that do not parse url-encoded forms, or that already run a tight whole-request body limit, are less exposed.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["fastify","medium","node","package","selfhosted"],"campaign_type":null,"search_a":"'-128842':12A,15A '-2026':11A,14A 'cve':10A,13A 'escap':4A 'exhaust':8A 'fastify/busboy':1A 'field':7A 'form':3A 'let':5A 'malform':2A 'memori':9A 'one':6A","search_b":"'bodi':62B 'buffer':51B 'encod':38B 'escap':33B 'fail':48B 'fastifi':16B,29B 'fastify/busboy':22B 'field':40B,45B,55B 'form':25B,39B 'grow':57B 'host':21B 'limit':47B 'lot':67B 'make':41B 'malform':31B 'memori':69B 'node':17B 'one':53B 'packag':18B 'parser':26B 'per':44B 'per-field':43B 'percent':32B 'request':61B 'self':20B 'self-host':19B 'size':46B,63B 'stop':50B 'unauthent':54B 'url':37B 'url-encod':36B 'use':27B,65B 'whole':60B","search_c":"'1.0.0':88C '3.2.5':90C '3.2.6':215C,236C 'accumul':97C 'bodi':185C,207C,248C 'bound':199C 'buffer':150C 'cannot':256C 'check':145C 'clamp':217C 'configur':108C,191C 'conserv':244C 'data':82C 'decod':103C,125C,128C,224C 'delimit':158C 'encod':80C,94C,171C 'end':161C 'equal':106C,144C 'escap':118C 'exact':105C 'exceed':228C,257C 'fastifi':85C 'fastify/busboy':70C,214C 'field':99C,111C,152C,172C,174C,194C,219C,254C 'fix':212C 'form':81C 'grow':177C 'independ':203C 'issu':210C 'jump':131C 'keep':149C 'later':238C 'length':104C,129C,225C 'limit':113C,136C,195C,208C,230C,249C 'malform':116C 'memori':154C,197C 'much':189C 'multipart':76C 'name':175C 'next':157C 'overshoot':255C 'parser':74C,95C,147C 'pass':120C 'per':110C,193C,253C 'per-field':109C,192C,252C 'percent':117C 'reach':226C 'regardless':186C 'request':164C,184C,206C,247C 'set':242C 'singl':167C 'size':112C,180C 'skip':142C 'smaller':190C 'soon':221C 'stop':96C 'stream':73C 'unauthent':168C 'upgrad':234C 'url':79C,93C,170C 'url-encod':78C,92C,169C 'use':83C,198C 'user':232C 'verbatim':122C 'version':87C 'whole':183C,205C,246C 'whole-request':204C,245C 'workaround':241C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T09:46:05+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","cvss_by":"ce714d77-add3-4f53-aff5-83d477b104bb","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-128842","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128842","severity":null,"published_at":"2026-11-16T14:17:06+00:00","modified_at":"2026-11-16T14:17:06+00:00","first_seen_at":"2026-11-16T14:36:59+00:00","fetched_at":"2026-11-16T14:36:59+00:00","note":null}],"documents":[{"id":169984,"url":"https://github.com/fastify/busboy/security/advisories/GHSA-x578-65c5-rvww","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-11-16T09:46:05+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}