Bug 2552134 - CVE-2026-6103 php: PHP: Archive entry injection via integer overflow in TAR parser [fedora-all]
Summary: CVE-2026-6103 php: PHP: Archive entry injection via integer overflow in TAR p...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: php
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Remi Collet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["e71ea194-fa7c-4a04-a09a-d...
Depends On:
Blocks: CVE-2026-6103
TreeView+ depends on / blocked
 
Reported: 2026-10-14 10:08 UTC by Srikanth Balasubramanian
Modified: 2026-10-14 12:33 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-10-14 12:33:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-10-14 10:08:16 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.