Skip to content
OpenAdvisories
Critical · 9.2 CVE-2024-11235 EUVD-2024-54524

Reference counting in php_request_shutdown causes Use-After-Free

Published Apr 4, 2025 · Updated Feb 26, 2026 · Assigned by php

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 php8.4 8.4.5-1 —
Debian 13 php8.4 8.4.5-1 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS php7.2 No fix yet —
Ubuntu Pro 14.04 LTS php5 No fix yet —
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Amazon Linux 2023 php8.3 +28 8.3.19-1.amzn2023.0.1 ALAS2023-2025-922

Oracle Linux

ReleasePackageFixed inAdvisory
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

References