Remote command execution In php8.2
Description
PHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort handling of the request. Some contexts may not properly account for this scenario and leave request memory in an uninitialized state before performing an allocation. The subsequent request cleanup procedure may read or branch on this memory. Multiple OOM strategies can consistently trigger this condition and lead to remote code execution (RCE).
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
alpm rolling_release | 8.3.36-1 | ||
alpm rolling_release | 8.5.12-1 | ||
packagist | - | ||
debian 12 | 8.2.35-1~deb12u1 | ||
debian 13 | 8.4.27-1~deb13u1 | ||
debian 14 | - | ||
rpm rhel10 | 0:8.3.36-1.el10_2 | ||
rpm rhel8 | 0:7.4.33-8.module+el8.10.0+25117+30337cca | ||
rpm rhel9 | 0:8.0.30-8.el9_8.1 | ||
rpm rhel10 | 0:8.4.27-1.el10_2 |
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1. 2. 3. 4.