Skip to main content
← All vulnerabilities
CVE-2024-11235

Reference counting in php_request_shutdown causes Use-After-Free

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.4.5, 8.3.19
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • PHP Group PHP

    fixed in 8.4.5; fixed in 8.3.19

References 1

GitHub · php/php-src