# CVE-2026-6103: Phar TAR phar\_tar\_number() Integer Overflow - Archive Entry Injection

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-25 · Modified: 2026-09-25
- Aliases: UBUNTU-CVE-2026-6103, DEBIAN-CVE-2026-6103, ALPINE-CVE-2026-6103
- Record: https://cvemate.com/vulnerability/CVE-2026-6103 · JSON: https://cvemate.com/vulnerability/CVE-2026-6103/json

## Description

```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.
```

## Signals

- CVSS: 4.3 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
- EPSS: 0.21%, percentile 11.863%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine php82 (Alpine Linux): \< 8.2.35-r0
- alpine php83 (Alpine Linux): \< 8.3.36-r0 \| \< 8.3.35-r0
- alpine php84 (Alpine Linux): \< 8.4.27-r0 \| \< 8.4.26-r0
- alpine php85 (Alpine Linux): \< 8.5.12-r0 \| \< 8.5.11-r0
- debian php8.2 (Debian): \< 8.2.34-1~deb12u1
- debian php8.4 (Debian): \< 8.4.26-1~deb13u1 \| \< 8.4.26-1
- ubuntu php5 (Ubuntu): All versions (No fix recorded) \| \< 5.5.9+dfsg-1ubuntu4.29+esm17
- ubuntu php7.0 (Ubuntu): All versions (No fix recorded) \| \< 7.0.33-0ubuntu0.16.04.16+esm21
- ubuntu php7.2 (Ubuntu): All versions (No fix recorded) \| \< 7.2.24-0ubuntu0.18.04.17+esm13
- ubuntu php7.4 (Ubuntu): All versions (No fix recorded) \| \< 7.4.3-4ubuntu2.29+esm4
- ubuntu php8.1 (Ubuntu): All versions (No fix recorded) \| \< 8.1.2-1ubuntu2.27
- ubuntu php8.3 (Ubuntu): All versions (No fix recorded) \| \< 8.3.6-0ubuntu0.24.04.12
- ubuntu php8.5 (Ubuntu): All versions (No fix recorded) \| \< 8.5.9-0ubuntu2 \| \< 8.5.4-0ubuntu1.4
- php group php: ≥ 8.2.\*, \< 8.2.34 \| ≥ 8.3.\*, \< 8.3.35 \| ≥ 8.4.\*, \< 8.4.26 \| ≥ 8.5.\*, \< 8.5.11
- php php: ≥ 8.2.0, \< 8.2.34 \| ≥ 8.3.0, \< 8.3.35 \| ≥ 8.4.0, \< 8.4.26 \| ≥ 8.5.0, \< 8.5.11

## References

- <https://github.com/php/php-src/security/advisories/GHSA-j3wh-g957-2m85>
- <https://ubuntu.com/security/CVE-2026-6103>
- <https://www.cve.org/CVERecord?id=CVE-2026-6103>
- <https://github.com/php/php-src/blob/php-8.4.26/NEWS>
- <https://security-tracker.debian.org/tracker/CVE-2026-6103>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-6103>
- <https://ubuntu.com/security/notices/USN-8936-1>
- <https://security.alpinelinux.org/vuln/CVE-2026-6103>

---

Data as of 2026-12-05T03:59:39.764Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
