BIT-php-2026-6103: Phar TAR phar_tar_number() Integer Overflow - Archive Entry Injection

Published Sep 25, 2026
·
Updated

phartarnumber() parses the octal size field of a TAR header into a uint32t 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 Software

1 affected component
PHP Phar

Event History

Sep 25, 2026
CVE Published
via OSV·08:08 PM
Data Sourced
via OSV·08:08 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Does exploitation require authentication or user interaction?

No. The CVSS vector lists privileges required as none and user interaction as none.

2

Is this exposed over the network by the CVSS assessment?

No. The CVSS attack vector is local (AV:L), so the assessment does not describe a network-reachable attack path.

3

What security impact is assigned by the CVSS vector?

The vector assigns low integrity impact and no confidentiality or availability impact. It also indicates a changed scope (S:C).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203