UBUNTU-CVE-2026-42561

Source
https://ubuntu.com/security/CVE-2026-42561
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42561.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-42561
Upstream
  • CVE-2026-42561
Published
2026-05-13T21:16:00Z
Modified
2026-05-20T22:03:02.439763387Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:22.04:LTS / python-multipart

Package

Name
python-multipart
Purl
pkg:deb/ubuntu/python-multipart?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.0.5-2
0.0.5-2ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-multipart",
            "binary_version": "0.0.5-2ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42561.json"

Ubuntu:Pro:24.04:LTS / python-multipart

Package

Name
python-multipart
Purl
pkg:deb/ubuntu/python-multipart?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.0.5-3
0.0.6-1
0.0.9-1
0.0.9-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-multipart",
            "binary_version": "0.0.9-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42561.json"

Ubuntu:25.10 / python-multipart

Package

Name
python-multipart
Purl
pkg:deb/ubuntu/python-multipart?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.0.20-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-python-multipart",
            "binary_version": "0.0.20-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42561.json"

Ubuntu:26.04:LTS / python-multipart

Package

Name
python-multipart
Purl
pkg:deb/ubuntu/python-multipart?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.0.20-1
0.0.20-1.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-python-multipart",
            "binary_version": "0.0.20-1.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42561.json"