Description
pax_decode_header in sparse.c in GNU Tar before 1.32 had a NULL pointer dereference when parsing certain archives that have malformed extended headers.
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 | tar | 1.32+dfsg-1 | — |
| Debian 13 | tar | 1.32+dfsg-1 | — |
| Debian 12 | tar | 1.32+dfsg-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | tar | 1.30+dfsg-7ubuntu0.20.04.1 | USN-4692-1 |
| Ubuntu 18.04 LTS | tar | 1.29b-2ubuntu0.2 | USN-4692-1 |
| Ubuntu 16.04 LTS | tar | 1.28-2.1ubuntu0.2 | USN-4692-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | tar | 1.27.1-1ubuntu0.1+esm1 | USN-4692-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | tar | 1.34-150000.3.12.1 | SUSE-SU-2022:1548-1 |
| SLES 15 | tar | 1.30-3.3.2 | SUSE-SU-2019:0926-1 |
| SLES 12 SP5 | tar | 1.27.1-15.6.3 | SUSE-SU-2020:2806-1 |
| SLES 11 SP4 | tar | 1.27.1-14.8.1 | SUSE-SU-2019:14215-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | tar | 1.27.1-15.6.3 | SUSE-SU-2020:2806-1 |
| SLE Real Time 15 SP2 | tar | 1.34-150000.3.12.1 | SUSE-SU-2022:1548-1 |
| SLE Micro 5.2 | tar | 1.34-150000.3.12.1 | SUSE-SU-2022:1548-1 |
| SLE Micro 5.1 | tar | 1.34-150000.3.12.1 | SUSE-SU-2022:1548-1 |
| SLE Micro 5.0 | tar | 1.34-150000.3.12.1 | SUSE-SU-2022:1548-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | tar | 1.27.1-14.8.1 | SUSE-SU-2019:14215-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | tar | 1.34-2.2 | openSUSE-SU-2024:11422-1 |
| openSUSE Leap 15.3 | tar | 1.34-150000.3.12.1 | SUSE-SU-2022:1548-1 |
| openSUSE Leap 15.0 | tar | 1.30-lp150.7.1 | openSUSE-SU-2019:1237-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | tar | 2:1.26-35.amzn2.0.2 | ALAS2-2023-2064 |
Advisories 11
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- USN-4692-1 tar vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- SUSE-SU-2019:0926-1 Security update for tar SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2806-1 Security update for tar SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:1237-1 Security update for tar SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11422-1 tar-1.34-2.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:14215-1 Security update for tar SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1548-1 Security update for tar SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- ICSA-24-284-16 Rockwell Automation DataMosaix Private Cloud CISA ICS & IT advisories · Oct 10, 2024
- ALAS2-2023-2064 Moderate: tar security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 1, 2023
References
- https://bugs.launchpad.net/ubuntu/+source/tar/+bug/1810241
- http://git.savannah.gnu.org/cgit/tar.git/commit/?id=cb07844454d8cc9fb21f53ace75975f91185a120
- http://savannah.gnu.org/bugs/?55369
- openSUSE-SU-2019:1237 vendor-advisory
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list