Skip to content
OpenAdvisories
Unscored CVE-2017-11362 EUVD-2017-2991GHSA-p8vm-62x6-j22w

In PHP 7.x before 7.0.21 and 7.1.x before 7.1.7, ext/intl/msgformat/msgformat_parse.c does not restrict the locale length, which allows rem…

Published Jul 17, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

In PHP 7.x before 7.0.21 and 7.1.x before 7.1.7, ext/intl/msgformat/msgformat_parse.c does not restrict the locale length, which allows remote attackers to cause a denial of service (stack-based buffer overflow and application crash) or possibly have unspecified other impact within International Components for Unicode (ICU) for C/C++ via a long first argument to the msgfmt_parse_message function.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS php7.0 7.0.22-0ubuntu0.16.04.1 USN-3382-1
Ubuntu 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.22 USN-3382-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.29+esm2 USN-3566-2
ReleasePackageFixed inAdvisory
RHEL 3 rh-php70-php +29 7.0.27-1.el6 RHSA-2018:1296

Advisories 3

References