Gallery dl: Internationalized Domain Names
Affects gallery-dlSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 6.9 Medium : upgrade to 1.32.1_2 or 1.26.3 when convenient.
Data as of 6 Dec 2026, 20:27 UTC
- Patch
- Available – fixed in 1.32.1_2, 1.26.3, 3.15
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Dec 2026.
What to do
Upgrade gallery-dl to 1.32.1_2 or 1.26.3; idna to 3.15.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewgallery-dlpkg:brew/gallery-dlOther threats | Affected
| Fixed in
|
PyPIidnapkg:pypi/idnaOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official patches by upgrading gallery-dl to version 1.26.3 or later, or 1.32.1_2 or later, where the vulnerability is fixed. Alternatively, enforce domain name length limits (maximum 253 characters) before passing inputs to idna.encode() to prevent resource exhaustion. No other mitigations are required if patched.
Description
A vulnerability in the gallery-dl software's handling of Internationalized Domain Names (IDNA) allows specially crafted inputs to the idna.encode() function to consume excessive resources, potentially causing a denial-of-service (DoS). This issue arises from incomplete remediation of a previous vulnerability (CVE-2024-3651). The vulnerability affects versions from 1.16.3 up to but not including 1.26.3, and from 1.26.8 up to but not including 1.32.1_2. Starting with version 3.14, input length checks were improved to reject long inputs early, and further extended in version 3.15. Enforcing domain name length limits before calling idna.encode() can mitigate the issue.