cve.bz

CVE-2026-42561 kludex python-multipart: Unchecked Input for Loop Condition

7.5 highEPSS 0.7%Fix available

High (7.5) in kludex python-multipart. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in python-multipart 0.0.27.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 56th 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: yes · Technical impact: partial, assessed 2026-05-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-770 Allocation of Resources Without Limits or Throttling
CWE-606 Unchecked Input for Loop Condition
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-42561 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42561?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42561?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-42561 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 CNA's record in the CVE List.

ProductAffected
Kludex python-multipart< 0.0.27

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pp6c-gr5w-3c5gPyPIpython-multipart<0.0.270.0.27
PYSEC-2026-3039PyPIpython-multipart<0.0.270.0.27

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13python-multipartno fix listedDEBIAN-CVE-2026-42561
Debian14python-multipart0.0.32-1DEBIAN-CVE-2026-42561
Ubuntu25.10, 26.04:LTS, 26.10 and 2 morepython-multipartno fix listedUBUNTU-CVE-2026-42561
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-python-multipart0.0.20-160000.4.1SUSE-SU-2026:21999-1
openSUSETumbleweedpython-python-multipart0.0.28-1.1openSUSE-SU-2026:10797-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 Important.

Red Hat's statement

This is an Important denial of service vulnerability in python-multipart. A remote attacker can trigger excessive CPU utilization by sending specially crafted multipart/form-data requests, leading to service disruption.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/lightspeed-chatbot-rhel9:1783832856Fixed 2026-07-20RHSA-2026:42132
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/mcp-tools-rhel9:1783920640Fixed 2026-07-20RHSA-2026:42132
Red Hat Ansible Automation Platform 2.7ansible-automation-platform-27/lightspeed-chatbot-rhel9:1783923914Fixed 2026-07-20RHSA-2026:42142
Red Hat Ansible Automation Platform 2.7ansible-automation-platform-27/mcp-tools-rhel9:1783918403Fixed 2026-07-20RHSA-2026:42142
Red Hat Migration Toolkit for Applications 8.2mta/mta-solution-server-rhel9:1784109883Fixed 2026-07-21RHSA-2026:43038
Red Hat OpenShift AI 2.25rhoai/odh-caikit-nlp-rhel9:1791448212Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 3.3rhoai/odh-mlserver-rhel9:1782887848Fixed 2026-07-09RHSA-2026:37275
Red Hat Satellite 6.17satellite/iop-advisor-engine-rhel9:1784834402Fixed 2026-07-23RHSA-2026:44696
Red Hat Satellite 6.18satellite/iop-vulnerability-engine-rhel9:1784554123Fixed 2026-08-06RHSA-2026:51357
Red Hat Satellite 6.19satellite/iop-vmaas-rhel9:1785929994Fixed 2026-08-06RHSA-2026:51194
Exploit Intelligenceexploit-intelligence-tech-preview/vulnerability-analysis-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Not affected
Red Hat AI Inference Serverrhaiis/vllm-cpu-rhel9Will not fix
Red Hat AI Inference Serverrhaiis/vllm-cuda-rhel9Not affected
Red Hat AI Inference Serverrhaiis/vllm-neuron-rhel9Will not fix
Red Hat AI Inference Serverrhaiis/vllm-rocm-rhel9Not affected
Red Hat AI Inference Serverrhaiis/vllm-spyre-rhel9Will not fix
Red Hat AI Inference Serverrhaiis/vllm-tpu-rhel9Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-chatbot-rhel8Will not fix
22 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-42561.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON