Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2016-4072

published

php: Invalid memory write in phar on filename containing \0 inside name

Title from Red Hat VEX

Published
20 May 2016, 10:00:00 UTC
Updated
06 Aug 2024, 00:17:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Debian jessie php5 Advisory build 5.6.20+dfsg-0+deb8u1 DSA-3560-1
Red Hat Enterprise Linux RHEL-6 rh-php56src Advisory build 2.3-1.el6 RHSA-2016:2750
Ubuntu xenial libapache2-mod-php7.0 Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Debian wheezy php5 Advisory build 5.4.45-0+deb7u3 DLA-499-1
Red Hat Enterprise Linux RHEL-6 rh-php56x86_64 Advisory build 2.3-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-phpsrc Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-phpx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Show 93 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-6 rh-php56-php-bcmathx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-clix86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-commonx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-dbax86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-dbgx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-debuginfox86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-develx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-embeddedx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-enchantx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-fpmx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-gdx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-gmpx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-imapx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-intlx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-ldapx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-mbstringx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-mysqlndx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-odbcx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-opcachex86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-pdox86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-pearnoarch Advisory build 1:1.9.5-4.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-pearsrc Advisory build 1:1.9.5-4.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-pgsqlx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-processx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-pspellx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-recodex86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-snmpx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-soapx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-tidyx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-xmlx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-php-xmlrpcx86_64 Advisory build 5.6.25-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-runtimex86_64 Advisory build 2.3-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-6 rh-php56-scldevelx86_64 Advisory build 2.3-1.el6 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56src Advisory build 2.3-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56x86_64 Advisory build 2.3-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-phpsrc Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-phpx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-bcmathx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-clix86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-commonx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-dbax86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-dbgx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-debuginfox86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-develx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-embeddedx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-enchantx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-fpmx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-gdx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-gmpx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-intlx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-ldapx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-mbstringx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-mysqlndx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-odbcx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-opcachex86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-pdox86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-pearnoarch Advisory build 1:1.9.5-4.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-pearsrc Advisory build 1:1.9.5-4.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-pgsqlx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-processx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-pspellx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-recodex86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-snmpx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-soapx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-xmlx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-php-xmlrpcx86_64 Advisory build 5.6.25-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-runtimex86_64 Advisory build 2.3-1.el7 RHSA-2016:2750
Red Hat Enterprise Linux RHEL-7 rh-php56-scldevelx86_64 Advisory build 2.3-1.el7 RHSA-2016:2750
Ubuntu xenial libphp7.0-embed Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0 Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-bcmath Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-bz2 Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-cgi Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-cli Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-common Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-curl Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-enchant Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-fpm Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-gd Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-gmp Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-imap Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-interbase Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-intl Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-json Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-ldap Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-mbstring Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-mcrypt Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-mysql Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-odbc Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-opcache Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-pgsql Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-phpdbg Advisory build 7.0.4-7ubuntu2.1 USN-2984-1
Ubuntu xenial php7.0-pspell Advisory build 7.0.4-7ubuntu2.1 USN-2984-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

The Phar extension in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5 allows remote attackers to execute arbitrary code via a crafted filename, as demonstrated by mishandling of \0 characters by the phar_analyze_path function in ext/phar/phar.c.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

5

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

17

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
9b8446929b7c3222c3f9c7d9916601237665804585b8f12e44dba21ea519a462
Ingested
23 Sep 2026, 07:41:18 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected