{"id":"DEBIAN-CVE-2026-6103","details":"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.","modified":"2026-09-26T05:00:09.298315021Z","published":"2026-09-25T21:17:23.790Z","upstream":["CVE-2026-6103"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-6103"}],"affected":[{"package":{"name":"php8.2","ecosystem":"Debian:12","purl":"pkg:deb/debian/php8.2?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.2.10-1","8.2.10-2","8.2.12-1","8.2.16-1","8.2.16-2","8.2.17-1","8.2.18-1","8.2.18-1~deb12u1","8.2.20-1~deb12u1","8.2.20-2","8.2.20-3","8.2.21-1","8.2.23-1","8.2.24-1","8.2.24-1~deb12u1","8.2.26-1~deb12u1","8.2.26-4","8.2.27-1","8.2.28-1~deb12u1","8.2.29-1~deb12u1","8.2.30-1~deb12u1","8.2.31-1~deb12u1","8.2.32-1~deb12u1","8.2.33-1~deb12u1","8.2.5-2","8.2.7-1","8.2.7-1.1","8.2.7-1.2","8.2.7-1~deb12u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6103.json"}},{"package":{"name":"php8.4","ecosystem":"Debian:13","purl":"pkg:deb/debian/php8.4?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.26-1~deb13u1"}]}],"versions":["8.4.11-1","8.4.16-1","8.4.16-1~deb13u1","8.4.20-1","8.4.21-1","8.4.21-1~deb13u1","8.4.22-1","8.4.23-1","8.4.23-1~deb13u1","8.4.24-1","8.4.24-1~deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6103.json"}},{"package":{"name":"php8.4","ecosystem":"Debian:14","purl":"pkg:deb/debian/php8.4?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.11-1","8.4.16-1","8.4.16-1~deb13u1","8.4.20-1","8.4.21-1","8.4.21-1~deb13u1","8.4.22-1","8.4.23-1","8.4.23-1~deb13u1","8.4.24-1","8.4.24-1~deb13u1","8.4.26-1~deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6103.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N"}]}