# CVE-2024-11235: Reference counting in php\_request\_shutdown causes Use-After-Free

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 8.3.19, 8.4.5 (CNA); fix release not confirmed
- Status: published
- Published: 2025-04-04 · Modified: 2026-02-26
- Aliases: UBUNTU-CVE-2024-11235, DEBIAN-CVE-2024-11235, ALPINE-CVE-2024-11235
- Record: https://cvemate.com/vulnerability/CVE-2024-11235 · JSON: https://cvemate.com/vulnerability/CVE-2024-11235/json

## Description

```text
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.
```

## Signals

- CVSS: 9.2 critical (v4.0, CVE.org) 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
- EPSS: 1.482%, percentile 74.841%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine php83 (Alpine Linux): \< 8.3.18-r0
- debian php8.4 (Debian): \< 8.4.5-1
- ubuntu php5 (Ubuntu): All versions (No fix recorded)
- ubuntu php7.2 (Ubuntu): All versions (No fix recorded)
- ubuntu php7.4 (Ubuntu): \< 7.4.3-4ubuntu2.29
- ubuntu php8.1 (Ubuntu): \< 8.1.2-1ubuntu2.21
- ubuntu php8.3 (Ubuntu): \< 8.3.6-0ubuntu0.24.04.4
- php group php: ≥ 8.4.\*, \< 8.4.5 \| ≥ 8.3.\*, \< 8.3.19
- php php: ≥ 8.3.0, \< 8.3.19 \| ≥ 8.4.0, \< 8.4.5

## References

- <https://github.com/php/php-src/security/advisories/GHSA-rwp7-7vc6-8477>
- <https://ubuntu.com/security/CVE-2024-11235>
- <https://www.cve.org/CVERecord?id=CVE-2024-11235>
- <https://github.com/php/php-src/commit/ef2c459941b5ffae501e5311f5ac2041aadbe461>
- <https://ubuntu.com/security/notices/USN-7400-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-11235>
- <https://security.alpinelinux.org/vuln/CVE-2024-11235>

---

Data as of 2026-12-05T03:44:43.116Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
