{"id":"CVE-2026-6103","aliases":["CVE-2026-6103","BIT-LIBPHP-2026-6103","BIT-PHP-2026-6103","BIT-PHP-MIN-2026-6103","GHSA-j3wh-g957-2m85"],"related":[],"kind":"vulnerability","state":"published","title":"Phar TAR phar_tar_number() Integer Overflow - Archive Entry Injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-25T20:08:49.333Z","modified":"2026-10-26T08:45:06.718Z","severity":{"scorer":"php","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"php","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"semver","introduced":"8.2.*","fixed":"8.2.34","status":"affected"},{"type":"semver","introduced":"8.3.*","fixed":"8.3.35","status":"affected"},{"type":"semver","introduced":"8.4.*","fixed":"8.4.26","status":"affected"},{"type":"semver","introduced":"8.5.*","fixed":"8.5.11","status":"affected"}],"vendor":"PHP Group","product":"PHP","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"8.2.0","fixed":"8.2.34"},{"status":"affected","introduced":"8.3.0","fixed":"8.3.35"},{"status":"affected","introduced":"8.4.0","fixed":"8.4.26"},{"status":"affected","introduced":"8.5.0","fixed":"8.5.11"}],"vendor":"php","product":"php","cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.34"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.35"},{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.26"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.11"}],"ecosystem":"Bitnami","package":"libphp","purl":"pkg:bitnami/libphp","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.34"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.35"},{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.26"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.11"}],"ecosystem":"Bitnami","package":"php","purl":"pkg:bitnami/php","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.34"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.35"},{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.26"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.11"}],"ecosystem":"Bitnami","package":"php-min","purl":"pkg:bitnami/php-min","source":"bitnami"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-j3wh-g957-2m85","tags":["advisory","exploit","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6103","tags":["web"],"sources":["bitnami"]}],"credits":["@arnoldasr (GitHub)","@Oblivionsage (GitHub)","@OSTIF-Derek (GitHub)","Jakub Zelenka","Weilin Du"],"assigner":"php","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-09-25T20:41:05.626Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6103","url":"https://www.cve.org/CVERecord?id=CVE-2026-6103","licence":"CVE Terms of Use","modified":"2026-09-25T20:41:27.115Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6103","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6103","licence":"Public domain","modified":"2026-10-23T14:07:18.323Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPHP-2026-6103","url":"https://osv.dev/vulnerability/BIT-LIBPHP-2026-6103","licence":"Apache-2.0","modified":"2026-10-26T08:45:06.718Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHP-2026-6103","url":"https://osv.dev/vulnerability/BIT-PHP-2026-6103","licence":"Apache-2.0","modified":"2026-10-26T08:45:05.550Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHP-MIN-2026-6103","url":"https://osv.dev/vulnerability/BIT-PHP-MIN-2026-6103","licence":"Apache-2.0","modified":"2026-10-26T08:45:06.663Z"}],"updatedAt":"2026-11-25T22:59:41.155Z","epss":{"score":0.0021,"percentile":0.11901,"date":"2026-12-01T12:00:22.000Z"}}