medium 3.3
EPSS 0.21%
php8.4 (Debian:13): DEBIAN-CVE-2026-6103 / 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…
- Published:
- Fetched:
- Updated:
- Affects:
- php php8.4
https://osv.dev/vulnerability/DEBIAN-CVE-2026-6103 ↗
package-watchpkg:php8.4stackdebian13fix-available
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. Affected: Debian:12:php8.2, Debian:13:php8.4, Debian:14:php8.4 Fixed in: 8.4.26-1~deb13u1, 8.4.26-1 References: https://security-tracker.debian.org/tracker/CVE-2026-6103