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
- CWE-190: Integer Overflow or Wraparound
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-09-25 |
Timeline
- 2026-09-25Published by the CNA20:08 UTC
- 2026-09-25CISA SSVC decision recordedsame day
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| php php | from 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.11 | 8.2.348.3.358.4.268.5.11 |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-6103'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-6103'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-6103'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-6103'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).