Advisory

UBUNTU-CVE-2016-10160

Also known as: CVE-2016-10160

Summary

The record has no summary.

Details

Off-by-one error in the phar_parse_pharfile function in ext/phar/phar.c in PHP before 5.6.30 and 7.0.x before 7.0.15 allows remote attackers to cause a denial of service (memory corruption) or possibly execute arbitrary code via a crafted PHAR archive with an alias mismatch.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2017-01-24 00:00 UTC
Modified
2026-04-22 10:29 UTC

Affected packages and fixes

php5

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 5.5.9+dfsg-1ubuntu4.21 (ecosystem)

Fixed versions

5.5.9+dfsg-1ubuntu4.21

Fix

  • Fixed version 5.5.9+dfsg-1ubuntu4.21
    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.

php7.0

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 7.0.15-0ubuntu0.16.04.2 (ecosystem)

Fixed versions

7.0.15-0ubuntu0.16.04.2

Fix

  • Fixed version 7.0.15-0ubuntu0.16.04.2
    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