CVE-2019-11042: heap-buffer-overflow on exif_process_user_comment in EXIF extension

Published Jul 30, 2019
·
Updated

apachemodphp. Multiple issues were addressed by updating to PHP version 7.3.8.

Other sources

Fixed bug (heap-buffer-overflow on exifprocessusercomment). (CVE-2019-11042)

PHP

heap-buffer-overflow on exifprocessusercomment

Upstream issue and fix:

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

Red Hat

When PHP EXIF extension is parsing EXIF information from an image, e.g. via exifreaddata() function, in PHP versions 7.1.x below 7.1.31, 7.2.x below 7.2.21 and 7.3.x below 7.3.8 it is possible to supply it with data what will cause it to read past the allocated buffer. This may lead to information disclosure or crash.

Credit

CVE-2019-11041, CVE-2019-11042

Affected Software

25 affected componentsFixes available
redhat/rh-php72-php<0:7.2.24-1.el7
0:7.2.24-1.el7
redhat/php<7.1.31
7.1.31
redhat/php<7.2.21
7.2.21
redhat/php<7.3.8
7.3.8
debian/php5
debian/php7.0
debian/php7.3
Apple macOS Catalina<10.15.1
10.15.1
Apple macOS Catalina<10.15
10.15
PHP PHP<7.1.31
7.1.31
PHP PHP>=7.1.0<7.1.31
PHP PHP>=7.2.0<7.2.21
PHP PHP>=7.3.0<7.3.8
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.04
Apple iOS and macOS<10.15.1
openSUSE Leap=15.0
redhat Software Collections=1.0
Tenable Tenable.Sc<5.19.0

Remediation

Event History

Aug 1, 2019
CVE Published
via PHP·12:00 AM
Aug 9, 2019
CVE Published
via MITRE·07:26 PM
Data Sourced
via MITRE·07:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:12 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·10:16 PM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2019-11042?

CVE-2019-11042 is a fixed bug that causes a heap-buffer-overflow vulnerability on the exif_process_user_comment function in PHP versions 7.1.x below 7.1.31, 7.2.x below 7.2.21, and 7.3.x below 7.3.8.

2

What is the severity of CVE-2019-11042?

The severity of CVE-2019-11042 is low with a severity value of 3.7.

3

How does CVE-2019-11042 affect PHP?

CVE-2019-11042 affects PHP by allowing an attacker to supply EXIF information that can cause the PHP EXIF extension to read past the allocated buffer, potentially leading to information leakage or denial of service.

4

Which versions of PHP are affected by CVE-2019-11042?

PHP versions 7.1.x below 7.1.31, 7.2.x below 7.2.21, and 7.3.x below 7.3.8 are affected by CVE-2019-11042.

5

How can I fix CVE-2019-11042?

To fix CVE-2019-11042, update PHP to version 7.1.31 or higher for PHP 7.1.x, version 7.2.21 or higher for PHP 7.2.x, or version 7.3.8 or higher for PHP 7.3.x.

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