Gallery dl: Internationalized Domain Names
Affects gallery-dlSource GCVE Database
Not known to be exploited · CVSS 6.2 Medium : upgrade to 1.26.9_1 or 1.26.3 when convenient.
Data as of 6 Dec 2026, 20:27 UTC
Thin evidence
One scorer or none| CNA (@huntr_ai) | CVSS 3.0 | 6.2 |
|---|
- Patch
- Available – fixed in 1.26.9_1, 1.26.3, 3.7
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 7 Jul 2024
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.26.9_1 or 1.26.3; idna to 3.7.
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 versions 1.26.3 or 1.26.9_1 or later, where the vulnerability is fixed. If immediate patching is not possible, enforce a maximum domain name length of 253 characters before passing inputs to idna.encode() to prevent resource exhaustion. No other specific mitigations are indicated.
Description
A denial-of-service vulnerability exists in gallery-dl's handling of Internationalized Domain Names (IDNA) via the idna.encode() function. Specially crafted input can cause excessive resource consumption leading to a denial-of-service condition. The issue 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.26.9_1. The vulnerability is addressed in versions 1.26.3 and 1.26.9_1 by rejecting problematic strings without excessive resource use. Enforcing a domain name length limit of 253 characters before calling idna.encode() can mitigate the issue as a workaround.
References
- github.com/kjd/idna/security/advisories/GHSA-jjg7-2v4v-x38h (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2024-3651 (opens in a new tab)
- github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d (opens in a new tab)
- github.com/kjd/idna (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2024-60.yaml (opens in a new tab)
- huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/05/msg00006.html (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4YQUPYH3SVZ5GFF2CDQ55FCM575AZTF2 (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2S5E23N6E52S46KGNYTDFB75LOC4N4D (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S5IDLLD2IKSIVRBSLB34WTSYGLMWUFWF (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULSC7HBJKXB3BZV367WM5BR6DFEC4Z43 (opens in a new tab)