CVE-2019-11040: Heap buffer overflow in EXIF extension

Published May 28, 2019
·
Updated

Fixed bug (heap-buffer-overflow on phpjpgget16) (CVE-2019-11040).

Other sources

When PHP EXIF extension is parsing EXIF information from an image, e.g ...

Debian

Affected Software

17 affected componentsFixes available
redhat/rh-php71-php<0:7.1.30-1.el7
0:7.1.30-1.el7
redhat/rh-php72-php<0:7.2.24-1.el7
0:7.2.24-1.el7
redhat/php<7.1.30
7.1.30
redhat/php<7.2.19
7.2.19
redhat/php<7.3.6
7.3.6
debian/php5
debian/php7.0
debian/php7.3
PHP PHP<7.1.30
7.1.30
PHP PHP>=7.1.0<7.1.30
PHP PHP>=7.2.0<7.2.19
PHP PHP>=7.3.0<7.3.6
redhat Software Collections=1.0
openSUSE Leap=15.0
openSUSE Leap=15.1
Debian Debian Linux=9.0
Debian Debian Linux=10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

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

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

    Fixed in 0:7.2.24-1.el7
  3. Upgrade

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

    Fixed in 7.1.30
  4. Upgrade

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

    Fixed in 7.2.19
  5. Upgrade

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

    Fixed in 7.3.6
  6. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.1.30
  7. Upgrade

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

    Fixed in 7.1.30
  8. Upgrade

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

    Fixed in 7.2.19
  9. Upgrade

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

    Fixed in 7.3.6
  10. Compensating control

    If upgrading is not immediately possible, avoid processing untrusted images with the PHP EXIF extension (e.g., avoid calling exif_read_data() on attacker-supplied images) to reduce risk of information disclosure or crashes.

Event History

May 30, 2019
CVE Published
via PHP·12:00 AM
Jun 18, 2019
CVE Published
via MITRE·11:28 PM
Data Sourced
via MITRE·11:28 PM
DescriptionSeverityWeakness
Jun 19, 2019
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:12 PM
Description
Feb 19, 2026
Data Sourced
via Ubuntu·04:08 PM
RemedyDescriptionSeverityAffected Software
Apr 28, 2026
Data Sourced
via Debian·04:58 PM
DescriptionAffected 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-11040?

CVE-2019-11040 is a vulnerability in PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19, and 7.3.x below 7.3.6 that can cause a heap buffer overflow when parsing EXIF information from an image.

2

How severe is CVE-2019-11040?

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

3

How can I check if I am affected by CVE-2019-11040?

You are affected by CVE-2019-11040 if you are using PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19, or 7.3.x below 7.3.6.

4

How do I fix CVE-2019-11040?

To fix CVE-2019-11040, you need to update PHP to version 7.1.30, 7.2.19, or 7.3.6.

5

Where can I find more information about CVE-2019-11040?

You can find more information about CVE-2019-11040 in the PHP ChangeLog, CVE database, NVD database, and Red Hat Bugzilla.

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