CVE-2019-11039: Out-of-bounds read in iconv.c
Fixed bug (Out-of-bounds read in iconv.c:phpiconvmimedecode() due to integer overflow) (CVE-2019-11039).
Other sources
Function iconvmimedecodeheaders() in PHP versions 7.1.x below 7.1.3 ...
— Debian
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/rh-php71-phpto a version that resolves this vulnerability.Fixed in 0:7.1.30-1.el7 - Upgrade
Upgrade
redhat/rh-php72-phpto a version that resolves this vulnerability.Fixed in 0:7.2.24-1.el7 - Upgrade
Upgrade
redhat/PHPto a version that resolves this vulnerability.Fixed in 7.1.30 - Upgrade
Upgrade
redhat/PHPto a version that resolves this vulnerability.Fixed in 7.2.19 - Upgrade
Upgrade
redhat/PHPto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
PHPto a version that resolves this vulnerability.Fixed in 7.1.30 - Upgrade
Upgrade
php/iconvto a version that resolves this vulnerability.Fixed in 7.1.3 - Upgrade
Upgrade
php/iconvto a version that resolves this vulnerability.Fixed in 7.1.30 - Upgrade
Upgrade
php/iconvto a version that resolves this vulnerability.Fixed in 7.2.19 - Upgrade
Upgrade
php/iconvto a version that resolves this vulnerability.Fixed in 7.3.6 - Compensating control
If immediate patching is not possible, reduce exposure by limiting requests that reach the vulnerable PHP codepath (iconv_mime_decode_headers) until the affected PHP versions are upgraded.
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the vulnerability ID for this bug?
The vulnerability ID for this bug is CVE-2019-11039.
What is the title of this bug?
The title of this bug is 'Fixed bug (Out-of-bounds read in iconv.c:_php_iconv_mime_decode() due to integer overflow)'.
What is the severity of CVE-2019-11039?
The severity of CVE-2019-11039 is medium.
How does CVE-2019-11039 affect the PHP software?
CVE-2019-11039 affects PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19, and 7.3.x below 7.3.6.
What is the potential impact of CVE-2019-11039?
The potential impact of CVE-2019-11039 is information disclosure or crash.
How can I fix CVE-2019-11039?
To fix CVE-2019-11039, update your PHP software to version 7.1.30, 7.2.19, or 7.3.6.