CVE-2024-25711: diffoscope Path Traversal vulnerability
Affects diffoscopeSource GCVE Database
Not known to be exploited · CVSS 7.1 High : upgrade to 327 soon.
Data as of 1 Nov 2026, 22:57 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 62% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 327
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 28 May 2025
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 1 Nov 2026.
What to do
Upgrade diffoscope to 327.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewdiffoscopepkg:brew/diffoscopeOther 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
Upgrade diffoscope to version 327 or later, where this vulnerability has been fixed. No additional mitigation is required once the official fix is applied.
Description
A directory traversal vulnerability exists in diffoscope versions before 327. This flaw allows an attacker to disclose contents of arbitrary files by exploiting embedded filenames in GPG files. The vulnerability arises because diffoscope trusts the value of the gpg --use-embedded-filenames option, enabling disclosure of sensitive files such as private SSH keys.
References
- nvd.nist.gov/vuln/detail/CVE-2024-25711 (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/diffoscope/PYSEC-2024-41.yaml (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47 (opens in a new tab)
- salsa.debian.org/reproducible-builds/diffoscope (opens in a new tab)
- salsa.debian.org/reproducible-builds/diffoscope/-/commit/dfed769904c27d66a14a5903823d9c8c5aae860e (opens in a new tab)
- salsa.debian.org/reproducible-builds/diffoscope/-/issues/361 (opens in a new tab)