UBUNTU-CVE-2026-45409
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.
AI Analysis
Technical Summary
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.
UBUNTU-CVE-2026-45409
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
Affected software
pkg:deb/ubuntu/[email protected]+esm5?arch=source&distro=esm-infra-legacy/trustypkg:deb/ubuntu/[email protected]~esm1?arch=source&distro=esm-infra/xenialpkg:deb/ubuntu/[email protected]+esm12?arch=source&distro=esm-apps/xenialpkg:deb/ubuntu/[email protected]~esm1?arch=source&distro=esm-infra/bionicpkg:deb/ubuntu/[email protected]~ubuntu1.18.04.8+esm8?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/[email protected]?arch=source&distro=focalpkg:deb/ubuntu/[email protected]+esm4?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/[email protected]?arch=source&distro=jammypkg:deb/ubuntu/[email protected]+dfsg-1ubuntu0.7+esm3?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/[email protected]?arch=source&distro=noblepkg:deb/ubuntu/[email protected]+dfsg-1ubuntu1.3+esm3?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/[email protected]+dfsg-1ubuntu2?arch=source&distro=questingpkg:deb/ubuntu/[email protected]?arch=source&distro=resolutepkg:deb/ubuntu/[email protected]+dfsg-1ubuntu2+esm3?arch=source&distro=esm-apps/resoluteRun 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.