CVE-2024-25711: diffoscope before 256 allows directory traversal via an embedded filename in a GPG file
Affects diffoscopeSource GCVE Database
Not known to be exploited · CVSS 7.1 High.
Data as of 24 Nov 2026, 19:25 UTC
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 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSdiffoscopepkg:deb/ubuntu/diffoscope?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSdiffoscopepkg:deb/ubuntu/diffoscope?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSdiffoscopepkg:deb/ubuntu/diffoscope?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSdiffoscopepkg:deb/ubuntu/diffoscope?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 16.04 LTSdiffoscopepkg:deb/ubuntu/diffoscope?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
diffoscope before 256 allows directory traversal via an embedded filename in a GPG file. Contents of any file, such as ../.ssh/id_rsa, may be disclosed to an attacker. This occurs because the value of the gpg --use-embedded-filenames option is trusted.
References
- ubuntu.com/security/CVE-2024-25711 (opens in a new tab)
- salsa.debian.org/reproducible-builds/diffoscope/-/issues/361 (opens in a new tab)
- salsa.debian.org/reproducible-builds/diffoscope/-/commit/458f7f04bc053a0066aa7d2fd3251747d4899476 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-25711 (opens in a new tab)