REDHAT-BUG-2546069: Low severity gnupg GnuPG vulnerability

Published Oct 5, 2026
·
Updated

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.

Affected Software

1 affected component
gnupg GnuPG<2.5.19

Event History

Oct 5, 2026
Data Sourced
via Red Hat·07:07 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Users who extract untrusted archives with gpgtar using --directory (or -C) into an existing directory are exposed if that directory contains a pre-existing symlink. The impact is limited to files the extracting user is permitted to create or overwrite.

2

Are extractions into a new directory affected?

No. Extracting an archive into a fresh, empty directory does not have this risk.

3

What can be done if updating is not immediately possible?

Extract untrusted archives only into freshly created empty directories, rather than existing directories that may contain symlinks. Avoid using --directory or -C with an existing extraction directory containing pre-existing symlinks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203