USN-8477-2 (UBUNTU-CVE-2026-5704)

Vulnerability from osv_ubuntu – Published: 2026-07-16 20:05 – Updated: 2026-07-16 20:05 – Source website
VLAI
Summary
tar regression
Details

USN-8477-1 fixed a vulnerability in tar. The update introduced a regression that could cause tar to fail to extract certain valid files. This update fixes the problem.

Original advisory details:

It was discovered that tar incorrectly handled certain crafted archive files. An attacker could possibly use this to inject hidden files with attacker-controlled content, bypassing pre-extraction inspection mechanisms.


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-5704",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:14.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "tar",
            "binary_version": "1.27.1-1ubuntu0.1+esm6"
          },
          {
            "binary_name": "tar-scripts",
            "binary_version": "1.27.1-1ubuntu0.1+esm6"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "tar",
        "purl": "pkg:deb/ubuntu/tar@1.27.1-1ubuntu0.1+esm6?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.27.1-1ubuntu0.1+esm6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.26+dfsg-8",
        "1.27-3",
        "1.27-4",
        "1.27.1-1",
        "1.27.1-1ubuntu0.1",
        "1.27.1-1ubuntu0.1+esm1",
        "1.27.1-1ubuntu0.1+esm2",
        "1.27.1-1ubuntu0.1+esm3",
        "1.27.1-1ubuntu0.1+esm4",
        "1.27.1-1ubuntu0.1+esm5"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-5704",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:16.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "tar",
            "binary_version": "1.28-2.1ubuntu0.2+esm5"
          },
          {
            "binary_name": "tar-scripts",
            "binary_version": "1.28-2.1ubuntu0.2+esm5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "tar",
        "purl": "pkg:deb/ubuntu/tar@1.28-2.1ubuntu0.2+esm5?arch=source\u0026distro=esm-infra-legacy/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.28-2.1ubuntu0.2+esm5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.27.1-2",
        "1.28-2ubuntu1",
        "1.28-2.1",
        "1.28-2.1ubuntu0.1",
        "1.28-2.1ubuntu0.2",
        "1.28-2.1ubuntu0.2+esm1",
        "1.28-2.1ubuntu0.2+esm2",
        "1.28-2.1ubuntu0.2+esm3",
        "1.28-2.1ubuntu0.2+esm4"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-5704",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:18.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "tar",
            "binary_version": "1.29b-2ubuntu0.4+esm3"
          },
          {
            "binary_name": "tar-scripts",
            "binary_version": "1.29b-2ubuntu0.4+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "tar",
        "purl": "pkg:deb/ubuntu/tar@1.29b-2ubuntu0.4+esm3?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.29b-2ubuntu0.4+esm3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.29b-2",
        "1.29b-2ubuntu0.1",
        "1.29b-2ubuntu0.2",
        "1.29b-2ubuntu0.3",
        "1.29b-2ubuntu0.4",
        "1.29b-2ubuntu0.4+esm1",
        "1.29b-2ubuntu0.4+esm2"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-5704",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "tar",
            "binary_version": "1.30+dfsg-7ubuntu0.20.04.4+esm2"
          },
          {
            "binary_name": "tar-scripts",
            "binary_version": "1.30+dfsg-7ubuntu0.20.04.4+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "tar",
        "purl": "pkg:deb/ubuntu/tar@1.30+dfsg-7ubuntu0.20.04.4+esm2?arch=source\u0026distro=esm-infra/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.30+dfsg-7ubuntu0.20.04.4+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.30+dfsg-6",
        "1.30+dfsg-7",
        "1.30+dfsg-7ubuntu0.20.04.1",
        "1.30+dfsg-7ubuntu0.20.04.2",
        "1.30+dfsg-7ubuntu0.20.04.3",
        "1.30+dfsg-7ubuntu0.20.04.4",
        "1.30+dfsg-7ubuntu0.20.04.4+esm1"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-5704",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:22.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "tar",
            "binary_version": "1.34+dfsg-1ubuntu0.1.22.04.5"
          },
          {
            "binary_name": "tar-scripts",
            "binary_version": "1.34+dfsg-1ubuntu0.1.22.04.5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "tar",
        "purl": "pkg:deb/ubuntu/tar@1.34+dfsg-1ubuntu0.1.22.04.5?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.34+dfsg-1ubuntu0.1.22.04.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.34+dfsg-1build1",
        "1.34+dfsg-1build2",
        "1.34+dfsg-1build3",
        "1.34+dfsg-1ubuntu0.1.22.04.1",
        "1.34+dfsg-1ubuntu0.1.22.04.2",
        "1.34+dfsg-1ubuntu0.1.22.04.3",
        "1.34+dfsg-1ubuntu0.1.22.04.4"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-5704",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:24.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "tar",
            "binary_version": "1.35+dfsg-3ubuntu0.3"
          },
          {
            "binary_name": "tar-scripts",
            "binary_version": "1.35+dfsg-3ubuntu0.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "tar",
        "purl": "pkg:deb/ubuntu/tar@1.35+dfsg-3ubuntu0.3?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.35+dfsg-3ubuntu0.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.34+dfsg-1.2ubuntu1",
        "1.34+dfsg-1.2ubuntu2",
        "1.34+dfsg-1.3ubuntu1",
        "1.34+dfsg-1.4",
        "1.35+dfsg-2~build1",
        "1.35+dfsg-2",
        "1.35+dfsg-3",
        "1.35+dfsg-3build1",
        "1.35+dfsg-3ubuntu0.1",
        "1.35+dfsg-3ubuntu0.2"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-5704",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:26.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "tar",
            "binary_version": "1.35+dfsg-4ubuntu0.3"
          },
          {
            "binary_name": "tar-scripts",
            "binary_version": "1.35+dfsg-4ubuntu0.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "tar",
        "purl": "pkg:deb/ubuntu/tar@1.35+dfsg-4ubuntu0.3?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.35+dfsg-4ubuntu0.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.35+dfsg-3.1build1",
        "1.35+dfsg-3.1build2",
        "1.35+dfsg-4",
        "1.35+dfsg-4ubuntu0.1",
        "1.35+dfsg-4ubuntu0.2"
      ]
    }
  ],
  "aliases": [],
  "details": "USN-8477-1 fixed a vulnerability in tar. The update introduced a regression\nthat could cause tar to fail to extract certain valid files.\nThis update fixes the problem.\n\nOriginal advisory details:\n\n It was discovered that tar incorrectly handled certain crafted archive files.\n An attacker could possibly use this to inject hidden files with\n attacker-controlled content, bypassing pre-extraction inspection mechanisms.",
  "id": "USN-8477-2",
  "modified": "2026-07-16T20:05:33Z",
  "published": "2026-07-16T20:05:33Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8477-2"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-5704"
    },
    {
      "type": "REPORT",
      "url": "https://launchpad.net/bugs/2160650"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "tar regression",
  "upstream": [
    "UBUNTU-CVE-2026-5704"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…