Description
In PHP versions 8.3.* before 8.3.19 and 8.4.* before 8.4.5, a code sequence involving __set handler or ??= operator and exceptions can lead to a use-after-free vulnerability. If the third party can control the memory layout leading to this, for example by supplying specially crafted inputs to the script, it could lead to remote code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PHP Group | PHP | 8.4.* – < 8.4.5, 8.3.* – < 8.3.19 | 8.4.5 |
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 14 | php8.4 | 8.4.5-1 | — |
| Debian 13 | php8.4 | 8.4.5-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | php8.3 | 8.3.6-0ubuntu0.24.04.4 | USN-7400-1 |
| Ubuntu 22.04 LTS | php8.1 | 8.1.2-1ubuntu2.21 | USN-7400-1 |
| Ubuntu 20.04 LTS | php7.4 | 7.4.3-4ubuntu2.29 | USN-7400-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | php7.2 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | php5 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | php +23 | 8.3.19-1.el10_0 | RHSA-2025:7489 |
| RHEL 9 | apcu-panel +2 | 5.1.23-1.module+el9.6.0+22647+1741ae35 | RHSA-2025:7418 |
| RHEL 9 | php +23 | 8.3.19-1.module+el9.6.0+23015+da8065b7 | RHSA-2025:7418 |
| RHEL 9 | php-pecl-redis6 | 6.1.0-2.module+el9.6.0+22647+1741ae35 | RHSA-2025:7418 |
| RHEL 9 | php-pecl-rrd | 2.0.3-4.module+el9.6.0+22647+1741ae35 | RHSA-2025:7418 |
| RHEL 9 | php-pecl-xdebug3 | 3.3.1-1.module+el9.6.0+22647+1741ae35 | RHSA-2025:7418 |
| RHEL 9 | php-pecl-zip | 1.22.3-1.module+el9.6.0+22647+1741ae35 | RHSA-2025:7418 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | php +23 | 8.3.19-1.el10_0 | ALSA-2025:7489 |
| AlmaLinux 9 | apcu-panel +2 | 5.1.23-1.module_el9.6.0+151+5f31e576 | ALSA-2025:7418 |
| AlmaLinux 9 | php +23 | 8.3.19-1.module_el9.6.0+166+f262c21c | ALSA-2025:7418 |
| AlmaLinux 9 | php-pecl-redis6 | 6.1.0-2.module_el9.6.0+151+5f31e576 | ALSA-2025:7418 |
| AlmaLinux 9 | php-pecl-rrd | 2.0.3-4.module_el9.6.0+151+5f31e576 | ALSA-2025:7418 |
| AlmaLinux 9 | php-pecl-xdebug3 | 3.3.1-1.module_el9.6.0+151+5f31e576 | ALSA-2025:7418 |
| AlmaLinux 9 | php-pecl-zip | 1.22.3-1.module_el9.6.0+151+5f31e576 | ALSA-2025:7418 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | php | 8.3.19-1.el10_0 | RLSA-2025:7489 |
| Rocky Linux 9 | php-pecl-apcu | 5.1.23-1.module+el9.5.0+29598+58484504 | RLSA-2025:7418 |
| Rocky Linux 9 | php-pecl-rrd | 2.0.3-4.module+el9.5.0+29598+58484504 | RLSA-2025:7418 |
| Rocky Linux 9 | php-pecl-zip | 1.22.3-1.module+el9.5.0+29598+58484504 | RLSA-2025:7418 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | php7 +4 | 7.4.33-150400.4.48.1 | SUSE-SU-2025:1025-1 |
| SLES 15 SP6 | php8 +5 | 8.2.28-150600.3.16.1 | SUSE-SU-2025:1012-1 |
| SLES 15 SP5 | php7 +3 | 7.4.33-150400.4.48.1 | SUSE-SU-2025:1025-1 |
| SLES 15 SP5 | php8 +5 | 8.0.30-150400.4.54.1 | SUSE-SU-2025:0994-1 |
| SLES 15 SP4 | php7 +3 | 7.4.33-150400.4.48.1 | SUSE-SU-2025:1025-1 |
| SLES 15 SP4 | php8 +5 | 8.0.30-150400.4.54.1 | SUSE-SU-2025:0994-1 |
| SLES 15 SP3 | php7 | 7.4.33-150200.3.76.1 | SUSE-SU-2025:1026-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | php7 +3 | 7.4.33-150400.4.48.1 | SUSE-SU-2025:1025-1 |
| SLES for SAP 15 SP5 | php8 +5 | 8.0.30-150400.4.54.1 | SUSE-SU-2025:0994-1 |
| SLES for SAP 15 SP4 | php7 +3 | 7.4.33-150400.4.48.1 | SUSE-SU-2025:1025-1 |
| SLES for SAP 15 SP4 | php8 +5 | 8.0.30-150400.4.54.1 | SUSE-SU-2025:0994-1 |
| SLES for SAP 15 SP3 | php7 | 7.4.33-150200.3.76.1 | SUSE-SU-2025:1026-1 |
| SLE HPC 15 SP5 | php8 +5 | 8.0.30-150400.4.54.1 | SUSE-SU-2025:0994-1 |
| SLE HPC 15 SP4 | php7 +3 | 7.4.33-150400.4.48.1 | SUSE-SU-2025:1025-1 |
| SLE HPC 15 SP4 | php8 +5 | 8.0.30-150400.4.54.1 | SUSE-SU-2025:0994-1 |
| SLE HPC 15 SP3 | php7 | 7.4.33-150200.3.76.1 | SUSE-SU-2025:1026-1 |
| SUSE Manager Server 4.3 | php8 +5 | 8.0.30-150400.4.54.1 | SUSE-SU-2025:0994-1 |
| SUSE Enterprise Storage 7.1 | php7 | 7.4.33-150200.3.76.1 | SUSE-SU-2025:1026-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | php8 | 8.3.19-1.1 | openSUSE-SU-2025:14895-1 |
| openSUSE Leap 15.6 | php7 +5 | 7.4.33-150400.4.48.1 | SUSE-SU-2025:1025-1 |
| openSUSE Leap 15.6 | php8 +5 | 8.2.28-150600.3.16.1 | SUSE-SU-2025:1012-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | php83 | 8.3.18-r0 | — |
| Alpine v3.23 | php83 | 8.3.18-r0 | — |
| Alpine v3.22 | php83 | 8.3.18-r0 | — |
| Alpine v3.21 | php83 | 8.3.18-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | php8.3 +28 | 8.3.19-1.amzn2023.0.1 | ALAS2023-2025-922 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | php +23 | 8.3.19-1.el10_0 | ELSA-2025-7489 |
| Oracle Linux 9 | apcu-panel +2 | 5.1.23-1.module+el9.6.0+90525+5083e899 | ELSA-2025-7418 |
| Oracle Linux 9 | php +23 | 8.3.19-1.module+el9.6.0+90584+da8065b7 | ELSA-2025-7418 |
| Oracle Linux 9 | php-pecl-redis6 | 6.1.0-2.module+el9.6.0+90525+5083e899 | ELSA-2025-7418 |
| Oracle Linux 9 | php-pecl-rrd | 2.0.3-4.module+el9.6.0+90525+5083e899 | ELSA-2025-7418 |
| Oracle Linux 9 | php-pecl-xdebug3 | 3.3.1-1.module+el9.6.0+90525+5083e899 | ELSA-2025-7418 |
| Oracle Linux 9 | php-pecl-zip | 1.22.3-1.module+el9.6.0+90525+5083e899 | ELSA-2025-7418 |
Advisories 16
- ALSA-2025:7489 Important: php security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:7418 Important: php:8.3 security update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2025-0566 PHP: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 21, 2026
- RHSA-2025:7489 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2025:7418 Red Hat Security Advisory: php:8.3 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- USN-7400-1 php7.4, php8.1, php8.3 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- SUSE-SU-2025:1026-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0994-1 Security update for php8 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:1025-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:14895-1 php8-8.3.19-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- RLSA-2025:7489 Important: php security update Rocky Linux Security Advisories · Oct 3, 2025
- RLSA-2025:7418 Important: php:8.3 security update Rocky Linux Security Advisories · Jul 29, 2025
- ELSA-2025-7489 Important: php security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jun 26, 2025
- ELSA-2025-7418 Important: php:8.3 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 22, 2025
- SUSE-SU-2025:1012-1 Security update for php8 SUSE / openSUSE Security Updates · May 2, 2025
- ALAS2023-2025-922 Important: php8.3 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Apr 1, 2025