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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | diffoscope | 256 | — |
| Debian 13 | diffoscope | 256 | — |
| Debian 12 | diffoscope | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | diffoscope | No fix yet | — |
| Ubuntu 22.04 LTS | diffoscope | No fix yet | — |
| Ubuntu 20.04 LTS | diffoscope | No fix yet | — |
| Ubuntu 18.04 LTS | diffoscope | No fix yet | — |
| Ubuntu 16.04 LTS | diffoscope | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | diffoscope | 261-1.1 | openSUSE-SU-2024:13792-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | diffoscope | 256-r0 | — |
| Alpine v3.23 | diffoscope | 256-r0 | — |
| Alpine v3.22 | diffoscope | 256-r0 | — |
| Alpine v3.21 | diffoscope | 256-r0 | — |
| Alpine v3.20 | diffoscope | 256-r0 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | diffoscope | 256-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | diffoscope | < 256 | 256 | GHSA-33w6-hvmq-gh4x |
Advisories 1
- openSUSE-SU-2024:13792-1 diffoscope-261-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026