CVE-2026-6103

Publication date 25 September 2026

Last updated 7 October 2026


Ubuntu priority

Cvss 3 Severity Score

4.3 · Medium

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
php5 26.04 LTS resolute Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
14.04 LTS trusty
Vulnerable
php7.0 26.04 LTS resolute Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
16.04 LTS xenial
Vulnerable
php7.2 26.04 LTS resolute Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
18.04 LTS bionic
Vulnerable
php7.4 26.04 LTS resolute Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal
Vulnerable
php8.1 26.04 LTS resolute Not in release
24.04 LTS noble Not in release
22.04 LTS jammy
Vulnerable
php8.3 26.04 LTS resolute Not in release
24.04 LTS noble
Vulnerable
22.04 LTS jammy Not in release
php8.5 26.04 LTS resolute
Vulnerable
24.04 LTS noble Not in release
22.04 LTS jammy Not in release

Notes


sbeattie

PEAR issues should go against php-pear as of xenial PEAR issues should go against php-pear as of xenial

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
php8.3
php8.5

Severity score breakdown

CVSS version: CVSS v3.0

Base score 4.3 · Medium

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N


Access our resources on patching vulnerabilities