Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2026-6103

Phar TAR phar_tar_number() Integer Overflow - Archive Entry Injection

Medium4.3EPSS 0.16%
Published
Updated
Reserved
Assigned by
php

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.

Scores

CVSS scores of CVE-2026-6103, by who scored it
Scored byCVSSScoreVector
phpCNA (assigner)3.1Medium4.3CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
NVDNVD · Analyzed3.1Low3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS (exploitation in 30 days)
0.16% · top 95% of all CVEs (6 Nov 2026)
CISA SSVC
Exploitation: poc · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.

Weakness

Affected products

  • PHP Group · PHP

    • affected 8.2.* – < 8.2.34
    • affected 8.3.* – < 8.3.35
    • affected 8.4.* – < 8.4.26
    • affected 8.5.* – < 8.5.11

References (1)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2026-6103 badge
[![CVE-2026-6103](https://trackcve.app/badge/CVE-2026-6103.svg)](https://trackcve.app/cve/CVE-2026-6103)

Record last updated .