Description
ext/imap/php_imap.c in PHP 5.x and 7.x before 7.3.0 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via an empty string in the message argument to the imap_mail function.
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.39+dfsg-0+deb8u1 | DLA-1608-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | php7.2 | 7.2.15-0ubuntu0.18.04.1 | — |
| Ubuntu 16.04 LTS | php7.0 | 7.0.33-0ubuntu0.16.04.1 | — |
| Ubuntu 14.04 LTS | php-imap | 5.4.6-0ubuntu5.1 | — |
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.32.1 | SUSE-SU-2022:4067-1, SUSE-SU-2019:1461-1 |
| SLES 12 SP4 | php7 | 7.0.7-50.63.1 | SUSE-SU-2019:0333-1 |
| SLES 12 SP3 | php7 | 7.0.7-50.63.1 | SUSE-SU-2019:0333-1 |
| SLES 12 | php7 | 7.0.7-50.63.1 | SUSE-SU-2019:0333-1 |
Show 5 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 |
| 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 |
| openSUSE Leap 15.1 | php7 | 7.2.5-lp151.6.3.1 | openSUSE-SU-2019:1572-1 |
| openSUSE Leap 15.0 | php7 | 7.2.5-lp150.2.19.1 | openSUSE-SU-2019:1573-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.7 | php7 | 7.1.29-r0 | — |
| Alpine v3.5 | php5 | 5.6.39-r0 | — |
Advisories 12
- DSA-4353-1 php7.0 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1608-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-2019:0333-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:1572-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:1461-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:1573-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
- DSA-4353 vendor-advisory
- https://bugs.php.net/bug.php?id=77020
- 106143 vdb-entry
- https://security.netapp.com/advisory/ntap-20181221-0003/
- [debian-lts-announce] 20181217 [SECURITY] [DLA 1608-1] php5 security update mailing-list
- openSUSE-SU-2019:1572 vendor-advisory
- openSUSE-SU-2019:1573 vendor-advisory