Buffer overflow in PHP
CVE-2016-7416
ext/intl/msgformat/msgformat_format.c in PHP before 5.6.26 and 7.x before 7.0.11 does not properly restrict the locale length provided to the Locale class in the ICU library, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a MessageFormatter::formatMessage call with a long first argument.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.067, 94.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 7.0.0, 7.0.1, 7.0.2
Weakness classification (CWE)
References
- www.securityfocus.com/bid/93008 (vdb-entry)
- www.php.net/ChangeLog-7.php (Release Notes)
- GLSA-201611-22 (vendor-advisory)
- www.securitytracker.com/id/1036836 (vdb-entry)
- [oss-security] 20160915 Re: CVE assignment for PHP 5.6.26 and 7.0.11 (mailing-list, Mailing List)
- RHSA-2018:1296 (vendor-advisory)
- bugs.php.net/bug.php (Exploit, Issue Tracking)
- www.php.net/ChangeLog-5.php (Release Notes)
- www.tenable.com/security/tns-2016-19
- github.com/php/php-src/commit/6d55ba265637d6adf0ba7e9c9ef11187d1ec2f5b (Patch, Issue Tracking)