{"id":"CVE-2026-53540","sourceIdentifier":"security-advisories@github.com","published":"2026-06-22T18:16:44.497","lastModified":"2026-10-25T23:10:00.167","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.31, parse_form() did not validate the Content-Length header before using it to bound its chunked read of the request body. A negative Content-Length turned the bounded read into a read-until-EOF, so the entire body was loaded into memory in a single read instead of in fixed-size chunks. This vulnerability is fixed in 0.0.31."},{"lang":"es","value":"Python-Multipart es un analizador multipart de transmisión para Python. Antes de 0.0.31, parse_form() no validaba el encabezado Content-Length antes de usarlo para limitar su lectura en fragmentos del cuerpo de la solicitud. Un Content-Length negativo convertía la lectura limitada en una lectura hasta EOF, por lo que el cuerpo completo se cargaba en memoria en una sola lectura en lugar de en fragmentos de tamaño fijo. Esta vulnerabilidad está corregida en 0.0.31."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"Kludex","product":"python-multipart","versions":[{"version":"< 0.0.31","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","baseScore":3.7,"baseSeverity":"LOW","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW"},"exploitabilityScore":2.2,"impactScore":1.4}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-06-22T17:21:49.069742Z","id":"CVE-2026-53540","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-1284"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:*","versionEndExcluding":"0.0.31","matchCriteriaId":"B35A0C05-3D3C-4063-8A25-62EEE68E480B"}]}]}],"references":[{"url":"https://github.com/Kludex/python-multipart/security/advisories/GHSA-v9pg-7xvm-68hf","source":"security-advisories@github.com","tags":["Vendor Advisory"]}]}