{"id":"CVE-2026-6103","state":"PUBLISHED","title":"Phar TAR phar_tar_number() Integer Overflow - Archive Entry Injection","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.","publishedAt":"2026-09-25T20:08:49.333Z","updatedAt":"2026-09-25T20:41:27.115Z","severity":{"score":4.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","source":"php"},"assigner":"php","products":["PHP Group PHP"],"affected":[{"vendor":"PHP Group","product":"PHP","defaultStatus":"unaffected","versions":[{"version":"8.2.*","status":"affected","lessThan":"8.2.34","versionType":"semver"},{"version":"8.3.*","status":"affected","lessThan":"8.3.35","versionType":"semver"},{"version":"8.4.*","status":"affected","lessThan":"8.4.26","versionType":"semver"},{"version":"8.5.*","status":"affected","lessThan":"8.5.11","versionType":"semver"}]}],"references":["https://github.com/php/php-src/security/advisories/GHSA-j3wh-g957-2m85"],"weaknesses":["CWE-190"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/6xxx/CVE-2026-6103.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-6103","state":"PUBLISHED","datePublished":"2026-09-25T20:08:49.333Z","dateUpdated":"2026-09-25T20:41:27.115Z","assignerShortName":"php","assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateReserved":"2026-04-11T04:13:04.238Z"},"containers":{"cna":{"title":"Phar TAR phar_tar_number() Integer Overflow - Archive Entry Injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"PHP Group","product":"PHP","defaultStatus":"unaffected","versions":[{"version":"8.2.*","status":"affected","lessThan":"8.2.34","versionType":"semver"},{"version":"8.3.*","status":"affected","lessThan":"8.3.35","versionType":"semver"},{"version":"8.4.*","status":"affected","lessThan":"8.4.26","versionType":"semver"},{"version":"8.5.*","status":"affected","lessThan":"8.5.11","versionType":"semver"}]}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-j3wh-g957-2m85","tags":["vendor-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseSeverity":"MEDIUM","baseScore":4.3,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","lang":"en","description":"CWE-190 Integer overflow or wraparound","type":"CWE"}]}],"providerMetadata":{"shortName":"php","orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateUpdated":"2026-09-25T20:21:07.070Z"},"impacts":[{"capecId":"CAPEC-92","descriptions":[{"lang":"en","value":"CAPEC-92 Forced Integer Overflow"}]}],"credits":[{"lang":"en","value":"@arnoldasr (GitHub)","type":"reporter"},{"lang":"en","value":"@Oblivionsage (GitHub)","type":"reporter"},{"lang":"en","value":"@OSTIF-Derek (GitHub)","type":"reporter"},{"lang":"en","value":"Jakub Zelenka","type":"remediation developer"},{"lang":"en","value":"Weilin Du","type":"remediation reviewer"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.5"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-j3wh-g957-2m85","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-25T20:41:05.626504Z","id":"CVE-2026-6103","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-25T20:41:27.115Z"}}]}}}