CVE-2026-42561

Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.27, python-multipart has a denial of service vulnerability in multipart part header parsing. When parsing multipart/form-data, MultipartParser previously had no limit on the number of part headers or the size of an individual part header. An attacker could send a request with either many repeated headers without terminating the header block or a single very large header value, causing excessive CPU work before request rejection or completion. This vulnerability is fixed in 0.0.27.
Configurations

No configuration.

History

26 Oct 2026, 14:10

Type Values Removed Values Added
Summary
  • (es) Python-Multipart es un analizador multipart en streaming para Python. Antes de 0.0.27, python-multipart tiene una vulnerabilidad de denegación de servicio en el análisis de encabezados de partes multipart. Al analizar datos multipart/form-data, MultipartParser no tenía previamente un límite en el número de encabezados de parte o el tamaño de un encabezado de parte individual. Un atacante podría enviar una solicitud con muchos encabezados repetidos sin terminar el bloque de encabezados o un único valor de encabezado muy grande, causando un trabajo excesivo de la CPU antes del rechazo o la finalización de la solicitud. Esta vulnerabilidad está corregida en 0.0.27.

Information

Published : 2026-05-13 21:16

Updated : 2026-10-26 14:10


NVD link : CVE-2026-42561

Mitre link : CVE-2026-42561

CVE.ORG link : CVE-2026-42561


JSON object : View

Products Affected

No product.

CWE
CWE-770

Allocation of Resources Without Limits or Throttling

CWE-606

Unchecked Input for Loop Condition