CVE-2023-39804: Medium severity GNU tar vulnerability

Published Nov 30, 2023
·
Updated

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

Other sources

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

Ubuntu

Affected Software

10 affected componentsFixes available
ubuntu/tar<1.29
1.29
ubuntu/tar<1.30+dfsg-7ubuntu0.20.04.4
1.30+dfsg-7ubuntu0.20.04.4
ubuntu/tar<1.34+dfsg-1ubuntu0.1.22.04.2
1.34+dfsg-1ubuntu0.1.22.04.2
ubuntu/tar<1.34+dfsg-1.2ubuntu0.2
1.34+dfsg-1.2ubuntu0.2
ubuntu/tar<1.34+dfsg-1.2ubuntu1.1
1.34+dfsg-1.2ubuntu1.1
ubuntu/tar<1.27.1-1ubuntu0.1+
1.27.1-1ubuntu0.1+
ubuntu/tar<1.28-2.1ubuntu0.2+
1.28-2.1ubuntu0.2+
debian/tar
1.34+dfsg-1+deb11u11.34+dfsg-1.2+deb12u11.35+dfsg-3.1
GNU tar<1.35
Microsoft cbl2 tar 1.34-3<1.34-3
1.34-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/tar to a version that resolves this vulnerability.

    Fixed in 1.29
  2. Upgrade

    Upgrade ubuntu/tar to a version that resolves this vulnerability.

    Fixed in 1.30+dfsg-7ubuntu0.20.04.4
  3. Upgrade

    Upgrade ubuntu/tar to a version that resolves this vulnerability.

    Fixed in 1.34+dfsg-1ubuntu0.1.22.04.2
  4. Upgrade

    Upgrade ubuntu/tar to a version that resolves this vulnerability.

    Fixed in 1.34+dfsg-1.2ubuntu0.2
  5. Upgrade

    Upgrade ubuntu/tar to a version that resolves this vulnerability.

    Fixed in 1.34+dfsg-1.2ubuntu1.1
  6. Upgrade

    Upgrade ubuntu/tar to a version that resolves this vulnerability.

    Fixed in 1.27.1-1ubuntu0.1+
  7. Upgrade

    Upgrade ubuntu/tar to a version that resolves this vulnerability.

    Fixed in 1.28-2.1ubuntu0.2+
  8. Upgrade

    Upgrade debian/tar to a version that resolves this vulnerability.

    Fixed in 1.34+dfsg-1+deb11u1Fixed in 1.34+dfsg-1.2+deb12u1Fixed in 1.35+dfsg-3.1
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.34-3

Event History

Nov 30, 2023
CVE Published
via Ubuntu·12:00 AM
Dec 12, 2023
Data Sourced
via Debian·06:45 AM
SeverityAffected Software
Mar 27, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:15 AM
Description
Data Sourced
via NVD·04:15 AM
RemedySeverityAffected Software
Nov 23, 2024
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverity
Jul 30, 2025
Data Sourced
via Debian·12:13 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-39804?

CVE-2023-39804 is considered to have a medium severity due to potential application crashes.

2

How do I fix CVE-2023-39804?

To fix CVE-2023-39804, upgrade GNU tar to version 1.35 or later.

3

Which versions of tar are affected by CVE-2023-39804?

GNU tar versions prior to 1.35 are affected by CVE-2023-39804.

4

What operating systems are impacted by CVE-2023-39804?

CVE-2023-39804 impacts multiple Linux distributions including Ubuntu and Debian.

5

Can CVE-2023-39804 cause data loss?

CVE-2023-39804 does not directly lead to data loss, but it can cause application crashes that may disrupt normal operations.

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