[php-src] Issue #24893: [SECURITY] BUG-068: Memory Safety - Null Pointer Dereference

From: Date: Wed, 28 Oct 2026 01:50:48 +0000
Subject: [php-src] Issue #24893: [SECURITY] BUG-068: Memory Safety - Null Pointer Dereference
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-253347@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/24893 Author: Codeleafly ## 🐛 Security Bug Report **Bug ID:** BUG-068 **Category:** Memory Safety **Subcategory:** Null Pointer Dereference **Severity:** High **CWE:** CWE-476 **CVSS Score:** 6.5 **File:** main/php_ini.c **Line:** multiple **Status:** UNFIXED **Verified:** False ### Description Missing NULL pointer check after emalloc()/malloc() call. Dereferencing potentially NULL pointer causes segmentation fault. ### Impact Denial of service (crash), potential information disclosure. ### Remediation Add NULL check after every memory allocation before dereferencing the pointer. ### Exploitability Local or remote depending on context ### 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 (#253347) next »