CVEfocus › CVE database › CVE-2019-11040

CVE-2019-11040Heap buffer overflow in EXIF extension

CVSS 4.8 MediumEPSS 4.1% (higher than 91% of CVEs)Published 2019-06-18Updated 2024-09-16Assigner: php

When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, 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 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.

CWE-125

What to do

Fixed builds are available from AlmaLinux, Alpine, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

92Fixed
1Fix pending
54Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04php7.2Fixed7.2.19-0ubuntu0.18.04.1UBUNTU-CVE-2019-11040
Ubuntu 16.04php7.0Fixed7.0.33-0ubuntu0.16.04.5UBUNTU-CVE-2019-11040
Ubuntu 14.04php5Fix pending5.5.9+dfsg-1ubuntu4.29+esm3 (Ubuntu Pro)UBUNTU-CVE-2019-11040
Red Hat Enterprise Linux 8apcu-panelFixed0:5.1.17-1.module+el8.1.0+3189+a1bff096RHSA-2020:1624
Red Hat Enterprise Linux 8libzipFixed0:1.5.2-1.module+el8.1.0+3189+a1bff096RHSA-2020:1624
Red Hat Enterprise Linux 8libzip-develFixed0:1.5.1-2.module+el8.1.0+3202+af5476b9RHSA-2020:3662
Red Hat Enterprise Linux 8libzip-toolsFixed0:1.5.1-2.module+el8.1.0+3202+af5476b9RHSA-2020:3662
Red Hat Enterprise Linux 8phpFixed0:7.3.20-1.module+el8.2.0+7373+b272fdefRHSA-2020:1624
Red Hat Enterprise Linux 8php-bcmathFixed0:7.3.20-1.module+el8.2.0+7373+b272fdefRHSA-2020:1624
Red Hat Enterprise Linux 8php-cliFixed0:7.2.24-1.module+el8.2.0+4601+7c76a223RHSA-2020:3662
Red Hat Enterprise Linux 8php-commonFixed0:7.3.20-1.module+el8.2.0+7373+b272fdefRHSA-2020:1624
Red Hat Enterprise Linux 8php-dbaFixed0:7.3.20-1.module+el8.2.0+7373+b272fdefRHSA-2020:1624
Red Hat Enterprise Linux 8php-dbgFixed0:7.3.20-1.module+el8.2.0+7373+b272fdefRHSA-2020:1624
Red Hat Enterprise Linux 8php-develFixed0:7.3.20-1.module+el8.2.0+7373+b272fdefRHSA-2020:1624
Red Hat Enterprise Linux 8php-embeddedFixed0:7.2.24-1.module+el8.2.0+4601+7c76a223RHSA-2020:3662
Red Hat Enterprise Linux 8php-enchantFixed0:7.3.20-1.module+el8.2.0+7373+b272fdefRHSA-2020:1624
Red Hat Enterprise Linux 8php-fpmFixed0:7.3.20-1.module+el8.2.0+7373+b272fdefRHSA-2020:1624
Red Hat Enterprise Linux 8php-gdFixed0:7.2.24-1.module+el8.2.0+4601+7c76a223RHSA-2020:3662
Red Hat Enterprise Linux 8php-gmpFixed0:7.2.24-1.module+el8.2.0+4601+7c76a223RHSA-2020:3662
Red Hat Enterprise Linux 8php-intlFixed0:7.3.20-1.module+el8.2.0+7373+b272fdefRHSA-2020:1624
Red Hat Enterprise Linux 8php-jsonFixed0:7.2.24-1.module+el8.2.0+4601+7c76a223RHSA-2020:3662
Red Hat Enterprise Linux 8php-ldapFixed0:7.2.24-1.module+el8.2.0+4601+7c76a223RHSA-2020:3662
Red Hat Enterprise Linux 8php-mbstringFixed0:7.3.20-1.module+el8.2.0+7373+b272fdefRHSA-2020:1624
Red Hat Enterprise Linux 8php-mysqlndFixed0:7.2.24-1.module+el8.2.0+4601+7c76a223RHSA-2020:3662
Red Hat Enterprise Linux 8php-odbcFixed0:7.3.20-1.module+el8.2.0+7373+b272fdefRHSA-2020:1624
Red Hat Enterprise Linux 8php-opcacheFixed0:7.3.20-1.module+el8.2.0+7373+b272fdefRHSA-2020:1624
Red Hat Enterprise Linux 8php-pdoFixed0:7.2.24-1.module+el8.2.0+4601+7c76a223RHSA-2020:3662
Red Hat Enterprise Linux 8php-pearFixed1:1.10.5-9.module+el8.1.0+3202+af5476b9RHSA-2020:3662
Red Hat Enterprise Linux 8php-pecl-apcuFixed0:5.1.17-1.module+el8.1.0+3189+a1bff096RHSA-2020:1624
Red Hat Enterprise Linux 8php-pecl-apcu-develFixed0:5.1.12-2.module+el8.1.0+3202+af5476b9RHSA-2020:3662
Red Hat Enterprise Linux 8php-pecl-rrdFixed0:2.0.1-1.module+el8.2.0+4968+1d5097dbRHSA-2020:3662
Red Hat Enterprise Linux 8php-pecl-xdebugFixed0:2.8.0-1.module+el8.2.0+4968+1d5097dbRHSA-2020:3662
Red Hat Enterprise Linux 8php-pecl-zipFixed0:1.15.4-1.module+el8.1.0+3189+a1bff096RHSA-2020:1624
Red Hat Enterprise Linux 8php-pgsqlFixed0:7.2.24-1.module+el8.2.0+4601+7c76a223RHSA-2020:3662
Red Hat Enterprise Linux 8php-processFixed0:7.2.24-1.module+el8.2.0+4601+7c76a223RHSA-2020:3662
Red Hat Enterprise Linux 8php-recodeFixed0:7.3.20-1.module+el8.2.0+7373+b272fdefRHSA-2020:1624
Red Hat Enterprise Linux 8php-snmpFixed0:7.2.24-1.module+el8.2.0+4601+7c76a223RHSA-2020:3662
Red Hat Enterprise Linux 8php-soapFixed0:7.2.24-1.module+el8.2.0+4601+7c76a223RHSA-2020:3662
Red Hat Enterprise Linux 8php-xmlFixed0:7.2.24-1.module+el8.2.0+4601+7c76a223RHSA-2020:3662
Red Hat Enterprise Linux 8php-xmlrpcFixed0:7.3.20-1.module+el8.2.0+7373+b272fdefRHSA-2020:1624
Red Hat Enterprise Linux 7phpWill not fix
Will not fix
Red Hat Enterprise Linux 7php-bcmathWill not fix
Will not fix
Red Hat Enterprise Linux 7php-cliWill not fix
Will not fix
Red Hat Enterprise Linux 7php-commonWill not fix
Will not fix
Red Hat Enterprise Linux 7php-dbaWill not fix
Will not fix
Red Hat Enterprise Linux 7php-develWill not fix
Will not fix
Red Hat Enterprise Linux 7php-embeddedWill not fix
Will not fix
Red Hat Enterprise Linux 7php-enchantWill not fix
Will not fix
Red Hat Enterprise Linux 7php-fpmWill not fix
Will not fix
Red Hat Enterprise Linux 7php-gdWill not fix
Will not fix
Red Hat Enterprise Linux 7php-intlWill not fix
Will not fix
Red Hat Enterprise Linux 7php-ldapWill not fix
Will not fix
Red Hat Enterprise Linux 7php-mbstringWill not fix
Will not fix
Red Hat Enterprise Linux 7php-mysqlWill not fix
Will not fix
Red Hat Enterprise Linux 7php-mysqlndWill not fix
Will not fix
Red Hat Enterprise Linux 7php-odbcWill not fix
Will not fix
Red Hat Enterprise Linux 7php-pdoWill not fix
Will not fix
Red Hat Enterprise Linux 7php-pgsqlWill not fix
Will not fix
Red Hat Enterprise Linux 7php-processWill not fix
Will not fix
Red Hat Enterprise Linux 7php-pspellWill not fix
Will not fix
Red Hat Enterprise Linux 7php-recodeWill not fix
Will not fix
Red Hat Enterprise Linux 7php-snmpWill not fix
Will not fix
Red Hat Enterprise Linux 7php-soapWill not fix
Will not fix
Red Hat Enterprise Linux 7php-xmlWill not fix
Will not fix
Red Hat Enterprise Linux 7php-xmlrpcWill not fix
Will not fix
Red Hat Enterprise Linux 6phpWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-bcmathWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-cliWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-dbaWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-embeddedWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-enchantWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-fpmWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-gdWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-imapWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-intlWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-ldapWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-mbstringWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-mysqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-odbcWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-pdoWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-pgsqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-processWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-pspellWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-recodeWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-snmpWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-soapWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-tidyWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-xmlWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-xmlrpcWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-ztsWill not fix
Out of support scope
Red Hat Enterprise Linux 5phpWill not fix
Out of support scope
Red Hat Enterprise Linux 5php53Will not fix
Out of support scope
AlmaLinux 8apcu-panelFixed5.1.17-1.module_el8.3.0+2009+b272fdefALSA-2020:1624
AlmaLinux 8libzipFixed1.5.1-2.module_el8.5.0+53+9945c2afALSA-2020:1624
AlmaLinux 8libzip-develFixed1.5.2-1.module_el8.3.0+2009+b272fdefALSA-2020:3662
AlmaLinux 8libzip-toolsFixed1.5.1-2.module_el8.3.0+2010+7c76a223ALSA-2020:1624
AlmaLinux 8phpFixed7.3.20-1.module_el8.4.0+2229+b272fdefALSA-2020:1624
AlmaLinux 8php-bcmathFixed7.3.20-1.module_el8.3.0+2009+b272fdefALSA-2020:3662
AlmaLinux 8php-cliFixed7.3.20-1.module_el8.5.0+152+112d3b8cALSA-2020:3662
AlmaLinux 8php-commonFixed7.2.24-1.module_el8.5.0+53+9945c2afALSA-2020:1624
AlmaLinux 8php-dbaFixed7.3.20-1.module_el8.3.0+2009+b272fdefALSA-2020:3662
AlmaLinux 8php-dbgFixed7.2.24-1.module_el8.3.0+2010+7c76a223ALSA-2020:3662
AlmaLinux 8php-develFixed7.3.20-1.module_el8.4.0+2229+b272fdefALSA-2020:3662
AlmaLinux 8php-embeddedFixed7.2.24-1.module_el8.4.0+2228+7c76a223ALSA-2020:1624
AlmaLinux 8php-enchantFixed7.3.20-1.module_el8.5.0+152+112d3b8cALSA-2020:3662
AlmaLinux 8php-fpmFixed7.2.24-1.module_el8.3.0+2010+7c76a223ALSA-2020:3662
AlmaLinux 8php-gdFixed7.3.20-1.module_el8.5.0+152+112d3b8cALSA-2020:1624
AlmaLinux 8php-gmpFixed7.2.24-1.module_el8.5.0+53+9945c2afALSA-2020:1624
AlmaLinux 8php-intlFixed7.3.20-1.module_el8.3.0+2009+b272fdefALSA-2020:3662
AlmaLinux 8php-jsonFixed7.2.24-1.module_el8.3.0+2010+7c76a223ALSA-2020:1624
AlmaLinux 8php-ldapFixed7.3.20-1.module_el8.4.0+2229+b272fdefALSA-2020:3662
AlmaLinux 8php-mbstringFixed7.2.24-1.module_el8.4.0+2228+7c76a223ALSA-2020:1624
AlmaLinux 8php-mysqlndFixed7.3.20-1.module_el8.3.0+2009+b272fdefALSA-2020:1624
AlmaLinux 8php-odbcFixed7.3.20-1.module_el8.3.0+2009+b272fdefALSA-2020:1624
AlmaLinux 8php-opcacheFixed7.3.20-1.module_el8.4.0+2229+b272fdefALSA-2020:3662
AlmaLinux 8php-pdoFixed7.2.24-1.module_el8.3.0+2010+7c76a223ALSA-2020:1624
AlmaLinux 8php-pearFixed1:1.10.9-1.module_el8.3.0+2009+b272fdefALSA-2020:1624
AlmaLinux 8php-pecl-apcuFixed5.1.17-1.module_el8.4.0+2229+b272fdefALSA-2020:3662
AlmaLinux 8php-pecl-apcu-develFixed5.1.12-2.module_el8.4.0+2228+7c76a223ALSA-2020:1624
AlmaLinux 8php-pecl-rrdFixed2.0.1-1.module_el8.3.0+2009+b272fdefALSA-2020:3662
AlmaLinux 8php-pecl-xdebugFixed2.8.0-1.module_el8.4.0+2229+b272fdefALSA-2020:3662
AlmaLinux 8php-pecl-zipFixed1.15.3-1.module_el8.5.0+53+9945c2afALSA-2020:1624
AlmaLinux 8php-pgsqlFixed7.3.20-1.module_el8.3.0+2009+b272fdefALSA-2020:3662
AlmaLinux 8php-processFixed7.2.24-1.module_el8.4.0+2228+7c76a223ALSA-2020:1624
AlmaLinux 8php-recodeFixed7.3.20-1.module_el8.3.0+2009+b272fdefALSA-2020:3662
AlmaLinux 8php-snmpFixed7.3.20-1.module_el8.4.0+2229+b272fdefALSA-2020:3662
AlmaLinux 8php-soapFixed7.3.20-1.module_el8.3.0+2009+b272fdefALSA-2020:3662
AlmaLinux 8php-xmlFixed7.3.20-1.module_el8.5.0+152+112d3b8cALSA-2020:3662
AlmaLinux 8php-xmlrpcFixed7.3.20-1.module_el8.4.0+2229+b272fdefALSA-2020:1624
Rocky Linux 8libzipFixed0:1.5.1-2.module+el8.4.0+413+c9202ddaRLSA-2020:3662
Rocky Linux 8phpFixed0:7.2.24-1.module+el8.4.0+413+c9202ddaRLSA-2020:3662
Rocky Linux 8php-pearFixed1:1.10.5-9.module+el8.4.0+413+c9202ddaRLSA-2020:3662
Rocky Linux 8php-pecl-apcuFixed0:5.1.17-1.module+el8.4.0+414+2e7afcddRLSA-2020:1624
Rocky Linux 8php-pecl-rrdFixed0:2.0.1-1.module+el8.4.0+414+2e7afcddRLSA-2020:3662
Rocky Linux 8php-pecl-xdebugFixed0:2.8.0-1.module+el8.4.0+414+2e7afcddRLSA-2020:3662
Rocky Linux 8php-pecl-zipFixed0:1.15.4-1.module+el8.4.0+414+2e7afcddRLSA-2020:1624
Alpine Linux 3.15php7Fixed7.2.19-r0ALPINE-CVE-2019-11040
Alpine Linux 3.14php7Fixed7.2.19-r0ALPINE-CVE-2019-11040
Alpine Linux 3.13php7Fixed7.2.19-r0ALPINE-CVE-2019-11040
Alpine Linux 3.12php7Fixed7.2.19-r0ALPINE-CVE-2019-11040
Alpine Linux 3.11php7Fixed7.2.19-r0ALPINE-CVE-2019-11040
Alpine Linux 3.10php7Fixed7.2.19-r0ALPINE-CVE-2019-11040
Alpine Linux 3.9php7Fixed7.2.19-r0ALPINE-CVE-2019-11040
Alpine Linux 3.8php7Fixed7.2.21-r0ALPINE-CVE-2019-11040
Alpine Linux 3.7php7Fixed7.1.30-r0ALPINE-CVE-2019-11040

What the vendor says

As published in the CVE record by php, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.