CVEvulnerability

CVE-2026-6103

3.3 LOW Published 2026-09-25 Modified 2026-10-23 Official page ↗
Status
Analyzed
Published
2026-09-25
Last modified
2026-10-23
Assigner
[email protected]
CVSS 3.1 ([email protected])
4.3 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
CVSS 3.1 ([email protected])
3.3 LOW — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-190

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.

Affected configurations

• php php (>= 8.2.0 < 8.2.34) • php php (>= 8.3.0 < 8.3.35) • php php (>= 8.4.0 < 8.4.26) • php php (>= 8.5.0 < 8.5.11)

Related

Weakness · CWE (1)

  • CWE-190 Integer Overflow or Wraparound weakness

References