CVE-2026-53540 Python-Multipart: Negative Content-Length in parse_form buffers the entire body in memory
LowCVSS 3.7
EPSS 0.34%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
60 packages: 3 fixed, 56 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/python-multipart(Debian 12) | = 0.0.5-3; = 0.0.6-1; = 0.0.9-1; = 0.0.17-1 +11 more | No fix listed | No fix yet |
| debian/python-multipart(Debian 13) | = 0.0.20-1; = 0.0.20-1.1; = 0.0.20-1.1~deb13u1; = 0.0.22-1 +3 more | No fix listed | No fix yet |
| redhat/ansible-automation-platform-25/lightspeed-chatbot-rhel8(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/lightspeed-chatbot-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/mcp-tools-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-27/lightspeed-chatbot-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-27/mcp-tools-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/container-native-virtualization/ocp-virt-validation-checkup-rhel9(Red Hat container_native_virtualization 4) | All versions | No fix listed | No fix yet |
| redhat/exploit-intelligence-tech-preview/vulnerability-analysis-rhel9(Red Hat exploit_intelligence 0) | All versions | No fix listed | No fix yet |
| redhat/mta/mta-solution-server-rhel9(Red Hat migration_toolkit_applications 8) | All versions | No fix listed | No fix yet |
| redhat/openshift-lightspeed/lightspeed-ocp-rag-rhel9(Red Hat openshift_lightspeed 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-lightspeed/lightspeed-service-api-rhel9(Red Hat openshift_lightspeed 1) | All versions | No fix listed | No fix yet |
| redhat/rhaii/vllm-cpu-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii/vllm-cuda-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii/vllm-gaudi-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii/vllm-neuron-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii/vllm-rocm-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii/vllm-spyre-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii/vllm-tpu-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-cpu-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-cuda-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-neuron-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-rocm-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-spyre-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-tpu-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-aws-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-azure-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-azure-rocm-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-gaudi-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
… and 30 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi python-multipart(PyPI) | < 0.0.31 | 0.0.31 |
| pypi python-multipart(PyPI) | = 0.0.1 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.10 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.11 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.12 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.13 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.14 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.15 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.16 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.17 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.18 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.19 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.2 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.20 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.21 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.22 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.23 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.24 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.25 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.26 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.27 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.28 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.29 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.3 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.30 | No fix listed |
Show 90 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi python-multipart(PyPI) | = 0.0.4 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.5 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.6 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.7 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.8 | No fix listed |
| pypi python-multipart(PyPI) | = 0.0.9 | No fix listed |
| Kludex python-multipart | = < 0.0.31 | No fix listed |
| redhat/exploit-intelligence-tech-preview/vulnerability-analysis-rhel9(Red Hat:exploit_intelligence:0) | All versions | No fix listed |
| redhat/mta/mta-solution-server-rhel9(Red Hat:migration_toolkit_applications:8) | All versions | No fix listed |
| redhat/openshift-lightspeed/lightspeed-ocp-rag-rhel9(Red Hat:openshift_lightspeed:1) | All versions | No fix listed |
| redhat/openshift-lightspeed/lightspeed-service-api-rhel9(Red Hat:openshift_lightspeed:1) | All versions | No fix listed |
| redhat/rhaiis/vllm-cpu-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaiis/vllm-cuda-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaiis/vllm-neuron-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaiis/vllm-rocm-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaiis/vllm-spyre-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaiis/vllm-tpu-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaii/vllm-cpu-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaii/vllm-cuda-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaii/vllm-gaudi-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaii/vllm-neuron-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaii/vllm-rocm-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaii/vllm-spyre-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaii/vllm-tpu-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/ansible-automation-platform-25/lightspeed-chatbot-rhel8(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/lightspeed-chatbot-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/mcp-tools-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-27/lightspeed-chatbot-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-27/mcp-tools-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/rhelai3/bootc-aws-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-azure-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-azure-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gaudi-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gcp-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/disk-image-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhoai/odh-automl-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-caikit-nlp-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-caikit-tgis-serving-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-feature-server-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-kserve-agent-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-kserve-autogluon-server-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-kserve-controller-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-kserve-router-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-kserve-storage-initializer-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-llama-stack-core-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-llm-d-kv-cache-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mlserver-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-vllm-gaudi-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/container-native-virtualization/ocp-virt-validation-checkup-rhel9(Red Hat:container_native_virtualization:4) | All versions | No fix listed |
| redhat/satellite/foreman-mcp-server-rhel9(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/satellite/iop-advisor-engine-rhel9(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/satellite/iop-host-inventory-rhel9(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/satellite/iop-vmaas-rhel9(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/satellite/iop-vulnerability-engine-rhel9(Red Hat:satellite:6) | All versions | No fix listed |
| debian/python-multipart(Debian:12) | All versions | No fix listed |
| debian/python-multipart(Debian:12) | = 0.0.17-1 | No fix listed |
| debian/python-multipart(Debian:12) | = 0.0.17-2 | No fix listed |
| debian/python-multipart(Debian:12) | = 0.0.17-3 | No fix listed |
| debian/python-multipart(Debian:12) | = 0.0.17-4 | No fix listed |
| debian/python-multipart(Debian:12) | = 0.0.17-5 | No fix listed |
| debian/python-multipart(Debian:12) | = 0.0.20-1 | No fix listed |
| debian/python-multipart(Debian:12) | = 0.0.20-1.1 | No fix listed |
| debian/python-multipart(Debian:12) | = 0.0.20-1.1~deb13u1 | No fix listed |
| debian/python-multipart(Debian:12) | = 0.0.22-1 | No fix listed |
| debian/python-multipart(Debian:12) | = 0.0.26-1 | No fix listed |
| debian/python-multipart(Debian:12) | = 0.0.32-1 | No fix listed |
| debian/python-multipart(Debian:12) | = 0.0.5-3 | No fix listed |
| debian/python-multipart(Debian:12) | = 0.0.6-1 | No fix listed |
| debian/python-multipart(Debian:12) | = 0.0.9-1 | No fix listed |
| debian/python-multipart(Debian:13) | All versions | No fix listed |
| debian/python-multipart(Debian:13) | = 0.0.20-1 | No fix listed |
| debian/python-multipart(Debian:13) | = 0.0.20-1.1 | No fix listed |
| debian/python-multipart(Debian:13) | = 0.0.20-1.1~deb13u1 | No fix listed |
| debian/python-multipart(Debian:13) | = 0.0.22-1 | No fix listed |
| debian/python-multipart(Debian:13) | = 0.0.26-1 | No fix listed |
| debian/python-multipart(Debian:13) | = 0.0.32-1 | No fix listed |
| debian/python-multipart(Debian:14) | < 0.0.32-1 | 0.0.32-1 |
| debian/python-multipart(Debian:14) | = 0.0.20-1 | No fix listed |
| debian/python-multipart(Debian:14) | = 0.0.20-1.1 | No fix listed |
| debian/python-multipart(Debian:14) | = 0.0.20-1.1~deb13u1 | No fix listed |
| debian/python-multipart(Debian:14) | = 0.0.22-1 | No fix listed |
| debian/python-multipart(Debian:14) | = 0.0.26-1 | No fix listed |
| ubuntu/python-multipart(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python-multipart(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/python-multipart(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/python-multipart(Ubuntu:26.10) | All versions | No fix listed |
| fastapiexpert python-multipart | < 0.0.31 | 0.0.31 |
References
- https://github.com/Kludex/python-multipart/security/advisories/GHSA-v9pg-7xvm-68hf vendor-advisory
- github.com product
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2491443 issue-tracking
- www.cve.org
- Debian Security Tracker CVE-2026-53540 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking