{"api_version":"1","generated_at":"2026-09-25T22:11:21+00:00","cve":"CVE-2026-6103","urls":{"html":"https://cve.report/CVE-2026-6103","api":"https://cve.report/api/cve/CVE-2026-6103.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-6103","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-6103"},"summary":{"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.","state":"PUBLISHED","assigner":"php","published_at":"2026-09-25 21:17:23","updated_at":"2026-09-25 21:17:23"},"problem_types":["CWE-190","CWE-190 CWE-190 Integer overflow or wraparound"],"metrics":[{"version":"3.1","source":"security@php.net","type":"Secondary","score":"4.3","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","baseScore":4.3,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"4.3","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","data":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-j3wh-g957-2m85","name":"https://github.com/php/php-src/security/advisories/GHSA-j3wh-g957-2m85","refsource":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-6103","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6103","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"PHP Group","product":"PHP","version":"affected 8.2.* 8.2.34 semver","platforms":[]},{"source":"CNA","vendor":"PHP Group","product":"PHP","version":"affected 8.3.* 8.3.35 semver","platforms":[]},{"source":"CNA","vendor":"PHP Group","product":"PHP","version":"affected 8.4.* 8.4.26 semver","platforms":[]},{"source":"CNA","vendor":"PHP Group","product":"PHP","version":"affected 8.5.* 8.5.11 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"@arnoldasr (GitHub)","lang":"en"},{"source":"CNA","value":"@Oblivionsage (GitHub)","lang":"en"},{"source":"CNA","value":"@OSTIF-Derek (GitHub)","lang":"en"},{"source":"CNA","value":"Jakub Zelenka","lang":"en"},{"source":"CNA","value":"Weilin Du","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-6103","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-09-25T20:41:05.626504Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-09-25T20:41:27.115Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"references":[{"tags":["exploit"],"url":"https://github.com/php/php-src/security/advisories/GHSA-j3wh-g957-2m85"}],"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"PHP","vendor":"PHP Group","versions":[{"lessThan":"8.2.34","status":"affected","version":"8.2.*","versionType":"semver"},{"lessThan":"8.3.35","status":"affected","version":"8.3.*","versionType":"semver"},{"lessThan":"8.4.26","status":"affected","version":"8.4.*","versionType":"semver"},{"lessThan":"8.5.11","status":"affected","version":"8.5.*","versionType":"semver"}]}],"credits":[{"lang":"en","type":"reporter","value":"@arnoldasr (GitHub)"},{"lang":"en","type":"reporter","value":"@Oblivionsage (GitHub)"},{"lang":"en","type":"reporter","value":"@OSTIF-Derek (GitHub)"},{"lang":"en","type":"remediation developer","value":"Jakub Zelenka"},{"lang":"en","type":"remediation reviewer","value":"Weilin Du"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p><code>phar_tar_number()</code> parses the octal size field of a TAR header into a <code>uint32_t</code> with no overflow check. The field is 11 octal digits wide and holds values up to <code>0x1FFFFFFFF</code>, so a size above <code>0xFFFFFFFF</code> 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 <code>PharData</code> reports and extracts as if they were genuine.</p>"}],"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."}],"impacts":[{"capecId":"CAPEC-92","descriptions":[{"lang":"en","value":"CAPEC-92 Forced Integer Overflow"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","description":"CWE-190 Integer overflow or wraparound","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-25T20:21:07.070Z","orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","shortName":"php"},"references":[{"tags":["vendor-advisory"],"url":"https://github.com/php/php-src/security/advisories/GHSA-j3wh-g957-2m85"}],"source":{"discovery":"UNKNOWN"},"title":"Phar TAR phar_tar_number() Integer Overflow - Archive Entry Injection","x_generator":{"engine":"Vulnogram 1.0.5"}}},"cveMetadata":{"assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","assignerShortName":"php","cveId":"CVE-2026-6103","datePublished":"2026-09-25T20:08:49.333Z","dateReserved":"2026-04-11T04:13:04.238Z","dateUpdated":"2026-09-25T20:41:27.115Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-25 21:17:23","lastModifiedDate":"2026-09-25 21:17:23","problem_types":["CWE-190","CWE-190 CWE-190 Integer overflow or wraparound"],"metrics":{"cvssMetricV31":[{"source":"security@php.net","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","baseScore":4.3,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.5,"impactScore":1.4}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-09-25T20:41:05.626504Z","id":"CVE-2026-6103","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"6103","Ordinal":"1","Title":"Phar TAR phar_tar_number() Integer Overflow - Archive Entry Inje","CVE":"CVE-2026-6103","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"6103","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Phar TAR phar_tar_number() Integer Overflow - Archive Entry Inje"}]}}}