Advisory

UBUNTU-CVE-2026-6103

Also known as: CVE-2026-6103

Summary

The record has no summary.

Details

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

Medium Basis: CVSS v3 score 4.3, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N

Dates

Published
2026-09-25 21:17 UTC
Modified
2026-10-27 04:17 UTC

Affected packages and fixes

php8.1

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 8.1.2-1ubuntu2.27 (ecosystem)

Fixed versions

8.1.2-1ubuntu2.27

Fix

  • Fixed version 8.1.2-1ubuntu2.27
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php8.3

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 8.3.6-0ubuntu0.24.04.12 (ecosystem)

Fixed versions

8.3.6-0ubuntu0.24.04.12

Fix

  • Fixed version 8.3.6-0ubuntu0.24.04.12
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php8.5

Debian packages (deb) · Ubuntu 26.10

Affected

  • introduced 0, fixed 8.5.9-0ubuntu2 (ecosystem)

Fixed versions

8.5.9-0ubuntu2

Fix

  • Fixed version 8.5.9-0ubuntu2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php8.5

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 8.5.4-0ubuntu1.4 (ecosystem)

Fixed versions

8.5.4-0ubuntu1.4

Fix

  • Fixed version 8.5.4-0ubuntu1.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences