[php-src] Issue #24930: [SECURITY] BUG-105: Memory Safety - Memory Leak - Allocation Without Free

From: Date: Wed, 28 Oct 2026 01:51:19 +0000
Subject: [php-src] Issue #24930: [SECURITY] BUG-105: Memory Safety - Memory Leak - Allocation Without Free
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-253383@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/24930 Author: Codeleafly ## 🐛 Security Bug Report **Bug ID:** BUG-105 **Category:** Memory Safety **Subcategory:** Memory Leak - Allocation Without Free **Severity:** Medium **CWE:** CWE-401 **CVSS Score:** 4.5 **File:** Zend/zend_execute.c **Line:** multiple **Status:** UNFIXED **Verified:** False ### Description Memory allocated via emalloc()/malloc() may not be freed on all code paths (error conditions, early returns). ### Impact Denial of service via memory exhaustion, information disclosure. ### Remediation Ensure all allocation paths have corresponding free() calls. Use cleanup handlers/goto error pattern. ### Exploitability Local or remote via repeated requests ### 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 (#253383) next »