Affected versions
Ubuntu22.04:LTS/gnupg2
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/gnupg2
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.04:LTS/gnupg2
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/gnupg2
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/gnupg2
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/gnupg2
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/gnupg2
- Affected versions
- *
- Fixed version
- Not reported
Description
gpgtar in GnuPG before 2.5.19 can allow file overwrite via crafted data in an archive. When extracting an untrusted archive with --directory (aka -C) into an existing directory containing a pre-existing symlink, gpgtar can follow that symlink and create or overwrite a file outside the selected extraction directory. The write is limited by the extraction user's filesystem permissions. An archive extracted into a fresh empty directory does not have this risk.

