ubuntu-cve-2026-5704
Vulnerability from osv_ubuntu
Published
2026-04-06 16:16
Modified
2026-07-16 22:57
Summary
Details

A flaw was found in tar. A remote attacker could exploit this vulnerability by crafting a malicious archive, leading to hidden file injection with fully attacker-controlled content. This bypasses pre-extraction inspection mechanisms, potentially allowing an attacker to introduce malicious files onto a system without detection.


{
  "affected": [
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "tar",
            "binary_version": "1.35+dfsg-3.1build1"
          },
          {
            "binary_name": "tar-scripts",
            "binary_version": "1.35+dfsg-3.1build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "tar",
        "purl": "pkg:deb/ubuntu/tar@1.35+dfsg-3.1build1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.35+dfsg-3.1",
        "1.35+dfsg-3.1build1"
      ]
    },
    {
      "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": "A flaw was found in tar. A remote attacker could exploit this vulnerability by crafting a malicious archive, leading to hidden file injection with fully attacker-controlled content. This bypasses pre-extraction inspection mechanisms, potentially allowing an attacker to introduce malicious files onto a system without detection.",
  "id": "UBUNTU-CVE-2026-5704",
  "modified": "2026-07-16T22:57:58Z",
  "published": "2026-04-06T16:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-5704"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-5704"
    },
    {
      "type": "REPORT",
      "url": "https://access.redhat.com/security/cve/CVE-2026-5704"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8477-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8477-2"
    }
  ],
  "related": [
    "USN-8477-1",
    "USN-8477-2"
  ],
  "schema_version": "1.7.0",
  "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"
    }
  ],
  "upstream": [
    "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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…