Vulnerabilities / CVE-2017-11362

critical

CVE-2017-11362

php: Stack-based buffer over-read in msgfmt_parse_message function

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 Hat4.0CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

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

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.

Affected packages and fixed versions

SourcePackageFixed in
Red Hatphp, php-bcmath, php-cli and 25 moreno fix listed
ubuntu 14.04php55.5.9+dfsg-1ubuntu4.22
ubuntu 14.04-ESMphp55.5.9+dfsg-1ubuntu4.22
ubuntu 16.04php7.07.0.22-0ubuntu0.16.04.1
ubuntu 16.04-ESMphp7.07.0.22-0ubuntu0.16.04.1
ubuntu 17.04php7.07.0.22-0ubuntu0.17.04.1
ubuntu 17.10php7.17.1.8-1ubuntu1
Show all 34 entries from 7 sources
SourcePackageFixed in
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 14.04php55.5.9+dfsg-1ubuntu4.22
ubuntu 14.04-ESMphp55.5.9+dfsg-1ubuntu4.22
ubuntu 16.04php7.07.0.22-0ubuntu0.16.04.1
ubuntu 16.04-ESMphp7.07.0.22-0ubuntu0.16.04.1
ubuntu 17.04php7.07.0.22-0ubuntu0.17.04.1
ubuntu 17.10php7.17.1.8-1ubuntu1

References

All 10 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.