CVE-2019-11042 json
heap-buffer-overflow on exif_process_user_comment in EXIF extension
published 7y ago modified 4mo ago also EUVD-2019-2750
- cvss
- 4.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.4%
- EPSS 4.4% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- php php 7.1.31, 7.2.21, 7.3.8
- tenable tenable.sc 5.19.0
- apple mac_os_x 10.15.1
- php7.0 Ubuntu 16.04 LTS 7.0.33-0ubuntu0.16.04.6
- php7.2 Ubuntu 18.04 LTS 7.2.19-0ubuntu0.18.04.2
- php5 Ubuntu Pro 14.04 LTS 5.5.9+dfsg-1ubuntu4.29+esm5
ubuntu advisories UBUNTU-CVE-2019-11042
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- php RHEL 8 7.3.20-1.module+el8.2.0+7373+b272fdef
- libzip RHEL 8 1.5.2-1.module+el8.1.0+3189+a1bff096
- php-gd RHEL 8 7.3.20-1.module+el8.2.0+7373+b272fdef
- php-cli RHEL 8 7.3.20-1.module+el8.2.0+7373+b272fdef
- php-dba RHEL 8 7.3.20-1.module+el8.2.0+7373+b272fdef
- php-dbg RHEL 8 7.3.20-1.module+el8.2.0+7373+b272fdef
- php-fpm RHEL 8 7.3.20-1.module+el8.2.0+7373+b272fdef
- php-gmp RHEL 8 7.3.20-1.module+el8.2.0+7373+b272fdef
red hat advisories RHSA-2020:3662RHSA-2020:1624RHSA-2019:3299
- php7 SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +8 more 7.2.34-150000.4.103.1
- php5 SLE Software Development Kit 12 SP4, SLE Module for Web and Scripting 12 5.5.14-109.68.1
- php7 SLE Module for Web and Scripting 15 SP1, SLE Module for Web and Scripting 15, SLE Module for Package Hub 15 7.2.5-4.40.1
- php53 SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 5.3.17-112.71.1
- php72 SLE Software Development Kit 12 SP4, SLE Module for Web and Scripting 12 7.2.5-1.23.1
- php7 SLE Software Development Kit 12 SP4, SLE Module for Web and Scripting 12 7.0.7-50.85.1
suse advisories SUSE-SU-2022:4067-1SUSE-SU-2020:0522-1SUSE-SU-2019:2503-1SUSE-SU-2019:14158-1SUSE-SU-2019:2270-1SUSE-SU-2019:2243-1
- php7 openSUSE Tumbleweed 7.4.24-1.1
- php8 openSUSE Tumbleweed 8.0.11-1.1
- php7 openSUSE Leap 15.0 7.2.5-lp150.2.25.1
opensuse advisories openSUSE-SU-2024:11167-1openSUSE-SU-2024:11169-1openSUSE-SU-2019:2271-1
- php AlmaLinux 8 7.3.20-1.module_el8.4.0+2229+b272fdef
- php AlmaLinux 8 7.3.20-1.module_el8.5.0+152+112d3b8c
- php AlmaLinux 8 7.3.20-1.module_el8.3.0+2009+b272fdef
- libzip AlmaLinux 8 1.5.2-1.module_el8.5.0+152+112d3b8c
- libzip AlmaLinux 8 1.5.2-1.module_el8.3.0+2009+b272fdef
- libzip AlmaLinux 8 1.5.2-1.module_el8.4.0+2229+b272fdef
- php-gd AlmaLinux 8 7.3.20-1.module_el8.4.0+2229+b272fdef
- php-gd AlmaLinux 8 7.3.20-1.module_el8.3.0+2009+b272fdef
almalinux advisories ALSA-2020:3662ALSA-2020:1624
- php Rocky Linux 8 7.3.20-1.module+el8.4.0+414+2e7afcdd
- libzip Rocky Linux 8 1.5.2-1.module+el8.4.0+414+2e7afcdd
- php-pear Rocky Linux 8 1:1.10.9-1.module+el8.4.0+414+2e7afcdd
- php-pecl-rrd Rocky Linux 8 2.0.1-1.module+el8.4.0+414+2e7afcdd
- php-pecl-zip Rocky Linux 8 1.15.4-1.module+el8.4.0+414+2e7afcdd
- php-pecl-apcu Rocky Linux 8 5.1.17-1.module+el8.4.0+414+2e7afcdd
- php-pecl-xdebug Rocky Linux 8 2.8.0-1.module+el8.4.0+414+2e7afcdd
- php Rocky Linux 8 7.2.24-1.module+el8.4.0+413+c9202dda
rocky linux advisories RLSA-2020:3662RLSA-2020:1624
- php7 Alpine 3.15, Alpine 3.14, Alpine 3.13 +3 more 7.3.8-r0
- php7 Alpine 3.7 7.1.32-r0
- php7 Alpine 3.9, Alpine 3.8 7.2.21-r0
alpine advisories ALPINE-CVE-2019-11042
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- bugs.php.net/bug.php?id=78256 advisory
Is CVE-2019-11042 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-11042 updated cvss 3.7
php: Heap buffer over-read in exif_process_user_comment()
-
Red Hat Enterprise Linux 5 php, php53 Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 moreaffected: no fix available “Fix deferred”
-
Red Hat Software Collections rh-php70-php, rh-php71-php, rh-php70-php-gd, rh-php71-php-gd, rh-php70-php-cli, rh-php70-php-dba, +52 moreaffected: no fix available, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) php 7.2.24-1.module+el8.2.0+4601+7c76a223, php 7.3.20-1.module+el8.2.0+7373+b272fdef, libzip 1.5.1-2.module+el8.1.0+3202+af5476b9, libzip 1.5.2-1.module+el8.1.0+3189+a1bff096, php-gd 7.2.24-1.module+el8.2.0+4601+7c76a223, php-gd 7.3.20-1.module+el8.2.0+7373+b272fdef, +60 morefixed: vendor fix RHSA-2020:1624
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php72-php 7.2.24-1.el7, rh-php72-php-gd 7.2.24-1.el7, rh-php72-php-cli 7.2.24-1.el7, rh-php72-php-dba 7.2.24-1.el7, rh-php72-php-dbg 7.2.24-1.el7, rh-php72-php-fpm 7.2.24-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-php72-php 7.2.24-1.el7, rh-php72-php-gd 7.2.24-1.el7, rh-php72-php-cli 7.2.24-1.el7, rh-php72-php-dba 7.2.24-1.el7, rh-php72-php-dbg 7.2.24-1.el7, rh-php72-php-fpm 7.2.24-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-php72-php 7.2.24-1.el7, rh-php72-php-gd 7.2.24-1.el7, rh-php72-php-cli 7.2.24-1.el7, rh-php72-php-dba 7.2.24-1.el7, rh-php72-php-dbg 7.2.24-1.el7, rh-php72-php-fpm 7.2.24-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-php72-php 7.2.24-1.el7, rh-php72-php-gd 7.2.24-1.el7, rh-php72-php-cli 7.2.24-1.el7, rh-php72-php-dba 7.2.24-1.el7, rh-php72-php-dbg 7.2.24-1.el7, rh-php72-php-fpm 7.2.24-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php72-php 7.2.24-1.el7, rh-php72-php-gd 7.2.24-1.el7, rh-php72-php-cli 7.2.24-1.el7, rh-php72-php-dba 7.2.24-1.el7, rh-php72-php-dbg 7.2.24-1.el7, rh-php72-php-fpm 7.2.24-1.el7, +22 morefixed: vendor fix RHSA-2019:3299
-
Red Hat Software Collections rh-php73-php, rh-php73-php-gd, rh-php73-php-cli, rh-php73-php-dba, rh-php73-php-dbg, rh-php73-php-fpm, +22 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-26-027-02 updated cvss 7.1
Festo Didactic SE MES PC
-
Festo Didactic SE MES PC shipped_with_Windows_10affected: vendor fix
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
4.42% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugs.php.net https://bugs.php.net/bug.php?id=78256 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 4.8 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L |
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:N/A:P |
Affected products
- PHP Group PHP
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
- Technology feeds
References
-
bugs.php.net
/bug.php?id=78256
exploit, patch, vendor-advisory
-
usn.ubuntu.com
/4097-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4097-1/
vendor-advisory, third-party-advisory
-
debian.org
/security/2019/dsa-4527
vendor-advisory, third-party-advisory
-
debian.org
/security/2019/dsa-4529
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-10/msg00019.html
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:3299
vendor-advisory, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/08/msg00010.html
mailing-list, third-party-advisory
-
security.netapp.com
/advisory/ntap-20190822-0003/
third-party-advisory
-
seclists.org
/bugtraq/2019/Sep/35
mailing-list, third-party-advisory
-
seclists.org
/bugtraq/2019/Sep/38
mailing-list, third-party-advisory
-
support.apple.com
/kb/HT210634
third-party-advisory
-
seclists.org
/bugtraq/2019/Oct/9
mailing-list, third-party-advisory
-
seclists.org
/fulldisclosure/2019/Oct/15
mailing-list, third-party-advisory
-
support.apple.com
/kb/HT210722
third-party-advisory
-
seclists.org
/fulldisclosure/2019/Oct/55
mailing-list, third-party-advisory
-
tenable.com
/security/tns-2021-14
third-party-advisory
Sources
- CVE List CVE-2019-11042
- NVD CVE-2019-11042
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.