CVE-2024-11235 json
Reference counting in php_request_shutdown causes Use-After-Free
published 2025-03-13 19 mo ago modified 2026-09-08 2 mo ago also BIT-libphp-2024-11235 , BIT-php-2024-11235 , BIT-php-min-2024-11235 , EUVD-2024-54524 , GHSA-rwp7-7vc6-8477
- cvss
- 8.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami libphp 8.3.19, 8.4.5
- bitnami php 8.3.19, 8.4.5
- bitnami php-min 8.3.19, 8.4.5
- PHP Group PHP 8.3.19, 8.4.5
- php8.4 Debian 14, Debian 13 8.4.5-1
debian advisories DEBIAN-CVE-2024-11235
- php7.4 Ubuntu 20.04 LTS 7.4.3-4ubuntu2.29
- php8.1 Ubuntu 22.04 LTS 8.1.2-1ubuntu2.21
- php8.3 Ubuntu 24.04 LTS 8.3.6-0ubuntu0.24.04.4
ubuntu advisories UBUNTU-CVE-2024-11235
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- php RHEL 10.0 8.3.19-1.el10_0
- php-gd RHEL 10.0 8.3.19-1.el10_0
- php-cli RHEL 10.0 8.3.19-1.el10_0
- php-dba RHEL 10.0 8.3.19-1.el10_0
- php-dbg RHEL 10.0 8.3.19-1.el10_0
- php-ffi RHEL 10.0 8.3.19-1.el10_0
- php-fpm RHEL 10.0 8.3.19-1.el10_0
- php-gmp RHEL 10.0 8.3.19-1.el10_0
red hat advisories RHSA-2025:7489RHSA-2025:7418
- php7 SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 7.4.33-150200.3.76.1
- php7 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 7.4.33-150400.4.48.1
- php7-fpm SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 7.4.33-150400.4.48.1
- php7-test openSUSE Leap 15.6 7.4.33-150400.4.48.1
- php7-embed SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 7.4.33-150400.4.48.1
- php7-fastcgi SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 7.4.33-150400.4.48.1
- apache2-mod_php7 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 7.4.33-150400.4.48.1
- php8 SLE Module for Web and Scripting 15 SP6, openSUSE Leap 15.6 8.2.28-150600.3.16.1
suse advisories SUSE-SU-2025:1026-1SUSE-SU-2025:1025-1SUSE-SU-2025:1012-1SUSE-SU-2025:0994-1
- php8 openSUSE Tumbleweed 8.3.19-1.1
opensuse advisories openSUSE-SU-2025:14895-1
- php AlmaLinux 9 8.3.19-1.module_el9.6.0+166+f262c21c
- php-gd AlmaLinux 9 8.3.19-1.module_el9.6.0+166+f262c21c
- php-cli AlmaLinux 9 8.3.19-1.module_el9.6.0+166+f262c21c
- php-dba AlmaLinux 9 8.3.19-1.module_el9.6.0+166+f262c21c
- php-dbg AlmaLinux 9 8.3.19-1.module_el9.6.0+166+f262c21c
- php-ffi AlmaLinux 9 8.3.19-1.module_el9.6.0+166+f262c21c
- php-fpm AlmaLinux 9 8.3.19-1.module_el9.6.0+166+f262c21c
- php-gmp AlmaLinux 9 8.3.19-1.module_el9.6.0+166+f262c21c
almalinux advisories ALSA-2025:7418ALSA-2025:7489
- php Rocky Linux 10 8.3.19-1.el10_0
- php-pecl-rrd Rocky Linux 9 2.0.3-4.module+el9.5.0+31393+1f1dedb8
- php-pecl-rrd Rocky Linux 9 2.0.3-4.module+el9.5.0+29598+58484504
- php-pecl-zip Rocky Linux 9 1.22.3-1.module+el9.5.0+29598+58484504
- php-pecl-apcu Rocky Linux 9 5.1.23-1.module+el9.5.0+29598+58484504
rocky linux advisories RLSA-2025:7489RLSA-2025:7418
- php83 Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 8.3.18-r0
alpine advisories ALPINE-CVE-2024-11235
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-11235 updated cvss 8.1
php: Reference counting in php_request_shutdown causes Use-After-Free
-
Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 9) php 8.3.19-1.module+el9.6.0+23015+da8065b7, php-gd 8.3.19-1.module+el9.6.0+23015+da8065b7, php-cli 8.3.19-1.module+el9.6.0+23015+da8065b7, php-dba 8.3.19-1.module+el9.6.0+23015+da8065b7, php-dbg 8.3.19-1.module+el9.6.0+23015+da8065b7, php-ffi 8.3.19-1.module+el9.6.0+23015+da8065b7, +24 morefixed: vendor fix RHSA-2025:7418
-
Red Hat Enterprise Linux AppStream (v. 10) php 8.3.19-1.el10_0, php-gd 8.3.19-1.el10_0, php-cli 8.3.19-1.el10_0, php-dba 8.3.19-1.el10_0, php-dbg 8.3.19-1.el10_0, php-ffi 8.3.19-1.el10_0, +18 morefixed: vendor fix RHSA-2025:7489
-
Red Hat Enterprise Linux 8 php, libzip, php-gd, php-cli, php-dba, php-dbg, +30 more Red Hat Enterprise Linux 9 php, php-gd, php-cli, php-dba, php-dbg, php-ffi, +18 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 19 mo ago
Exploit prediction
1.48% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/php/php-src/security/advisories/GHSA-rwp7-7vc6-8477 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.2 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/U:Amber |
| CNA | 4.0 | 9.2 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | libphp | >=8.3.0, <8.3.19 >=8.4.0, <8.4.5 |
8.3.19 8.4.5 |
| bitnami | php | >=8.3.0, <8.3.19 >=8.4.0, <8.4.5 |
8.3.19 8.4.5 |
| bitnami | php-min | >=8.3.0, <8.3.19 >=8.4.0, <8.4.5 |
8.3.19 8.4.5 |
Affected products
- PHP Group PHP
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
github.com
/php/php-src/security/advisories/GHSA-rwp7-7vc6-8477
exploit, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-11235
web
Sources
- CVE List CVE-2024-11235
- NVD CVE-2024-11235
- OSV BIT-libphp-2024-11235
- OSV BIT-php-2024-11235
- OSV BIT-php-min-2024-11235
- Maintainer advisory GHSA-rwp7-7vc6-8477
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of php/php-src published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.