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.
Advisories
Source ID Title
Debian DSA Debian DSA DSA-6514-1 php8.4 security update
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 25 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 25 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Phar TAR phar_tar_number() Integer Overflow - Archive Entry Injection
Weaknesses CWE-190
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2026-09-25T20:41:27.115Z

Reserved: 2026-04-11T04:13:04.238Z

Link: CVE-2026-6103

cve-icon Vulnrichment

Updated: 2026-09-25T20:41:22.099Z

cve-icon NVD

Status : Received

Published: 2026-09-25T21:17:23.790

Modified: 2026-09-25T21:17:23.790

Link: CVE-2026-6103

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses