CVE-2017-11362

CRITICAL

PHP 7.x < 7.0.21 and 7.1.x < 7.1.7 - Stack-Based Buffer Overflow via Long Locale in msgfmt_parse_message

Title source: llm
STIX 2.1

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.

References (5)

Core 5
Core References
Issue Tracking, Vendor Advisory x_refsource_misc
https://bugs.php.net/bug.php?id=73473
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:1296
Vendor Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20180112-0001/
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201709-21
Vendor Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3566-2/

Scores

CVSS v3 9.8
EPSS 0.0208
EPSS Percentile 84.2%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-119
Status published
Products (28)
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
... and 18 more
Published Jul 17, 2017
Tracked Since Feb 18, 2026