cve.bz

CVE-2026-53540 fastapiexpert python-multipart

3.7 lowEPSS 0.3%Fix available

Low (3.7) in fastapiexpert python-multipart. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in python-multipart 0.0.31.

On this page
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.

Severity

CVSS 3.1

3.7 low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 28th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1284 Improper Validation of Specified Quantity in Input
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-53540 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-53540?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-53540?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-53540 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
fastapiexpert:python-multipartbefore 0.0.31

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v9pg-7xvm-68hfPyPIpython-multipart<0.0.310.0.31
PYSEC-2026-3040PyPIpython-multipart<0.0.310.0.31

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13python-multipartno fix listedDEBIAN-CVE-2026-53540
Debian14python-multipart0.0.32-1DEBIAN-CVE-2026-53540
Ubuntu25.10, 26.04:LTS, 26.10 and 2 morepython-multipartno fix listedUBUNTU-CVE-2026-53540
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-python-multipart0.0.20-160000.5.1SUSE-SU-2026:22372-1
openSUSELeap 16.0python-python-multipart0.0.20-160000.5.1openSUSE-SU-2026:21066-1
openSUSETumbleweedpython-python-multipart0.0.32-1.1openSUSE-SU-2026:11099-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Upgrade python-multipart to version 0.0.31 or later, which rejects a negative Content-Length with a ValueError before reading the stream. As a workaround, configure the HTTP stack or reverse proxy to reject or normalize negative Content-Length headers before they reach the application layer.

ProductPackageStateAdvisory
Exploit Intelligenceexploit-intelligence-tech-preview/vulnerability-analysis-rhel9Fix deferred
Migration Toolkit for Applications 8mta/mta-solution-server-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-agentic-sandbox-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-cpu-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-cuda-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-neuron-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-rocm-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-spyre-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-tpu-rhel9Fix deferred
Red Hat AI Inference Serverrhaii/vllm-cpu-rhel9Fix deferred
Red Hat AI Inference Serverrhaii/vllm-cuda-rhel9Fix deferred
Red Hat AI Inference Serverrhaii/vllm-gaudi-rhel9Fix deferred
Red Hat AI Inference Serverrhaii/vllm-neuron-rhel9Fix deferred
Red Hat AI Inference Serverrhaii/vllm-rocm-rhel9Fix deferred
Red Hat AI Inference Serverrhaii/vllm-spyre-rhel9Fix deferred
Red Hat AI Inference Serverrhaii/vllm-tpu-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-chatbot-rhel8Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/lightspeed-chatbot-rhel9Fix deferred
32 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-53540.

References

Check your stackJSON