[php-src] Issue #24954: [SECURITY] BUG-129: Opcache/JIT - JIT Compilation Memory Safety

From: Date: Wed, 28 Oct 2026 01:51:39 +0000
Subject: [php-src] Issue #24954: [SECURITY] BUG-129: Opcache/JIT - JIT Compilation Memory Safety
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-253408@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/24954 Author: Codeleafly ## 🐛 Security Bug Report **Bug ID:** BUG-129 **Category:** Opcache/JIT **Subcategory:** JIT Compilation Memory Safety **Severity:** High **CWE:** CWE-119 **CVSS Score:** 7.0 **File:** ext/opcache/zend_persist.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*

« previous php.bugs (#253408) next »