Vulnerabilities / CVE-2016-2554

critical

CVE-2016-2554

php: buffer overflow in handling of long link names in tar phar archives

Published Modified CWE 119
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat2.6AV:N/AC:H/Au:N/C:N/I:N/A:P

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Amazon (medium), Ubuntu (medium), Red Hat (low).

Description

Stack-based buffer overflow in ext/phar/tar.c in PHP before 5.5.32, 5.6.x before 5.6.18, and 7.x before 7.0.3 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted TAR archive.

Affected packages and fixed versions

SourcePackageFixed in
amazon linux 1php55, php55-bcmath, php55-cli and 60 more5.5.33-1.113.amzn1 and 1 more
debian 7php55.4.45-0+deb7u7
debian 8php55.6.19+dfsg-0+deb8u1
Red Hatphp, php-bcmath, php-cli and 25 moreno fix listed
ubuntu 12.04php55.3.10-1ubuntu3.22
ubuntu 14.04php55.5.9+dfsg-1ubuntu4.16
ubuntu 14.04-ESMphp55.5.9+dfsg-1ubuntu4.16
ubuntu 15.10php55.6.11+dfsg-1ubuntu3.2
Show all 97 entries from 8 sources
SourcePackageFixed in
amazon linux 1php555.5.33-1.113.amzn1
amazon linux 1php55-bcmath5.5.33-1.113.amzn1
amazon linux 1php55-cli5.5.33-1.113.amzn1
amazon linux 1php55-common5.5.33-1.113.amzn1
amazon linux 1php55-dba5.5.33-1.113.amzn1
amazon linux 1php55-debuginfo5.5.33-1.113.amzn1
amazon linux 1php55-devel5.5.33-1.113.amzn1
amazon linux 1php55-embedded5.5.33-1.113.amzn1
amazon linux 1php55-enchant5.5.33-1.113.amzn1
amazon linux 1php55-fpm5.5.33-1.113.amzn1
amazon linux 1php55-gd5.5.33-1.113.amzn1
amazon linux 1php55-gmp5.5.33-1.113.amzn1
amazon linux 1php55-imap5.5.33-1.113.amzn1
amazon linux 1php55-intl5.5.33-1.113.amzn1
amazon linux 1php55-ldap5.5.33-1.113.amzn1
amazon linux 1php55-mbstring5.5.33-1.113.amzn1
amazon linux 1php55-mcrypt5.5.33-1.113.amzn1
amazon linux 1php55-mssql5.5.33-1.113.amzn1
amazon linux 1php55-mysqlnd5.5.33-1.113.amzn1
amazon linux 1php55-odbc5.5.33-1.113.amzn1
amazon linux 1php55-opcache5.5.33-1.113.amzn1
amazon linux 1php55-pdo5.5.33-1.113.amzn1
amazon linux 1php55-pgsql5.5.33-1.113.amzn1
amazon linux 1php55-process5.5.33-1.113.amzn1
amazon linux 1php55-pspell5.5.33-1.113.amzn1
amazon linux 1php55-recode5.5.33-1.113.amzn1
amazon linux 1php55-snmp5.5.33-1.113.amzn1
amazon linux 1php55-soap5.5.33-1.113.amzn1
amazon linux 1php55-tidy5.5.33-1.113.amzn1
amazon linux 1php55-xml5.5.33-1.113.amzn1
amazon linux 1php55-xmlrpc5.5.33-1.113.amzn1
amazon linux 1php565.6.19-1.123.amzn1
amazon linux 1php56-bcmath5.6.19-1.123.amzn1
amazon linux 1php56-cli5.6.19-1.123.amzn1
amazon linux 1php56-common5.6.19-1.123.amzn1
amazon linux 1php56-dba5.6.19-1.123.amzn1
amazon linux 1php56-dbg5.6.19-1.123.amzn1
amazon linux 1php56-debuginfo5.6.19-1.123.amzn1
amazon linux 1php56-devel5.6.19-1.123.amzn1
amazon linux 1php56-embedded5.6.19-1.123.amzn1
amazon linux 1php56-enchant5.6.19-1.123.amzn1
amazon linux 1php56-fpm5.6.19-1.123.amzn1
amazon linux 1php56-gd5.6.19-1.123.amzn1
amazon linux 1php56-gmp5.6.19-1.123.amzn1
amazon linux 1php56-imap5.6.19-1.123.amzn1
amazon linux 1php56-intl5.6.19-1.123.amzn1
amazon linux 1php56-ldap5.6.19-1.123.amzn1
amazon linux 1php56-mbstring5.6.19-1.123.amzn1
amazon linux 1php56-mcrypt5.6.19-1.123.amzn1
amazon linux 1php56-mssql5.6.19-1.123.amzn1
amazon linux 1php56-mysqlnd5.6.19-1.123.amzn1
amazon linux 1php56-odbc5.6.19-1.123.amzn1
amazon linux 1php56-opcache5.6.19-1.123.amzn1
amazon linux 1php56-pdo5.6.19-1.123.amzn1
amazon linux 1php56-pgsql5.6.19-1.123.amzn1
amazon linux 1php56-process5.6.19-1.123.amzn1
amazon linux 1php56-pspell5.6.19-1.123.amzn1
amazon linux 1php56-recode5.6.19-1.123.amzn1
amazon linux 1php56-snmp5.6.19-1.123.amzn1
amazon linux 1php56-soap5.6.19-1.123.amzn1
amazon linux 1php56-tidy5.6.19-1.123.amzn1
amazon linux 1php56-xml5.6.19-1.123.amzn1
amazon linux 1php56-xmlrpc5.6.19-1.123.amzn1
debian 7php55.4.45-0+deb7u7
debian 8php55.6.19+dfsg-0+deb8u1
Red Hatphpno fix listed
Red Hatphp-bcmathno fix listed
Red Hatphp-clino fix listed
Red Hatphp-commonno fix listed
Red Hatphp-dbano fix listed
Red Hatphp-develno fix listed
Red Hatphp-embeddedno fix listed
Red Hatphp-enchantno fix listed
Red Hatphp-fpmno fix listed
Red Hatphp-gdno fix listed
Red Hatphp-imapno fix listed
Red Hatphp-intlno fix listed
Red Hatphp-ldapno fix listed
Red Hatphp-mbstringno fix listed
Red Hatphp-mysqlno fix listed
Red Hatphp-mysqlndno fix listed
Red Hatphp-odbcno fix listed
Red Hatphp-pdono fix listed
Red Hatphp-pgsqlno fix listed
Red Hatphp-processno fix listed
Red Hatphp-pspellno fix listed
Red Hatphp-recodeno fix listed
Red Hatphp-snmpno fix listed
Red Hatphp-soapno fix listed
Red Hatphp-tidyno fix listed
Red Hatphp-xmlno fix listed
Red Hatphp-xmlrpcno fix listed
Red Hatphp-ztsno fix listed
ubuntu 12.04php55.3.10-1ubuntu3.22
ubuntu 14.04php55.5.9+dfsg-1ubuntu4.16
ubuntu 14.04-ESMphp55.5.9+dfsg-1ubuntu4.16
ubuntu 15.10php55.6.11+dfsg-1ubuntu3.2

References

All 15 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.