[php-src] Issue #24822: [SECURITY] BUG-136: Type Safety - Type Confusion in Variable Unserialization

From: Date: Wed, 28 Oct 2026 01:49:00 +0000
Subject: [php-src] Issue #24822: [SECURITY] BUG-136: Type Safety - Type Confusion in Variable Unserialization
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-253277@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/24822 Author: Codeleafly ## 🐛 Security Bug Report **Bug ID:** BUG-136 **Category:** Type Safety **Subcategory:** Type Confusion in Variable Unserialization **Severity:** Critical **CWE:** CWE-843 **CVSS Score:** 8.5 **File:** **Line:** multiple **Status:** UNFIXED **Verified:** False ### Description Unserialization may confuse variable types (IS_UNDEF, IS_NULL, IS_STRING, IS_ARRAY, IS_OBJECT). Type confusion enables object injection and memory corruption. ### Impact Remote code execution, type confusion exploits, memory corruption. ### Remediation Strict type validation during unserialization. Limit allowed classes. Use typed deserialization. ### Exploitability Remote ### 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.*

« previous php.bugs (#253277) next »