[php-src] Issue #24953: [SECURITY] BUG-128: Opcache/JIT - JIT Compilation Memory Safety
| From: | Codeleafly | Date: | Wed, 28 Oct 2026 01:51:38 +0000 |
| Subject: | [php-src] Issue #24953: [SECURITY] BUG-128: Opcache/JIT - JIT Compilation Memory Safety | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-253407@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/24953
Author: Codeleafly
## 🐛 Security Bug Report
**Bug ID:** BUG-128
**Category:** Opcache/JIT
**Subcategory:** JIT Compilation Memory Safety
**Severity:** High
**CWE:** CWE-119
**CVSS Score:** 7.0
**File:**
ext/opcache/zend_accelerator_module.c
**Line:** multiple
**Status:** UNFIXED
**Verified:** False
### Description
JIT compiler generates executable code from user-controlled PHP opcodes. Potential for code
injection via malicious bytecode.
### Impact
Arbitrary code execution, sandbox escape.
### Remediation
Validate all opcodes before JIT compilation. Use W^X memory protections. Audit JIT code generation
paths.
### Exploitability
Remote via crafted PHP scripts
### Source
- Repository: https://github.com/php/php-src/
- Branch: master
- Analysis Date: 2026-10-27T16:38:37.937347Z
---
*Auto-generated from static security analysis of php-src.*
*Total bugs found: 161*