Reference counting in php_request_shutdown causes Use-After-Free
Published Apr 4, 2025 · Updated Oct 23, 2026 · Also known as BIT-libphp-2024-11235, BIT-php-2024-11235, GHSA-rwp7-7vc6-8477
Original summary
Normalized public record · Updated Oct 23, 2026
Reference counting in php_request_shutdown causes Use-After-Free
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
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.
Evidence: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- MEDIUM
- Confidence
- 10%
- Aliases
- BIT-libphp-2024-11235, BIT-php-2024-11235, GHSA-rwp7-7vc6-8477, BIT-php-min-2024-11235
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
Record history
Published Apr 4, 2025 · Last refreshed Oct 23, 2026