CVEfocus › CVE database › CVE-2024-11235

CVE-2024-11235Reference counting in php_request_shutdown causes Use-After-Free

CVSS 9.2 CriticalEPSS 1.5% (higher than 74% of CVEs)Published 2025-04-04Updated 2026-02-26Assigner: php

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.

CWE-416

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

127Fixed
2Fix pending
52Will not fix
39Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04php8.3Fixed8.3.6-0ubuntu0.24.04.4UBUNTU-CVE-2024-11235
Ubuntu 22.04php8.1Fixed8.1.2-1ubuntu2.21UBUNTU-CVE-2024-11235
Ubuntu 20.04php7.4Fixed7.4.3-4ubuntu2.29UBUNTU-CVE-2024-11235
Ubuntu 18.04php7.2Fix pendingUBUNTU-CVE-2024-11235
Ubuntu 14.04php5Fix pendingUBUNTU-CVE-2024-11235
Debian 14php8.4Fixed8.4.5-1DEBIAN-CVE-2024-11235
Debian 13php8.4Fixed8.4.5-1DEBIAN-CVE-2024-11235
Red Hat Enterprise Linux 10phpFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-bcmathFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-cliFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-commonFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-dbaFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-dbgFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-develFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-embeddedFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-enchantFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-ffiFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-fpmFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-gdFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-gmpFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-intlFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-ldapFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-mbstringFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-mysqlndFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-odbcFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-opcacheFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-pdoFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-pgsqlFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-processFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-snmpFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-soapFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 10php-xmlFixed0:8.3.19-1.el10_0RHSA-2025:7489
Red Hat Enterprise Linux 9apcu-panelFixed0:5.1.23-1.module+el9.6.0+22647+1741ae35RHSA-2025:7418
Red Hat Enterprise Linux 9phpFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-bcmathFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-cliFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-commonFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-dbaFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-dbgFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-develFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-embeddedFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-enchantFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-ffiFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-fpmFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-gdFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-gmpFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-intlFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-ldapFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-mbstringFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-mysqlndFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-odbcFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-opcacheFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-pdoFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-pecl-apcuFixed0:5.1.23-1.module+el9.6.0+22647+1741ae35RHSA-2025:7418
Red Hat Enterprise Linux 9php-pecl-apcu-develFixed0:5.1.23-1.module+el9.6.0+22647+1741ae35RHSA-2025:7418
Red Hat Enterprise Linux 9php-pecl-redis6Fixed0:6.1.0-2.module+el9.6.0+22647+1741ae35RHSA-2025:7418
Red Hat Enterprise Linux 9php-pecl-rrdFixed0:2.0.3-4.module+el9.6.0+22647+1741ae35RHSA-2025:7418
Red Hat Enterprise Linux 9php-pecl-xdebug3Fixed0:3.3.1-1.module+el9.6.0+22647+1741ae35RHSA-2025:7418
Red Hat Enterprise Linux 9php-pecl-zipFixed0:1.22.3-1.module+el9.6.0+22647+1741ae35RHSA-2025:7418
Red Hat Enterprise Linux 9php-pgsqlFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-processFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-snmpFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-soapFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 9php-xmlFixed0:8.3.19-1.module+el9.6.0+23015+da8065b7RHSA-2025:7418
Red Hat Enterprise Linux 8apcu-panelNot affected
Red Hat Enterprise Linux 8libzipNot affected
Red Hat Enterprise Linux 8libzip-develNot affected
Red Hat Enterprise Linux 8libzip-toolsNot affected
Red Hat Enterprise Linux 8phpNot affected
Red Hat Enterprise Linux 8php-bcmathNot affected
Red Hat Enterprise Linux 8php-cliNot affected
Red Hat Enterprise Linux 8php-commonNot affected
Red Hat Enterprise Linux 8php-dbaNot affected
Red Hat Enterprise Linux 8php-dbgNot affected
Red Hat Enterprise Linux 8php-develNot affected
Red Hat Enterprise Linux 8php-embeddedNot affected
Red Hat Enterprise Linux 8php-enchantNot affected
Red Hat Enterprise Linux 8php-ffiNot affected
Red Hat Enterprise Linux 8php-fpmNot affected
Red Hat Enterprise Linux 8php-gdNot affected
Red Hat Enterprise Linux 8php-gmpNot affected
Red Hat Enterprise Linux 8php-intlNot affected
Red Hat Enterprise Linux 8php-jsonNot affected
Red Hat Enterprise Linux 8php-ldapNot affected
Red Hat Enterprise Linux 8php-mbstringNot affected
Red Hat Enterprise Linux 8php-mysqlndNot affected
Red Hat Enterprise Linux 8php-odbcNot affected
Red Hat Enterprise Linux 8php-opcacheNot affected
Red Hat Enterprise Linux 8php-pdoNot affected
Red Hat Enterprise Linux 8php-pearNot affected
Red Hat Enterprise Linux 8php-pecl-apcuNot affected
Red Hat Enterprise Linux 8php-pecl-apcu-develNot affected
Red Hat Enterprise Linux 8php-pecl-rrdNot affected
Red Hat Enterprise Linux 8php-pecl-xdebugNot affected
Red Hat Enterprise Linux 8php-pecl-xdebug3Not affected
Red Hat Enterprise Linux 8php-pecl-zipNot affected
Red Hat Enterprise Linux 8php-pgsqlNot affected
Red Hat Enterprise Linux 8php-processNot affected
Red Hat Enterprise Linux 8php-recodeNot affected
Red Hat Enterprise Linux 8php-snmpNot affected
Red Hat Enterprise Linux 8php-soapNot affected
Red Hat Enterprise Linux 8php-xmlNot affected
Red Hat Enterprise Linux 8php-xmlrpcNot affected
Red Hat Enterprise Linux 7phpWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-bcmathWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-cliWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-dbaWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-embeddedWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-enchantWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-fpmWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-gdWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-intlWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-ldapWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-mbstringWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-mysqlWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-mysqlndWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-odbcWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-pdoWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-pgsqlWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-processWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-pspellWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-recodeWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-snmpWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-soapWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-xmlWill not fix
Out of support scope
Red Hat Enterprise Linux 7php-xmlrpcWill not fix
Out of support scope
Red Hat Enterprise Linux 6phpWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-bcmathWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-cliWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-dbaWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-embeddedWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-enchantWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-fpmWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-gdWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-imapWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-intlWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-ldapWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-mbstringWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-mysqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-odbcWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-pdoWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-pgsqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-processWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-pspellWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-recodeWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-snmpWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-soapWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-tidyWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-xmlWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-xmlrpcWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-ztsWill not fix
Out of support scope
AlmaLinux 10phpFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-bcmathFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-cliFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-commonFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-dbaFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-dbgFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-develFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-embeddedFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-enchantFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-ffiFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-fpmFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-gdFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-gmpFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-intlFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-ldapFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-mbstringFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-mysqlndFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-odbcFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-opcacheFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-pdoFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-pgsqlFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-processFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-snmpFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-soapFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 10php-xmlFixed8.3.19-1.el10_0ALSA-2025:7489
AlmaLinux 9apcu-panelFixed5.1.23-1.module_el9.6.0+151+5f31e576ALSA-2025:7418
AlmaLinux 9phpFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-bcmathFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-cliFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-commonFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-dbaFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-dbgFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-develFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-embeddedFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-enchantFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-ffiFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-fpmFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-gdFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-gmpFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-intlFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-ldapFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-mbstringFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-mysqlndFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-odbcFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-opcacheFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-pdoFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-pecl-apcuFixed5.1.23-1.module_el9.6.0+151+5f31e576ALSA-2025:7418
AlmaLinux 9php-pecl-apcu-develFixed5.1.23-1.module_el9.6.0+151+5f31e576ALSA-2025:7418
AlmaLinux 9php-pecl-redis6Fixed6.1.0-2.module_el9.6.0+151+5f31e576ALSA-2025:7418
AlmaLinux 9php-pecl-rrdFixed2.0.3-4.module_el9.6.0+151+5f31e576ALSA-2025:7418
AlmaLinux 9php-pecl-xdebug3Fixed3.3.1-1.module_el9.6.0+151+5f31e576ALSA-2025:7418
AlmaLinux 9php-pecl-zipFixed1.22.3-1.module_el9.6.0+151+5f31e576ALSA-2025:7418
AlmaLinux 9php-pgsqlFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-processFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-snmpFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-soapFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
AlmaLinux 9php-xmlFixed8.3.19-1.module_el9.6.0+166+f262c21cALSA-2025:7418
Rocky Linux 10phpFixed0:8.3.19-1.el10_0RLSA-2025:7489
Rocky Linux 9php-pecl-apcuFixed0:5.1.23-1.module+el9.5.0+29598+58484504RLSA-2025:7418
Rocky Linux 9php-pecl-rrdFixed0:2.0.3-4.module+el9.5.0+29598+58484504RLSA-2025:7418
Rocky Linux 9php-pecl-zipFixed0:1.22.3-1.module+el9.5.0+29598+58484504RLSA-2025:7418
Alpine Linux 3.24php83Fixed8.3.18-r0ALPINE-CVE-2024-11235
Alpine Linux 3.23php83Fixed8.3.18-r0ALPINE-CVE-2024-11235
Alpine Linux 3.22php83Fixed8.3.18-r0ALPINE-CVE-2024-11235
Alpine Linux 3.21php83Fixed8.3.18-r0ALPINE-CVE-2024-11235

What the vendor says

As published in the CVE record by php, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.