CVE Watchtower

CVE-2026-6103Php Integer Overflow or Wraparound

NVDCVSS scored by security@php.net

Vulnerability 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.
Severity Level
MEDIUM(4.3)
Published Date
Sep 25, 2026
Last Modified
Oct 23, 2026
Exploitation Status
Public exploit available
CVE Record Status
Published
EPSS Score (30-Day)
0.21%Probability
Root Weakness (CWE)
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes the resulting value will always be larger than the original.
CVSS v3.1 Base Metrics — Score 4.3 (MEDIUM)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeChanged
ConfidentialityNone
IntegrityLow
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Php >= 8.2.0 and < 8.2.34
  • Php >= 8.3.0 and < 8.3.35
  • Php >= 8.4.0 and < 8.4.26
  • Php >= 8.5.0 and < 8.5.11
  • PHP Group PHP >= 8.2.* and < 8.2.34
  • PHP Group PHP >= 8.3.* and < 8.3.35
  • PHP Group PHP >= 8.4.* and < 8.4.26
  • PHP Group PHP >= 8.5.* and < 8.5.11
Patched Versions
  • Php 8.2.34
  • Php 8.3.35
  • Php 8.4.26
  • Php 8.5.11
  • PHP Group PHP 8.2.34
  • PHP Group PHP 8.3.35
  • PHP Group PHP 8.4.26
  • PHP Group PHP 8.5.11

What to do

Prioritize this fix. Exploit code is public, so attacks can follow quickly.

  1. Check whether you run Php and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. Review logs and exposed services for signs of earlier compromise.

Timeline

  • Sep 25, 2026Published
  • Oct 23, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Php CVEsYou are reading CVE-2026-6103. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Sep 25, 2026 22:57 UTC