Use-after-free in PHP - #VU100666

 

Use-after-free in PHP - #VU100666

Published: November 19, 2024 / Updated: June 4, 2025


Vulnerability identifier: #VU100666
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error within the sapi_read_post_data in CLI SAPI interface. A remote attacker can pass specially crafted response to the application and execute arbitrary code on the system.


Affected software

PHP
Fedora
php

Remediation

Install updates from vendor's website.

PHP - addressed in versions 8.1.31, 8.2.26, 8.3.14
php - addressed in versions 8.3.14-1.fc40, 8.3.14-1.fc41

External References

Related Security Bulletins