CVE-2016-7416: Buffer Overflow

Published Sep 3, 2016
·
Updated

ext/intl/msgformat/msgformatformat.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.

Other sources

Fixed bug (add locale length check). (CVE-2016-7416)

PHP

It was discovered that big locale string causes stack based overflow inside libicu.

PHP bug:

https://bugs.php.net/bug.php?id=73007

PHP patch:

https://github.com/php/php-src/commit/6d55ba265637d6adf0ba7e9c9ef11187d1ec2f5b?w=1

CVE assignment:

http://seclists.org/oss-sec/2016/q3/518

Red Hat

Affected Software

17 affected componentsFixes available
redhat/rh-php70-php<0:7.0.27-1.el6
0:7.0.27-1.el6
redhat/rh-php70-php<0:7.0.27-1.el7
0:7.0.27-1.el7
redhat/php<5.6.26
5.6.26
redhat/php<7.0.11
7.0.11
PHP PHP<=5.6.25
PHP PHP=7.0.0
PHP PHP=7.0.1
PHP PHP=7.0.2
PHP PHP=7.0.3
PHP PHP=7.0.4
PHP PHP=7.0.5
PHP PHP=7.0.6
PHP PHP=7.0.7
PHP PHP=7.0.8
PHP PHP=7.0.9
PHP PHP=7.0.10
PHP PHP<7.0.11
7.0.11

Event History

Sep 3, 2016
CVE Published
12:00 AM
Sep 17, 2016
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2016-7416?

CVE-2016-7416 has been classified as a denial of service vulnerability due to the potential for application crashes.

2

How do I fix CVE-2016-7416?

To resolve CVE-2016-7416, upgrade to PHP versions 5.6.26 or 7.0.11 or later.

3

Which software versions are affected by CVE-2016-7416?

CVE-2016-7416 affects PHP versions prior to 5.6.26 and 7.x versions before 7.0.11.

4

What type of attack can exploit CVE-2016-7416?

CVE-2016-7416 can be exploited by remote attackers to cause denial of service through application crashes.

5

Is there a specific package that addresses CVE-2016-7416?

Yes, the rh-php70-php package versions 0:7.0.27-1.el6 or 0:7.0.27-1.el7 resolve CVE-2016-7416.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203