[php-src] Issue #24943: [SECURITY] BUG-118: Memory Safety - Off-by-One Buffer Boundary Error

From: Date: Wed, 28 Oct 2026 01:51:29 +0000
Subject: [php-src] Issue #24943: [SECURITY] BUG-118: Memory Safety - Off-by-One Buffer Boundary Error
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-253397@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/24943 Author: Codeleafly ## 🐛 Security Bug Report **Bug ID:** BUG-118 **Category:** Memory Safety **Subcategory:** Off-by-One Buffer Boundary Error **Severity:** Medium **CWE:** CWE-193 **CVSS Score:** 5.5 **File:** ext/standard/string.c **Line:** multiple **Status:** UNFIXED **Verified:** False ### Description Off-by-one error in buffer bounds checking may allow one byte overflow past buffer boundary. ### Impact Heap metadata corruption, crash, potential code execution. ### Remediation Review all buffer size calculations, ensure < not <= where appropriate, add bounds assertions. ### Exploitability Medium ### 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 (#253397) next »