MEDIUM 4.3 NVD
CVE-2026-6103
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 0
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.
Remediation
$ sudo apt install --only-upgrade php8.4References
- https://github.com/php/php-src/security/advisories/GHSA-j3wh-g957-2m85
- https://github.com/php/php-src/security/advisories/GHSA-j3wh-g957-2m85
This medium severity vulnerability with a CVSS score of 4.3 was published on 2026-09-25 via NVD. A remediation command is available below.
vulnfeed aggregates 11568 vulnerabilities from NVD, CISA KEV,
Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.