Home / Gnu / Tar / CVE-2023-39804
CVE-2023-39804: is it exploited, and which versions of Gnu Tar are affected and fixed?
CVE-2023-39804 is a vulnerability in Gnu Tar. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: tar before 1.35 (NVD). Fixed in 1.35 (NVD). Severity: Medium (6.2, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:31 UTC.
What is CVE-2023-39804?
In GNU tar before 1.35, mishandled extension attributes in a PAX archive can lead to an application crash in xheader.c.
From the CVE record by mitre, last updated November 4, 2025, 18:16 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| gnu | tar | before 1.35 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:12 UTC.
How severe is CVE-2023-39804?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.2 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-39804 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, August 4, 2024)
- EPSS
- 0.29% probability of exploitation activity in the next 30 days, percentile 22.6 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- https://git.savannah.gnu.org/cgit/tar.git/commit/?id=a339f05cd269013fa133d2f148d73f6f7d4247e4
- https://git.savannah.gnu.org/cgit/tar.git/tree/src/xheader.c?h=release_1_34#n1723
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058079
- https://lists.debian.org/debian-lts-announce/2024/03/msg00008.html
When was it published, and where is the official record?
- Reserved
- August 7, 2023
- Published
- March 27, 2024, 00:00 UTC
- CVE record updated
- November 4, 2025, 18:16 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 06:12 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:31 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Tar?
- Jul 11, 2025CVE-2025-45582 GNU Tar: path Traversal: '../filedir'
- Jan 30, 2023CVE-2022-48303 Gnu Tar: out-of-bounds read
- Mar 22, 2019CVE-2019-9923 Gnu Tar: NULL pointer dereference (crash)
- Dec 26, 2018CVE-2018-20482 Gnu Tar: infinite loop (denial of service)
- Dec 9, 2016CVE-2016-6321 Gnu Tar: path traversal (reading or writing files outside the intended folder)
- Mar 12, 2010CVE-2010-0624 Gnu Cpio: memory corruption (buffer overflow)
- Sep 5, 2007CVE-2007-4476 Gnu Tar: memory corruption (buffer overflow)
- Aug 25, 2007CVE-2007-4131 Gnu Tar: n/a
Questions about CVE-2023-39804
Is CVE-2023-39804 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.29% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Gnu Tar are affected by CVE-2023-39804?
tar before 1.35, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2023-39804?
1.35, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-39804?
Medium (6.2, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2023-39804?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.