Input validation error in python-multipart - CVE-2026-53540
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to degrade application availability through excessive request body buffering in memory.
The vulnerability exists due to missing validation of negative Content-Length values in python-multipart's parse_form() when applications call it directly with raw client headers without normalizing those values. An unauthenticated remote attacker can submit concurrent requests with negative Content-Length headers to make each request body load into memory in a single read.