Integer overflow in PHP Group
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 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.
Vulnerability class: Integer Overflow
Published .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/php/php-src/security/advisories/GHSA-j3wh-g957-2m85 (vendor-advisory)
Frequently asked questions
- What is CVE-2026-6103?
- CVE-2026-6103 is a medium-severity vulnerability in PHP Group, classified under Integer Overflow or Wraparound. CVSS score: 4.3/10. Published 2026-09-25.
- How severe is CVE-2026-6103?
- Medium severity. CVSS v3 base score is 4.3 out of 10.