heap-buffer-overflow on exif_scan_thumbnail in EXIF extension
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · High
- Fix status
- Partial Red Hat: 6 fixed, 4 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| PHP Group | PHP | 7.1.x below 7.1.31; 7.2.x below 7.2.21; 7.3.x below 7.3.8 | — | No fix listed | CNA |
- PHP VendorPHP Group Affected 7.1.x below 7.1.31; 7.2.x below 7.2.21; 7.3.x below 7.3.8 Fixed in — No fix listed CNA
CPE configurations NVD · 13
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 7.1.0 to before 7.1.31; 7.2.0 to before 7.2.21; 7.3.0 to before 7.3.8 | Vulnerable | PHP |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* | 19.04 | Vulnerable | Canonical |
| cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* | before 10.15.1 | Vulnerable | Apple |
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 7.1.0 to before 7.1.31; 7.2.0 to before 7.2.21; 7.3.0 to before 7.3.8 Vulnerable ·PHP
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* Versions 19.04 Vulnerable ·Canonical
- cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* Versions before 10.15.1 Vulnerable ·Apple
Remediation
Red Hat 3 advisories
- RHSA-2020:3662 Released 2020-09-08 · Red Hat rating Moderatephp:7.3 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) apcu-panel-5.1.17-1.module+el8.1.0+3189+a1bff096.noarch::php:7.3, libzip-1.5.2-1.module+el8.1.0+3189+a1bff096.aarch64::php:7.3, libzip-1.5.2-1.module+el8.1.0+3189+a1bff096.ppc64le::php:7.3 +47
- RHSA-2020:1624 Released 2020-04-28 · Red Hat rating Moderatephp:7.2 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) apcu-panel-5.1.12-2.module+el8.1.0+3202+af5476b9.noarch::php:7.2, libzip-1.5.1-2.module+el8.1.0+3202+af5476b9.aarch64::php:7.2, libzip-1.5.1-2.module+el8.1.0+3202+af5476b9.ppc64le::php:7.2 +47
- RHSA-2019:3299 Released 2019-11-01 · Red Hat rating Criticalrh-php72-php security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php72-php-7.2.24-1.el7, rh-php72-php-bcmath-7.2.24-1.el7, rh-php72-php-cli-7.2.24-1.el7 +26
- 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-bcmath-7.2.24-1.el7, rh-php72-php-cli-7.2.24-1.el7 +26
- 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-bcmath-7.2.24-1.el7, rh-php72-php-cli-7.2.24-1.el7 +26
- 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-bcmath-7.2.24-1.el7, rh-php72-php-cli-7.2.24-1.el7 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php72-php-7.2.24-1.el7, rh-php72-php-bcmath-7.2.24-1.el7, rh-php72-php-cli-7.2.24-1.el7 +26
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
PHP — openSUSE-SU-2019:2271
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2019-08258 heap-buffer-overflow on exif_process_user_comment in EXIF extensionPriority LOW 38
- Advisory ·
PHP — USN-4097-1
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2019-08258 heap-buffer-overflow on exif_process_user_comment in EXIF extensionPriority LOW 38
Show 1 more group
- Advisory ·
PHP — USN-4097-2
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2019-08258 heap-buffer-overflow on exif_process_user_comment in EXIF extensionPriority LOW 38
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Software Collections | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:1624, RHSA-2020:3662 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:3299 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2019:3299 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2019:3299 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) | Fixed | RHSA-2019:3299 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:3299 |
Not affected: 1 product
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2019-11041
- 2026-10-03 Alias added: GHSA-g668-x6wm-whp7
References
Advisory 16
- [debian-lts-announce] 20190812 [SECURITY] [DLA 1878-1] php5 security update
- USN-4097-2
- USN-4097-1
- https://security.netapp.com/advisory/ntap-20190822-0003/
- 20190920 [SECURITY] [DSA 4527-1] php7.3 security update
- DSA-4527
- DSA-4529
- 20190923 [SECURITY] [DSA 4529-1] php7.0 security update
- openSUSE-SU-2019:2271
- https://support.apple.com/kb/HT210634
- 20191008 APPLE-SA-2019-10-07-1 macOS Catalina 10.15
- 20191008 APPLE-SA-2019-10-07-1 macOS Catalina 10.15
- https://support.apple.com/kb/HT210722
- 20191031 APPLE-SA-2019-10-29-10 Additional information for APPLE-SA-2019-10-07-1 macOS Catalina 10.15
- RHSA-2019:3299
- https://www.tenable.com/security/tns-2021-14
More PHP Group vulnerabilities
- TI-2024-04260 Argument Injection in PHP-CGI KEVCVSS 3.1CRITICAL 9.8
- TI-2026-78794 PHP remote code execution via stale global state KEVCVSS 4.0CRITICAL 9.2
- TI-2026-78793 Out-of-memory handling flaw in PHP allows remote code execution KEVCVSS 4.0CRITICAL 9.2
- TI-2024-01743 Command injection via array-ish $command parameter of proc_open() CVSS 3.1CRITICAL 9.4
- TI-2022-13555 PDO::quote() may return unquoted string CVSS 3.1CRITICAL 9.1
- TI-2024-10408 Reference counting in php_request_shutdown causes Use-After-Free CVSS 4.0CRITICAL 9.2
Sources
- CVE-2019-11041 · CVE Program
- CVE-2019-11041 · NVD
- FIRST EPSS
- GHSA-g668-x6wm-whp7 · GitHub Advisory Database · CC BY 4.0
- CVE-2019-11041 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences