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: 2552134
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-25 20:41 UTC by OSIDB Bzimport
Modified: 2026-10-21 15:45 UTC (History)
2 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:87080 0 None None None 2026-10-21 15:45:03 UTC

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.

Comment 1 Jon Orris 2026-10-21 15:45:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:87080 https://access.redhat.com/errata/RHSA-2026:87080


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