UBUNTU-CVE-2026-9538 (CVE-2026-9538)

Vulnerability from osv_ubuntu – Published: 2026-05-26 02:16 – Updated: 2026-09-09 17:34 – Source website
VLAI
Details

Archive::Tar versions before 3.10 for Perl allow memory exhaustion via attacker controlled entry size field in tar header. _read_tar() reads each entry's payload with $handle->read($$data, $block), where $block is derived from the entry's 12-byte size field in the tar header with no upper bound on that value. A crafted header declaring a multi-gigabyte size causes Perl to allocate a scalar of that size.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libcgi-fast-perl",
            "binary_version": "5.18.2-2ubuntu1.7+esm9"
          },
          {
            "binary_name": "libperl5.18",
            "binary_version": "5.18.2-2ubuntu1.7+esm9"
          },
          {
            "binary_name": "perl",
            "binary_version": "5.18.2-2ubuntu1.7+esm9"
          },
          {
            "binary_name": "perl-base",
            "binary_version": "5.18.2-2ubuntu1.7+esm9"
          },
          {
            "binary_name": "perl-debug",
            "binary_version": "5.18.2-2ubuntu1.7+esm9"
          },
          {
            "binary_name": "perl-modules",
            "binary_version": "5.18.2-2ubuntu1.7+esm9"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "perl",
        "purl": "pkg:deb/ubuntu/perl@5.18.2-2ubuntu1.7+esm9?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.14.2-21build1",
        "5.18.1-4",
        "5.18.1-4build1",
        "5.18.1-5",
        "5.18.2-2",
        "5.18.2-2ubuntu1",
        "5.18.2-2ubuntu1.1",
        "5.18.2-2ubuntu1.3",
        "5.18.2-2ubuntu1.4",
        "5.18.2-2ubuntu1.6",
        "5.18.2-2ubuntu1.7",
        "5.18.2-2ubuntu1.7+esm3",
        "5.18.2-2ubuntu1.7+esm4",
        "5.18.2-2ubuntu1.7+esm5",
        "5.18.2-2ubuntu1.7+esm7",
        "5.18.2-2ubuntu1.7+esm8",
        "5.18.2-2ubuntu1.7+esm9"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libperl5.22",
            "binary_version": "5.22.1-9ubuntu0.9+esm4"
          },
          {
            "binary_name": "perl",
            "binary_version": "5.22.1-9ubuntu0.9+esm4"
          },
          {
            "binary_name": "perl-base",
            "binary_version": "5.22.1-9ubuntu0.9+esm4"
          },
          {
            "binary_name": "perl-debug",
            "binary_version": "5.22.1-9ubuntu0.9+esm4"
          },
          {
            "binary_name": "perl-modules-5.22",
            "binary_version": "5.22.1-9ubuntu0.9+esm4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "perl",
        "purl": "pkg:deb/ubuntu/perl@5.22.1-9ubuntu0.9+esm4?arch=source\u0026distro=esm-infra-legacy/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.20.2-6",
        "5.22.1-3",
        "5.22.1-4",
        "5.22.1-5",
        "5.22.1-7",
        "5.22.1-8",
        "5.22.1-9",
        "5.22.1-9ubuntu0.2",
        "5.22.1-9ubuntu0.3",
        "5.22.1-9ubuntu0.5",
        "5.22.1-9ubuntu0.6",
        "5.22.1-9ubuntu0.9",
        "5.22.1-9ubuntu0.9+esm1",
        "5.22.1-9ubuntu0.9+esm2",
        "5.22.1-9ubuntu0.9+esm3",
        "5.22.1-9ubuntu0.9+esm4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libperl5.26",
            "binary_version": "5.26.1-6ubuntu0.7+esm4"
          },
          {
            "binary_name": "perl",
            "binary_version": "5.26.1-6ubuntu0.7+esm4"
          },
          {
            "binary_name": "perl-base",
            "binary_version": "5.26.1-6ubuntu0.7+esm4"
          },
          {
            "binary_name": "perl-debug",
            "binary_version": "5.26.1-6ubuntu0.7+esm4"
          },
          {
            "binary_name": "perl-modules-5.26",
            "binary_version": "5.26.1-6ubuntu0.7+esm4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "perl",
        "purl": "pkg:deb/ubuntu/perl@5.26.1-6ubuntu0.7+esm4?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.26.0-8ubuntu1",
        "5.26.1-2ubuntu1",
        "5.26.1-3",
        "5.26.1-4",
        "5.26.1-4build1",
        "5.26.1-5",
        "5.26.1-6",
        "5.26.1-6ubuntu0.1",
        "5.26.1-6ubuntu0.2",
        "5.26.1-6ubuntu0.3",
        "5.26.1-6ubuntu0.5",
        "5.26.1-6ubuntu0.6",
        "5.26.1-6ubuntu0.7",
        "5.26.1-6ubuntu0.7+esm2",
        "5.26.1-6ubuntu0.7+esm3",
        "5.26.1-6ubuntu0.7+esm4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libperl5.30",
            "binary_version": "5.30.0-9ubuntu0.5+esm4"
          },
          {
            "binary_name": "perl",
            "binary_version": "5.30.0-9ubuntu0.5+esm4"
          },
          {
            "binary_name": "perl-base",
            "binary_version": "5.30.0-9ubuntu0.5+esm4"
          },
          {
            "binary_name": "perl-debug",
            "binary_version": "5.30.0-9ubuntu0.5+esm4"
          },
          {
            "binary_name": "perl-modules-5.30",
            "binary_version": "5.30.0-9ubuntu0.5+esm4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "perl",
        "purl": "pkg:deb/ubuntu/perl@5.30.0-9ubuntu0.5+esm4?arch=source\u0026distro=esm-infra/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.28.1-6build1",
        "5.30.0-7",
        "5.30.0-9",
        "5.30.0-9build1",
        "5.30.0-9ubuntu0.2",
        "5.30.0-9ubuntu0.3",
        "5.30.0-9ubuntu0.4",
        "5.30.0-9ubuntu0.5",
        "5.30.0-9ubuntu0.5+esm2",
        "5.30.0-9ubuntu0.5+esm3",
        "5.30.0-9ubuntu0.5+esm4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libperl5.34",
            "binary_version": "5.34.0-3ubuntu1.9"
          },
          {
            "binary_name": "perl",
            "binary_version": "5.34.0-3ubuntu1.9"
          },
          {
            "binary_name": "perl-base",
            "binary_version": "5.34.0-3ubuntu1.9"
          },
          {
            "binary_name": "perl-debug",
            "binary_version": "5.34.0-3ubuntu1.9"
          },
          {
            "binary_name": "perl-modules-5.34",
            "binary_version": "5.34.0-3ubuntu1.9"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "perl",
        "purl": "pkg:deb/ubuntu/perl@5.34.0-3ubuntu1.9?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.32.1-3ubuntu3",
        "5.34.0-3ubuntu1",
        "5.34.0-3ubuntu1.1",
        "5.34.0-3ubuntu1.2",
        "5.34.0-3ubuntu1.3",
        "5.34.0-3ubuntu1.4",
        "5.34.0-3ubuntu1.5",
        "5.34.0-3ubuntu1.7",
        "5.34.0-3ubuntu1.8",
        "5.34.0-3ubuntu1.9"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libperl5.38t64",
            "binary_version": "5.38.2-3.2ubuntu0.4"
          },
          {
            "binary_name": "perl",
            "binary_version": "5.38.2-3.2ubuntu0.4"
          },
          {
            "binary_name": "perl-base",
            "binary_version": "5.38.2-3.2ubuntu0.4"
          },
          {
            "binary_name": "perl-debug",
            "binary_version": "5.38.2-3.2ubuntu0.4"
          },
          {
            "binary_name": "perl-modules-5.38",
            "binary_version": "5.38.2-3.2ubuntu0.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "perl",
        "purl": "pkg:deb/ubuntu/perl@5.38.2-3.2ubuntu0.4?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.38.2-3.2ubuntu0.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.36.0-9ubuntu1",
        "5.36.0-10ubuntu1",
        "5.38.2-3",
        "5.38.2-3.2",
        "5.38.2-3.2build1",
        "5.38.2-3.2build2",
        "5.38.2-3.2build2.1",
        "5.38.2-3.2ubuntu0.1",
        "5.38.2-3.2ubuntu0.2",
        "5.38.2-3.2ubuntu0.3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libperl5.40",
            "binary_version": "5.40.1-6ubuntu0.1"
          },
          {
            "binary_name": "perl",
            "binary_version": "5.40.1-6ubuntu0.1"
          },
          {
            "binary_name": "perl-base",
            "binary_version": "5.40.1-6ubuntu0.1"
          },
          {
            "binary_name": "perl-debug",
            "binary_version": "5.40.1-6ubuntu0.1"
          },
          {
            "binary_name": "perl-modules-5.40",
            "binary_version": "5.40.1-6ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "perl",
        "purl": "pkg:deb/ubuntu/perl@5.40.1-6ubuntu0.1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.40.1-2",
        "5.40.1-3",
        "5.40.1-5",
        "5.40.1-6",
        "5.40.1-6build1",
        "5.40.1-6ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libperl5.40",
            "binary_version": "5.40.1-7ubuntu0.3"
          },
          {
            "binary_name": "perl",
            "binary_version": "5.40.1-7ubuntu0.3"
          },
          {
            "binary_name": "perl-base",
            "binary_version": "5.40.1-7ubuntu0.3"
          },
          {
            "binary_name": "perl-debug",
            "binary_version": "5.40.1-7ubuntu0.3"
          },
          {
            "binary_name": "perl-modules-5.40",
            "binary_version": "5.40.1-7ubuntu0.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "perl",
        "purl": "pkg:deb/ubuntu/perl@5.40.1-7ubuntu0.3?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.40.1-6build1",
        "5.40.1-7build1",
        "5.40.1-7ubuntu0.1",
        "5.40.1-7ubuntu0.2",
        "5.40.1-7ubuntu0.3"
      ]
    }
  ],
  "aliases": [],
  "details": "Archive::Tar versions before 3.10 for Perl allow memory exhaustion via attacker controlled entry size field in tar header. _read_tar() reads each entry\u0027s payload with $handle-\u003eread($$data, $block), where $block is derived from the entry\u0027s 12-byte size field in the tar header with no upper bound on that value. A crafted header declaring a multi-gigabyte size causes Perl to allocate a scalar of that size.",
  "id": "UBUNTU-CVE-2026-9538",
  "modified": "2026-09-09T17:34:20Z",
  "published": "2026-05-26T02:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-9538"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-9538"
    },
    {
      "type": "REPORT",
      "url": "https://lists.security.metacpan.org/cve-announce/msg/40396448/"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/jib/archive-tar-new/commit/f9af01426038e29d9578825a0cd3626946ab08c7.patch"
    },
    {
      "type": "REPORT",
      "url": "https://metacpan.org/release/BINGOS/Archive-Tar-3.10/changes"
    },
    {
      "type": "REPORT",
      "url": "http://www.openwall.com/lists/oss-security/2026/05/26/4"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8684-1"
    }
  ],
  "related": [
    "USN-8684-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-9538"
  ]
}



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…