Skip to main content
CVE-2024-3651VulnerabilityPublished Updated

Gallery dl: Internationalized Domain Names

Affects gallery-dlSource GCVE Database

0
Compare
Authoritative record:CVE-2024-3651· Medium 6.2

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

CVSS 3.0 base score
6.2Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (@huntr_ai)CVSS 3.06.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Homebrewgallery-dlpkg:brew/gallery-dlOther threatsAffected
  • >=1.16.3 <1.26.3
  • >=1.26.8 <1.26.9_1
Fixed in
  • 1.26.3
  • 1.26.9_1
PyPIidnapkg:pypi/idnaOther threatsAffected
  • <3.7
Fixed in
  • 3.7

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

Community reviews

Loading reviews…