# CVE-2023-39804: tar: In GNU tar before 1.35, mishandled extension attributes in a PAX archive can lead to an application crash in xheader.c.

CVE-2023-39804 is fixed in 4 products on 1 platform, first by tar 1.29b-2ubuntu0.4+esm1, released November 29, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2023-39804
- Priority: Routine
- CVSS: 6.2 (medium)
- EPSS: 0.0028
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 29, 2023

## Description

In GNU tar before 1.35, mishandled extension attributes in a PAX archive can lead to an application crash in xheader.c.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | tar Debian 12.15 (bookworm) | 1.34+dfsg-1.2+deb12u1 | [DEBIAN-CVE-2023-39804](https://patchblox.com/security/data/fix/linux/debian-cve-2023-39804.md) | Mar 27, 2024 |
| Linux | tar Debian 13.5 (trixie) | 1.34+dfsg-1.3 | [DEBIAN-CVE-2023-39804](https://patchblox.com/security/data/fix/linux/debian-cve-2023-39804.md) | Mar 27, 2024 |
| Linux | tar Debian 14 | 1.34+dfsg-1.3 | [DEBIAN-CVE-2023-39804](https://patchblox.com/security/data/fix/linux/debian-cve-2023-39804.md) | Mar 27, 2024 |
| Linux | tar Ubuntu 18.04.6 LTS (bionic) | 1.29b-2ubuntu0.4+esm1 | [tar 1.29b-2ubuntu0.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-tar-1.29b-2ubuntu0.4-esm1.md) | Nov 29, 2023 |
| Linux | tar Ubuntu 20.04 LTS (focal) | 1.30+dfsg-7ubuntu0.20.04.4 | [tar 1.30+dfsg-7ubuntu0.20.04.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-tar-1.30-dfsg-7ubuntu0.20.04.4.md) | Nov 29, 2023 |
| Linux | tar Ubuntu 22.04.1 LTS (jammy) | 1.34+dfsg-1ubuntu0.1.22.04.2 | [tar 1.34+dfsg-1ubuntu0.1.22.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-tar-1.34-dfsg-1ubuntu0.1.22.04.2.md) | Nov 29, 2023 |
| Linux | tar amzn 2023 | 2:1.34-1.amzn2023.0.4 | [ALAS2023-2024-475](https://patchblox.com/security/data/fix/linux/alas2023-2024-475.md) | Jan 3, 2024 |
| Linux | tar-debuginfo amzn 2023 | 2:1.34-1.amzn2023.0.4 | [ALAS2023-2024-475](https://patchblox.com/security/data/fix/linux/alas2023-2024-475.md) | Jan 3, 2024 |
| Linux | tar-debugsource amzn 2023 | 2:1.34-1.amzn2023.0.4 | [ALAS2023-2024-475](https://patchblox.com/security/data/fix/linux/alas2023-2024-475.md) | Jan 3, 2024 |
| Linux | tar-scripts Ubuntu 18.04.6 LTS (bionic) | 1.29b-2ubuntu0.4+esm1 | [tar-scripts 1.29b-2ubuntu0.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-tar-scripts-1.29b-2ubuntu0.4-esm1.md) | Nov 29, 2023 |
| Linux | tar-scripts Ubuntu 20.04 LTS (focal) | 1.30+dfsg-7ubuntu0.20.04.4 | [tar-scripts 1.30+dfsg-7ubuntu0.20.04.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-tar-scripts-1.30-dfsg-7ubuntu0.20.04.4.md) | Nov 29, 2023 |
| Linux | tar-scripts Ubuntu 22.04.1 LTS (jammy) | 1.34+dfsg-1ubuntu0.1.22.04.2 | [tar-scripts 1.34+dfsg-1ubuntu0.1.22.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-tar-scripts-1.34-dfsg-1ubuntu0.1.22.04.2.md) | Nov 29, 2023 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
