VDB

CVE-2026-6103

CVE-2026-6103 PUBLISHED CVSS 4.3 MEDIUM

Phar TAR phar_tar_number() Integer Overflow - Archive Entry Injection

Reported by php · Published September 25, 2026

phar_tar_number() parses the octal size field of a TAR header into a uint32_t with no overflow check. The field is 11 octal digits wide and holds values up to 0x1FFFFFFFF, so a size above 0xFFFFFFFF silently wraps. The parser then skips the wrong number of data blocks and interprets attacker-controlled file content as the next TAR header, which lets a crafted archive inject entries that PharData reports and extracts as if they were genuine.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
php-enchanterrata.rockylinux.org7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64
php8.4Amazon Linux8.4.26-1.amzn2023.0.1
php8.3-fpmAmazon Linux8.3.35-1.amzn2023.0.1
php-enchant-debuginfoerrata.rockylinux.org7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.x86_64
php8.2-commonAmazon Linux8.2.34-1.amzn2023.0.1
php-pgsql-debuginfoerrata.rockylinux.org7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.x86_64
php8.5-ffiAmazon Linux8.5.11-1.amzn2023.0.1
php-bcmath-debuginfoerrata.rockylinux.org7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.x86_64, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64
php-debuginfoerrata.rockylinux.org7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64
php8.5-pgsqlAmazon Linux8.5.11-1.amzn2023.0.1
libzip-toolserrata.rockylinux.org1.6.1-1.module, 0:1.6.1-1.module+el8.10.0+1912+72767185.aarch64, 0:1.6.1-1.module+el8.10.0+1604+6558efc7.aarch64
php-gmp-debuginfoerrata.rockylinux.org7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64

80 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
4.3
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N

Affected products

VendorProductVersions
PHP GroupPHP8.2.*, 8.3.*, 8.4.*
amazon:2023php8.40
amazon:2023php8.3-fpm0
amazon:2023php8.2-common0
amazon:2023php8.5-ffi0
amazon:2023php8.5-pgsql0
amazon:2023php8.3-modphp0
amazon:2023php8.5-enchant0
amazon:2023php8.2-opcache0
amazon:2023php8.4-ffi0
amazon:2023php8.2-xml0
amazon:2023php8.2-gd0
amazon:2023php8.2-zip0
amazon:2023php8.30
amazon:2023php8.3-enchant0
amazon:2023php8.3-odbc0
amazon:2023php8.2-ldap0
amazon:2023php8.2-mysqlnd0
amazon:2023php8.4-zip0
amazon:2023php8.5-modphp0

…and 102 more

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (7 in total, the first dated here)
  • Oct 21, 2026 Distribution Patch (2 in total, the first dated here)
  • Oct 21, 2026 Security Advisory (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-6103
vulnetix vdb fixes CVE-2026-6103

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-6103/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • vendor-advisory
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›