CVE-2019-11047: Heap-buffer-overflow READ in exif

Published Dec 17, 2019
·
Updated

A vulnerability was found in PHP EXIF extension is parsing EXIF information from an image, e.g. via exifreaddata() function, in PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0 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.

Reference: https://bugs.php.net/bug.php?id=78910

Other sources

Fixed bug (Heap-buffer-overflow READ in exif). (CVE-2019-11047)

PHP

When PHP EXIF extension is parsing EXIF information from an image, e.g. via exifreaddata() function, in PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0 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.

Affected Software

20 affected componentsFixes available
redhat/rh-php73-php<0:7.3.20-1.el7
0:7.3.20-1.el7
redhat/php 7.2Git-2019-12<04
04
debian/php5
debian/php7.0
debian/php7.3
PHP PHP<7.2.26
7.2.26
PHP PHP>=7.2.0<7.2.26
PHP PHP>=7.3.0<7.3.13
PHP PHP=7.4.0
Fedoraproject Fedora=30
Fedoraproject Fedora=31
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
Canonical Ubuntu Linux=19.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/rh-php73-php to a version that resolves this vulnerability.

    Fixed in 0:7.3.20-1.el7
  2. Upgrade

    Upgrade redhat/php 7.2Git-2019-12 to a version that resolves this vulnerability.

    Fixed in 04
  3. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.2.26
  4. Upgrade

    Upgrade PHP EXIF extension to a version that resolves this vulnerability.

    Fixed in 7.2.26
  5. Upgrade

    Upgrade PHP EXIF extension to a version that resolves this vulnerability.

    Fixed in 7.3.13
  6. Upgrade

    Upgrade PHP EXIF extension to a version that resolves this vulnerability.

    Fixed in 7.4.0

Event History

Dec 18, 2019
CVE Published
via PHP·12:00 AM
Dec 23, 2019
CVE Published
via MITRE·02:40 AM
Data Sourced
via MITRE·02:40 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 20, 2026
Data Sourced
via Ubuntu·10:16 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·10:17 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2019-11047?

CVE-2019-11047 is a fixed bug related to a heap-buffer-overflow read vulnerability in the PHP EXIF extension.

2

Is PHP version 7.4.0 affected by CVE-2019-11047?

Yes, PHP version 7.4.0 is affected by CVE-2019-11047.

3

How can I check if my PHP version is affected by CVE-2019-11047?

You can check if your PHP version is affected by CVE-2019-11047 by referring to the affected software list or by checking the PHP version against the known vulnerable versions (7.2.x below 7.2.26, 7.3.x below 7.3.13, and 7.4.0).

4

What is the severity of CVE-2019-11047?

CVE-2019-11047 has a severity rating of 6.5 (medium).

5

How do I fix the CVE-2019-11047 vulnerability?

To fix the CVE-2019-11047 vulnerability, you should update PHP to a patched version (7.2.26 or later, 7.3.13 or later, or 7.4.0 or later) or apply any available security patches provided by your operating system or software vendor.

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