All reports
Critical

php: Use-after-free in magic method backtraces can lead to remote code execution

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Description

A flaw was found in PHP. A remote attacker can exploit a use-after-free memory corruption vulnerability that occurs when generating call traces involving magic methods, which are functions executed automatically during certain object operations. By triggering these conditions, an attacker could achieve arbitrary code execution or cause a denial of service by crashing the application.