Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 66%

UBUNTU-CVE-2026-45409

0
Medium
Published: 06/05/2026 (06/05/2026, 23:16:00 UTC)
Source: GCVE Database
Product: python-pip

Description

A denial-of-service vulnerability exists in the Python IDNA library versions prior to 3.15, where specially crafted inputs to the idna.encode() function can cause excessive resource consumption due to delayed length validation. This issue was partially addressed in version 3.14 and more comprehensively in 3.15. The vulnerability is triggered by unusually large inputs that exceed normal domain name lengths. Enforcing the domain name length limit of 253 characters before calling idna.encode() can mitigate the issue.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
python-pip
pkg:deb/ubuntu/[email protected]+esm5?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=1.4.1-2=1.5.4-1=1.5.4-1ubuntu1=1.5.4-1ubuntu3=1.5.4-1ubuntu4=1.5.4-1ubuntu4+esm1=1.5.4-1ubuntu4+esm2=1.5.4-1ubuntu4+esm3=1.5.4-1ubuntu4+esm4=1.5.4-1ubuntu4+esm5
Ubuntu:Pro:16.04:LTSmore threats →ghsa
python-idna
pkg:deb/ubuntu/[email protected]~esm1?arch=source&distro=esm-infra/xenial
Affected versions
=2.0-3=2.0-3ubuntu0.1~esm1
Ubuntu:Pro:16.04:LTSmore threats →ghsa
python-pip
pkg:deb/ubuntu/[email protected]+esm12?arch=source&distro=esm-apps/xenial
Affected versions
=1.5.6-7ubuntu1=1.5.6-7ubuntu2=8.0.2-7=8.0.3-1=8.0.3-2=8.1.0-1=8.1.0-2=8.1.1-1=8.1.1-2=8.1.1-2ubuntu0.1=8.1.1-2ubuntu0.2=8.1.1-2ubuntu0.4=8.1.1-2ubuntu0.6=8.1.1-2ubuntu0.6+esm2=8.1.1-2ubuntu0.6+esm3=8.1.1-2ubuntu0.6+esm4=8.1.1-2ubuntu0.6+esm5=8.1.1-2ubuntu0.6+esm6=8.1.1-2ubuntu0.6+esm8=8.1.1-2ubuntu0.6+esm10=8.1.1-2ubuntu0.6+esm11=8.1.1-2ubuntu0.6+esm12
Ubuntu:Pro:18.04:LTSmore threats →ghsa
python-idna
pkg:deb/ubuntu/[email protected]~esm1?arch=source&distro=esm-infra/bionic
Affected versions
=2.5-1=2.6-1=2.6-1ubuntu0.1~esm1
Ubuntu:Pro:18.04:LTSmore threats →ghsa
python-pip
pkg:deb/ubuntu/[email protected]~ubuntu1.18.04.8+esm8?arch=source&distro=esm-apps/bionic
Affected versions
=9.0.1-2=9.0.1-2.3~ubuntu1=9.0.1-2.3~ubuntu1.18.04.1=9.0.1-2.3~ubuntu1.18.04.2=9.0.1-2.3~ubuntu1.18.04.3=9.0.1-2.3~ubuntu1.18.04.4=9.0.1-2.3~ubuntu1.18.04.5=9.0.1-2.3~ubuntu1.18.04.5+esm2=9.0.1-2.3~ubuntu1.18.04.5+esm3=9.0.1-2.3~ubuntu1.18.04.6=9.0.1-2.3~ubuntu1.18.04.6+esm1=9.0.1-2.3~ubuntu1.18.04.7=9.0.1-2.3~ubuntu1.18.04.7+esm1=9.0.1-2.3~ubuntu1.18.04.8=9.0.1-2.3~ubuntu1.18.04.8+esm1=9.0.1-2.3~ubuntu1.18.04.8+esm2=9.0.1-2.3~ubuntu1.18.04.8+esm4=9.0.1-2.3~ubuntu1.18.04.8+esm6=9.0.1-2.3~ubuntu1.18.04.8+esm7=9.0.1-2.3~ubuntu1.18.04.8+esm8
Ubuntu:20.04:LTSmore threats →ghsa
python-idna
pkg:deb/ubuntu/[email protected]?arch=source&distro=focal
Affected versions
=2.6-2=2.6-2build1=2.8-1=2.8-1ubuntu0.1
Ubuntu:Pro:20.04:LTSmore threats →ghsa
python-pip
pkg:deb/ubuntu/[email protected]+esm4?arch=source&distro=esm-apps/focal
Affected versions
=18.1-5=18.1-5build1=18.1-5ubuntu1=20.0.2-2=20.0.2-4=20.0.2-5=20.0.2-5ubuntu1=20.0.2-5ubuntu1.1=20.0.2-5ubuntu1.3=20.0.2-5ubuntu1.4=20.0.2-5ubuntu1.5=20.0.2-5ubuntu1.6=20.0.2-5ubuntu1.7=20.0.2-5ubuntu1.8=20.0.2-5ubuntu1.9=20.0.2-5ubuntu1.10=20.0.2-5ubuntu1.10+esm2=20.0.2-5ubuntu1.11=20.0.2-5ubuntu1.11+esm2=20.0.2-5ubuntu1.11+esm3=20.0.2-5ubuntu1.11+esm4
Ubuntu:22.04:LTSmore threats →ghsa
python-idna
pkg:deb/ubuntu/[email protected]?arch=source&distro=jammy
Affected versions
<3.3-1ubuntu0.2=2.10-1=3.2-2=3.3-1=3.3-1ubuntu0.1
Ubuntu:Pro:22.04:LTSmore threats →ghsa
python-pip
pkg:deb/ubuntu/[email protected]+dfsg-1ubuntu0.7+esm3?arch=source&distro=esm-apps/jammy
Affected versions
=20.3.4-4=21.3.1+dfsg-3=22.0.2+dfsg-1=22.0.2+dfsg-1ubuntu0.1=22.0.2+dfsg-1ubuntu0.2=22.0.2+dfsg-1ubuntu0.3=22.0.2+dfsg-1ubuntu0.4=22.0.2+dfsg-1ubuntu0.5=22.0.2+dfsg-1ubuntu0.6=22.0.2+dfsg-1ubuntu0.7=22.0.2+dfsg-1ubuntu0.7+esm1=22.0.2+dfsg-1ubuntu0.7+esm2=22.0.2+dfsg-1ubuntu0.7+esm3
Ubuntu:24.04:LTSmore threats →ghsa
python-idna
pkg:deb/ubuntu/[email protected]?arch=source&distro=noble
Affected versions
<3.6-2ubuntu0.2=3.3-2=3.6-2=3.6-2ubuntu0.1
Ubuntu:Pro:24.04:LTSmore threats →ghsa
python-pip
pkg:deb/ubuntu/[email protected]+dfsg-1ubuntu1.3+esm3?arch=source&distro=esm-apps/noble
Affected versions
=23.2+dfsg-1=23.3+dfsg-1=24.0+dfsg-1=24.0+dfsg-1ubuntu1=24.0+dfsg-1ubuntu1.1=24.0+dfsg-1ubuntu1.2=24.0+dfsg-1ubuntu1.3=24.0+dfsg-1ubuntu1.3+esm1=24.0+dfsg-1ubuntu1.3+esm2=24.0+dfsg-1ubuntu1.3+esm3
Ubuntu:25.10more threats →ghsa
python-idna
pkg:deb/ubuntu/[email protected]?arch=source&distro=questing
Affected versions
=3.10-1
Ubuntu:25.10more threats →ghsa
python-pip
pkg:deb/ubuntu/[email protected]+dfsg-1ubuntu2?arch=source&distro=questing
Affected versions
=25.0+dfsg-1=25.1.1+dfsg-1=25.1.1+dfsg-1ubuntu1=25.1.1+dfsg-1ubuntu2
Ubuntu:26.04:LTSmore threats →ghsa
python-idna
pkg:deb/ubuntu/[email protected]?arch=source&distro=resolute
Affected versions
<3.11-1ubuntu0.1=3.10-1=3.10-1build1=3.11-1
Ubuntu:Pro:26.04:LTSmore threats →ghsa
python-pip
pkg:deb/ubuntu/[email protected]+dfsg-1ubuntu2+esm3?arch=source&distro=esm-apps/resolute
Affected versions
=25.1.1+dfsg-1ubuntu2=25.1.1+dfsg-1ubuntu2+esm1=25.1.1+dfsg-1ubuntu2+esm2=25.1.1+dfsg-1ubuntu2+esm3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 12:45:56 UTC

Technical Analysis

The Python IDNA library provides support for Internationalized Domain Names in Applications. Versions prior to 3.15 do not adequately reject overly long inputs early in processing, specifically in the valid_contexto function, allowing crafted inputs such as repeated Unicode characters to consume significant processing time and resources. This vulnerability is a continuation of CVE-2024-3651, with the original fix incomplete. Starting in version 3.14, the library began rejecting long inputs earlier, and version 3.15 extended this to additional functions. The vulnerability can lead to denial-of-service conditions when unvalidated, arbitrarily large inputs are passed to idna.encode().

Potential Impact

An attacker can cause a denial-of-service by providing specially crafted, excessively long inputs to the idna.encode() function, resulting in high resource consumption and potential service disruption. This affects applications using vulnerable versions of the Python IDNA library that do not enforce domain name length limits prior to encoding.

Mitigation Recommendations

A fix is available starting from Python IDNA library version 3.15, which includes improved early rejection of long inputs to reduce resource consumption. As a workaround, applications should enforce the maximum domain name length of 253 characters before passing inputs to idna.encode(). Users should upgrade to version 3.15 or later to fully mitigate this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-45409
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS","Ubuntu:Pro:26.04:LTS"]
Database Specific Severity
null
Cvss Version
4.0

Threat ID: 6a58b4ac68715ace43da934d

Added to database: 07/16/2026, 10:38:36 UTC

Last enriched: 07/16/2026, 12:45:56 UTC

Last updated: 08/27/2026, 10:52:09 UTC

Views: 25

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses