Skip to content
OpenAdvisories
Medium · 4.8 CVE-2019-11042 EUVD-2019-2750GHSA-pg67-q5vx-48xq

heap-buffer-overflow on exif_process_user_comment in EXIF extension

Published Aug 9, 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.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.

Affected products

VendorProductAffectedFixed
PHP Group PHP 7.1.x below 7.1.31, 7.2.x below 7.2.21, 7.3.x below 7.3.8 —

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.9-1~deb10u1 DSA-4527-1
Debian 9 php7.0 7.0.33-0+deb9u5 DSA-4529-1
Debian 8 php5 5.6.40+dfsg-0+deb8u5 DLA-1878-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS php7.2 7.2.19-0ubuntu0.18.04.2 USN-4097-1
Ubuntu 16.04 LTS php7.0 7.0.33-0ubuntu0.16.04.6 USN-4097-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.29+esm5 USN-4097-2
ReleasePackageFixed inAdvisory
RHEL 8 apcu-panel +2 5.1.12-2.module+el8.1.0+3202+af5476b9 RHSA-2020:3662, RHSA-2020:1624
RHEL 8 libzip +2 1.5.1-2.module+el8.1.0+3202+af5476b9 RHSA-2020:3662, RHSA-2020:1624
RHEL 8 php +25 7.2.24-1.module+el8.2.0+4601+7c76a223 RHSA-2020:3662, RHSA-2020:1624
RHEL 8 php-pear 1:1.10.5-9.module+el8.1.0+3202+af5476b9 RHSA-2020:3662, RHSA-2020:1624
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.3-1.module+el8.1.0+3186+20164e6f RHSA-2020:3662, RHSA-2020:1624
RHEL 3 rh-php72-php +27 7.2.24-1.el7 RHSA-2019:3299

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 apcu-panel +2 5.1.12-2.module_el8.3.0+2010+7c76a223 ALSA-2020:3662, ALSA-2020:1624
AlmaLinux 8 libzip +2 1.5.1-2.module_el8.3.0+2010+7c76a223 ALSA-2020:3662, ALSA-2020:1624
AlmaLinux 8 php +25 7.2.24-1.module_el8.3.0+2010+7c76a223 ALSA-2020:3662, ALSA-2020:1624
AlmaLinux 8 php-pear 1:1.10.5-9.module_el8.3.0+2010+7c76a223 ALSA-2020:3662, ALSA-2020:1624
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.3-1.module_el8.3.0+2010+7c76a223 ALSA-2020:3662, ALSA-2020:1624

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libzip 1.5.1-2.module+el8.4.0+413+c9202dda RLSA-2020:3662, RLSA-2020:1624
Rocky Linux 8 php 7.2.24-1.module+el8.4.0+413+c9202dda RLSA-2020:3662, RLSA-2020:1624
Rocky Linux 8 php-pear 1:1.10.5-9.module+el8.4.0+413+c9202dda RLSA-2020:3662, RLSA-2020:1624
Rocky Linux 8 php-pecl-apcu 5.1.12-2.module+el8.4.0+413+c9202dda RLSA-2020:3662, RLSA-2020:1624
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.3-1.module+el8.4.0+413+c9202dda RLSA-2020:3662, RLSA-2020:1624
ReleasePackageFixed inAdvisory
SLES 15 SP1 php7 7.2.5-4.40.1 SUSE-SU-2022:4067-1, SUSE-SU-2019:2503-1
SLES 15 php7 7.2.5-4.40.1 SUSE-SU-2022:4067-1, SUSE-SU-2019:2503-1
SLES 12 SP4 php5 5.5.14-109.68.1 SUSE-SU-2020:0522-1
SLES 12 SP4 php7 7.0.7-50.85.1 SUSE-SU-2019:2243-1
SLES 12 SP4 php72 7.2.5-1.23.1 SUSE-SU-2019:2270-1
SLES 12 php5 5.5.14-109.68.1 SUSE-SU-2020:0522-1
SLES 12 php7 7.0.7-50.85.1 SUSE-SU-2019:2243-1
SLES 12 php72 7.2.5-1.23.1 SUSE-SU-2019:2270-1
SLES 11 SP4 php53 5.3.17-112.71.1 SUSE-SU-2019:14158-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
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.71.1 SUSE-SU-2019:14158-1
SUSE Enterprise Storage 6 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php7 7.4.24-1.1 openSUSE-SU-2024:11167-1
openSUSE Tumbleweed php8 8.0.11-1.1 openSUSE-SU-2024:11169-1
openSUSE Leap 15.4 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
openSUSE Leap 15.0 php7 7.2.5-lp150.2.25.1 openSUSE-SU-2019:2271-1
ReleasePackageFixed inAdvisory
Alpine v3.15 php7 7.3.8-r0 —
Alpine v3.14 php7 7.3.8-r0 —
Alpine v3.13 php7 7.3.8-r0 —
Alpine v3.12 php7 7.3.8-r0 —
Alpine v3.11 php7 7.3.8-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.10 php7 7.3.8-r0 —
Alpine v3.9 php7 7.2.21-r0 —
Alpine v3.8 php7 7.2.21-r0 —
Alpine v3.7 php7 7.1.32-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 apcu-panel +2 5.1.12-2.module+el8.2.0+5510+6771133c ELSA-2020-3662, ELSA-2020-1624
Oracle Linux 8 libzip +2 1.5.1-2.module+el8.2.0+5510+6771133c ELSA-2020-3662, ELSA-2020-1624
Oracle Linux 8 php +25 7.2.24-1.module+el8.2.0+5510+6771133c ELSA-2020-3662, ELSA-2020-1624
Oracle Linux 8 php-pear 1:1.10.5-9.module+el8.2.0+5510+6771133c ELSA-2020-3662, ELSA-2020-1624
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.3-1.module+el8.2.0+5510+6771133c ELSA-2020-3662, ELSA-2020-1624

Advisories 26

References