Bug 2541638 (CVE-2026-6103) - CVE-2026-6103 php: PHP: Archive entry injection via integer overflow in TAR parser
Summary: CVE-2026-6103 php: PHP: Archive entry injection via integer overflow in TAR p...
Keywords:
Status: NEW
Alias: CVE-2026-6103
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-25 20:41 UTC by OSIDB Bzimport
Modified: 2026-09-25 20:48 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-25 20:41:16 UTC
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.