Description
exif_process_IFD_in_MAKERNOTE in ext/exif/exif.c in PHP before 5.6.37, 7.0.x before 7.0.31, 7.1.x before 7.1.20, and 7.2.x before 7.2.8 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted JPEG file.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 9 | php7.0 | 7.0.33-0+deb9u1 | DSA-4353-1 |
| Debian 8 | php5 | 5.6.37+dfsg-0+deb8u1 | DLA-1490-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | php7.2 | 7.2.10-0ubuntu0.18.04.1 | USN-3766-1 |
| Ubuntu 16.04 LTS | php7.0 | 7.0.32-0ubuntu0.16.04.1 | USN-3766-1 |
| Ubuntu 14.04 LTS | php5 | 5.5.9+dfsg-1ubuntu4.26 | USN-3766-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 3 | rh-php71-php +27 | 7.1.30-1.el7 | RHSA-2019:2519 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | php7 | 7.2.34-150000.4.103.1 | SUSE-SU-2022:4067-1 |
| SLES 15 | php7 | 7.2.5-4.6.1 | SUSE-SU-2022:4067-1, SUSE-SU-2018:2337-1 |
| SLES 12 SP3 | php5 | 5.5.14-109.38.1 | SUSE-SU-2018:2682-1 |
| SLES 12 SP3 | php7 | 7.0.7-50.44.1 | SUSE-SU-2018:2333-1 |
| SLES 12 | php5 | 5.5.14-109.38.1 | SUSE-SU-2018:2682-1 |
| SLES 12 | php7 | 7.0.7-50.44.1 | SUSE-SU-2018:2333-1 |
| SLES 11 SP4 | php53 | 5.3.17-112.38.1 | SUSE-SU-2018:2681-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
| SLES for SAP 11 SP4 | php53 | 5.3.17-112.38.1 | SUSE-SU-2018:2681-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 Enterprise Storage 6 | php7 | 7.2.34-150000.4.103.1 | SUSE-SU-2022:4067-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.15 | php7 | 7.2.8-r0 | — |
| Alpine v3.14 | php7 | 7.2.8-r0 | — |
| Alpine v3.13 | php7 | 7.2.8-r0 | — |
| Alpine v3.12 | php7 | 7.2.8-r0 | — |
| Alpine v3.11 | php7 | 7.2.8-r0 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.10 | php7 | 7.2.8-r0 | — |
| Alpine v3.9 | php7 | 7.2.8-r0 | — |
| Alpine v3.8 | php5 | 5.6.37-r0 | — |
| Alpine v3.8 | php7 | 7.2.8-r0 | — |
| Alpine v3.7 | php5 | 5.6.37-r0 | — |
| Alpine v3.7 | php7 | 7.1.29-r0 | — |
| Alpine v3.6 | php5 | 5.6.37-r0 | — |
| Alpine v3.5 | php5 | 5.6.37-r0 | — |
Advisories 14
- RHSA-2019:2519 Red Hat Security Advisory: rh-php71-php security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-3766-1 php5, php7.0, php7.2 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4353-1 php7.0 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1490-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2022:4067-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11167-1 php7-7.4.24-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11169-1 php8-8.0.11-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2337-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2681-1 Security update for php53 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2682-1 Security update for php5 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2333-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- FSA-202302 Festo: Several vulnerabilities in FactoryViews CERT@VDE · Feb 2, 2026
- ICSA-26-027-02 Festo Didactic SE MES PC CISA ICS & IT advisories · Jan 27, 2026
- FSA-202402 Several Vulnerabilities in MES PC (Windows 10) CERT@VDE · Dec 8, 2025
References
- 104871 vdb-entry
- http://php.net/ChangeLog-5.php
- https://security.netapp.com/advisory/ntap-20181107-0003/
- USN-3766-1 vendor-advisory
- https://www.tenable.com/security/tns-2018-12
- http://php.net/ChangeLog-7.php
- https://bugs.php.net/bug.php?id=76557
- DSA-4353 vendor-advisory
- [debian-lts-announce] 20180901 [SECURITY] [DLA 1490-1] php5 security update mailing-list
- USN-3766-2 vendor-advisory
- RHSA-2019:2519 vendor-advisory