---
title: "GNU Tar vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/gnu/tar
type: product
description: "GNU Tar has 20 published CVEs, 0 in CISA KEV and 10 with public exploits."
updated: 2026-08-03
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# GNU Tar vulnerabilities

Vendor: [GNU](https://radicalnotion.ai/vendor/gnu)

- **Published CVEs:** 20
- **In CISA KEV:** 0
- **With a public exploit:** 10
- **With a patch:** 20
- **Average CVSS:** 5.4
- **First CVE:** 2002-10-01
- **Latest CVE:** 2026-08-03
- **Platforms:** enterprise linux, enterprise linux desktop, rpath linux

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 1 |
| High | 3 |
| Medium | 13 |
| Low | 3 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-22](https://radicalnotion.ai/cwe/cwe-22) | Improper Limitation of a Pathname to a Restricted Directory | 2 |
| [CWE-119](https://radicalnotion.ai/cwe/cwe-119) | Improper Restriction of Operations within the Bounds of a Memory Buffer | 2 |
| [CWE-125](https://radicalnotion.ai/cwe/cwe-125) | Out-of-bounds Read | 1 |
| [CWE-24](https://radicalnotion.ai/cwe/cwe-24) | Path Traversal: '../filedir' | 1 |
| [CWE-367](https://radicalnotion.ai/cwe/cwe-367) | Time-of-check Time-of-use (TOCTOU) Race Condition | 1 |
| [CWE-401](https://radicalnotion.ai/cwe/cwe-401) | Missing Release of Memory after Effective Lifetime | 1 |
| [CWE-434](https://radicalnotion.ai/cwe/cwe-434) | Unrestricted Upload of File with Dangerous Type | 1 |
| [CWE-476](https://radicalnotion.ai/cwe/cwe-476) | NULL Pointer Dereference | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2016 | 1 |
| 2017 | 0 |
| 2018 | 1 |
| 2019 | 1 |
| 2020 | 0 |
| 2021 | 1 |
| 2022 | 0 |
| 2023 | 1 |
| 2024 | 1 |
| 2025 | 1 |
| 2026 | 3 |

## Affected versions (top 24 of 91)

| Version | Kind | CVEs |
| --- | --- | --- |
| alpha\_1\_15\_90 | exact | 5 |
| alpha\_1\_15\_90\_incremental\_1 | exact | 5 |
| alpha\_1\_15\_91 | exact | 5 |
| release\_1\_14 | exact | 5 |
| release\_1\_15 | exact | 5 |
| release\_1\_15\_1 | exact | 5 |
| release\_1\_16 | exact | 5 |
| release\_1\_16\_1 | exact | 5 |
| release\_1\_17 | exact | 5 |
| release\_1\_18 | exact | 5 |
| release\_1\_19 | exact | 5 |
| release\_1\_20 | exact | 5 |
| 1.15.1 | range | 6 |
| 1.13.25 | range | 4 |
| 1.14 | range | 4 |
| 1.15 | range | 4 |
| 1.15.90 | range | 4 |
| 1.16 | range | 4 |
| 1.13.19 | range | 3 |
| 1.15.91 | range | 3 |
| \< 1.35 | range | 2 |
| 1.13 | range | 2 |
| 1.13.11 | range | 2 |
| 1.13.14 | range | 2 |

## Fixed in

| Version | CVEs |
| --- | --- |
| 1.35 | 2 |
| 1.19 | 1 |
| 1.32 | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-18477 | Tar: tar: toctou in incremental dumpdir 'x' rename handling allows restore path escape | medium | 4.4 | No | No | Yes |
| CVE-2026-18508 | Tar: tar: --one-top-level hardlink targets not confined to top-level directory enabling arbitrary file overwrite | medium | 4.4 | No | No | Yes |
| CVE-2026-5704 | Tar: tar: hidden file injection via crafted archives | medium | 5.5 | No | Yes | Yes |
| CVE-2025-45582 | tar: Tar path traversal | medium | 4.1 | No | Yes | Yes |
| CVE-2023-39804 | tar: Incorrectly handled extension attributes in PAX archives can lead to a crash | medium | 6.2 | No | No | Yes |
| CVE-2022-48303 | tar: heap buffer overflow at from\_header() in list.c via specially crafted checksum | medium | 5.5 | No | Yes | Yes |
| CVE-2021-20193 | tar: Memory leak in read\_header() in list.c | low | 3.3 | No | No | Yes |
| CVE-2019-9923 | tar: null-pointer dereference in pax\_decode\_header in sparse.c | high | 7.5 | No | Yes | Yes |
| CVE-2018-20482 | tar: Infinite read loop in sparse\_dump\_region function in sparse.c | medium | 4.7 | No | Yes | Yes |
| CVE-2016-6321 | tar: Bypassing the extract path name | high | 7.5 | No | Yes | Yes |
| CVE-2010-0624 | cpio: Heap-based buffer overflow by expanding a specially-crafted archive | medium | 6.8 | No | Yes | Yes |
| CVE-2007-4476 | tar/cpio stack crashing in safer\_name\_suffix | high | 7.5 | No | Yes | Yes |
| CVE-2007-4131 | tar directory traversal vulnerability | medium | 6.8 | No | No | Yes |
| CVE-2006-6097 | security flaw | medium | 4.0 | No | Yes | Yes |
| CVE-2006-0300 | security flaw | medium | 5.1 | No | No | Yes |
| CVE-2005-1918 | tar archive path traversal issue | low | 2.6 | No | No | Yes |
| CVE-2005-2541 | tar: does not properly warn the user when extracting setuid or setgid files | critical | 10.0 | No | No | Yes |
| CVE-2001-1267 | security flaw | low | 2.1 | No | Yes | Yes |
| CVE-2002-1216 | security flaw | medium | 5.0 | No | No | Yes |
| CVE-2002-0399 | security flaw | medium | 5.0 | No | No | Yes |

## Frequently asked questions

### How many CVEs does GNU Tar have?

GNU Tar has 20 published CVE records since 2002.

### How many GNU Tar CVEs are in CISA KEV?

None of GNU Tar's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for GNU Tar vulnerabilities?

Yes — 10 of GNU Tar's CVEs have a known public exploit.

### Which versions of GNU Tar are affected?

94 distinct GNU Tar versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in GNU Tar CVEs?

GNU Tar's CVEs most often map to these CWE weakness types: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer), CWE-125 (Out-of-bounds Read), CWE-24 (Path Traversal: '../filedir').

### How many critical GNU Tar vulnerabilities are there?

GNU Tar has 1 critical and 3 high-severity CVEs.

### What is the average severity of GNU Tar CVEs?

The average CVSS base score across GNU Tar's scored CVEs is 5.4.

## Other products from this vendor

- [Binutils](https://radicalnotion.ai/vendor/gnu/binutils) (288 CVEs)
- [glibc](https://radicalnotion.ai/vendor/gnu/glibc) (166 CVEs)
- [LibreDWG](https://radicalnotion.ai/vendor/gnu/libredwg) (102 CVEs)
- [gnutls](https://radicalnotion.ai/vendor/gnu/gnutls) (75 CVEs)
- [GRUB2](https://radicalnotion.ai/vendor/gnu/grub2) (57 CVEs)
- [Mailman](https://radicalnotion.ai/vendor/gnu/mailman) (47 CVEs)
- [Emacs](https://radicalnotion.ai/vendor/gnu/emacs) (45 CVEs)
- [wget](https://radicalnotion.ai/vendor/gnu/wget) (26 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/gnu/tar). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
