Skip to content
OpenAdvisories
Medium · 4.8 CVE-2019-11047 EUVD-2019-2755GHSA-r6mj-gw85-2394

Heap-buffer-overflow READ in exif

Published Dec 23, 2019 · Updated Sep 17, 2024 · Assigned by php

Description

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

VendorProductAffectedFixed
PHP Group PHP 7.2.x – < 7.2.26, 7.3.x – < 7.3.13, 7.4.x – < 7.4.1 7.2.26

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 10 php7.3 7.3.14-1~deb10u1 DSA-4626-1
Debian 9 php7.0 7.0.33-0+deb9u7 DSA-4628-1
Debian 8 php5 5.6.40+dfsg-0+deb8u8 DLA-2050-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS php7.2 7.2.24-0ubuntu0.18.04.2 USN-4239-1
Ubuntu 16.04 LTS php7.0 7.0.33-0ubuntu0.16.04.9 USN-4239-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.29+esm8 USN-4239-1
ReleasePackageFixed inAdvisory
RHEL 8 apcu-panel +2 5.1.17-1.module+el8.1.0+3189+a1bff096 RHSA-2020:3662
RHEL 8 libzip +2 1.5.2-1.module+el8.1.0+3189+a1bff096 RHSA-2020:3662
RHEL 8 php +25 7.3.20-1.module+el8.2.0+7373+b272fdef RHSA-2020:3662
RHEL 8 php-pear 1:1.10.9-1.module+el8.1.0+3189+a1bff096 RHSA-2020:3662
RHEL 8 php-pecl-rrd 2.0.1-1.module+el8.2.0+4968+1d5097db RHSA-2020:3662
RHEL 8 php-pecl-xdebug 2.8.0-1.module+el8.2.0+4968+1d5097db RHSA-2020:3662
RHEL 8 php-pecl-zip 1.15.4-1.module+el8.1.0+3189+a1bff096 RHSA-2020:3662
RHEL 3 rh-php73-php +27 7.3.20-1.el7 RHSA-2020:5275

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 apcu-panel +2 5.1.17-1.module_el8.3.0+2009+b272fdef ALSA-2020:3662
AlmaLinux 8 libzip +2 1.5.2-1.module_el8.3.0+2009+b272fdef ALSA-2020:3662
AlmaLinux 8 php +25 7.3.20-1.module_el8.3.0+2009+b272fdef ALSA-2020:3662
AlmaLinux 8 php-pear 1:1.10.9-1.module_el8.3.0+2009+b272fdef ALSA-2020:3662
AlmaLinux 8 php-pecl-rrd 2.0.1-1.module_el8.3.0+2009+b272fdef ALSA-2020:3662
AlmaLinux 8 php-pecl-xdebug 2.8.0-1.module_el8.3.0+2009+b272fdef ALSA-2020:3662
AlmaLinux 8 php-pecl-zip 1.15.4-1.module_el8.3.0+2009+b272fdef ALSA-2020:3662

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libzip 1.5.2-1.module+el8.4.0+414+2e7afcdd RLSA-2020:3662
Rocky Linux 8 php 7.3.20-1.module+el8.4.0+414+2e7afcdd RLSA-2020:3662
Rocky Linux 8 php-pear 1:1.10.9-1.module+el8.4.0+414+2e7afcdd RLSA-2020:3662
Rocky Linux 8 php-pecl-apcu 5.1.17-1.module+el8.4.0+414+2e7afcdd RLSA-2020:3662
Rocky Linux 8 php-pecl-rrd 2.0.1-1.module+el8.4.0+414+2e7afcdd RLSA-2020:3662
Rocky Linux 8 php-pecl-xdebug 2.8.0-1.module+el8.4.0+414+2e7afcdd RLSA-2020:3662
Rocky Linux 8 php-pecl-zip 1.15.4-1.module+el8.4.0+414+2e7afcdd RLSA-2020:3662
ReleasePackageFixed inAdvisory
SLES 15 SP1 php7 7.2.5-4.49.1 SUSE-SU-2022:4067-1, SUSE-SU-2020:0101-1
SLES 15 php7 7.2.5-4.49.1 SUSE-SU-2022:4067-1, SUSE-SU-2020:0101-1
SLES 12 SP5 php7 7.0.7-50.91.1 SUSE-SU-2020:0352-1
SLES 12 SP5 php72 7.2.5-1.32.1 SUSE-SU-2020:0267-1
SLES 12 SP4 php5 5.5.14-109.68.1 SUSE-SU-2020:0522-1
SLES 12 SP4 php7 7.0.7-50.91.1 SUSE-SU-2020:0352-1
SLES 12 SP4 php72 7.2.5-1.32.1 SUSE-SU-2020:0267-1
SLES 12 php5 5.5.14-109.68.1 SUSE-SU-2020:0522-1
SLES 12 php7 7.0.7-50.91.1 SUSE-SU-2020:0352-1
SLES 12 php72 7.2.5-1.32.1 SUSE-SU-2020:0267-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 11 SP4 php53 5.3.17-112.79.1 SUSE-SU-2020:14289-1
SLES for SAP 15 SP1 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLES for SAP 15 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLE HPC 15 SP1 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLE HPC 15 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SUSE Linux Enterprise Point of Sale 11 SP3 php53 5.3.17-112.79.1 SUSE-SU-2020:14289-1
SUSE Enterprise Storage 6 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
openSUSE Leap 15.1 php7 +1 7.2.5-lp151.6.19.2 openSUSE-SU-2020:0080-1
ReleasePackageFixed inAdvisory
Alpine v3.15 php7 7.3.13-r0 —
Alpine v3.14 php7 7.3.13-r0 —
Alpine v3.13 php7 7.3.13-r0 —
Alpine v3.12 php7 7.3.13-r0 —
Alpine v3.11 php7 7.3.13-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.10 php7 7.3.13-r0 —
Alpine v3.9 php7 7.2.26-r0 —
Alpine v3.8 php7 7.2.26-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 apcu-panel +2 5.1.17-1.module+el8.2.0+5569+98c8b30d ELSA-2020-3662
Oracle Linux 8 libzip +2 1.5.2-1.module+el8.2.0+5569+98c8b30d ELSA-2020-3662
Oracle Linux 8 php +25 7.3.20-1.module+el8.2.0+7784+4033621d ELSA-2020-3662
Oracle Linux 8 php-pear 1:1.10.9-1.module+el8.2.0+5569+98c8b30d ELSA-2020-3662
Oracle Linux 8 php-pecl-rrd 2.0.1-1.module+el8.2.0+5569+98c8b30d ELSA-2020-3662
Oracle Linux 8 php-pecl-xdebug 2.8.0-1.module+el8.2.0+5569+98c8b30d ELSA-2020-3662
Oracle Linux 8 php-pecl-zip 1.15.4-1.module+el8.2.0+5569+98c8b30d ELSA-2020-3662

Advisories 19

References