CVE-2026-6103

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.

Severity
MEDIUM
CVSS v3
4.3
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N · source cna
Exploit chance (EPSS)
0.160%
chance of exploitation in the next 30 days
higher than 5.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impactpartial
Scored2026-09-25

Timeline

  1. 2026-09-25Published by the CNA20:08 UTC
  2. 2026-09-25CISA SSVC decision recordedsame day

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
php phpfrom 8.2.0 before 8.2.34fixed in 8.2.34from 8.3.0 before 8.3.35fixed in 8.3.35from 8.4.0 before 8.4.26fixed in 8.4.26from 8.5.0 before 8.5.11fixed in 8.5.118.2.348.3.358.4.268.5.11

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources