[php-src] Issue #24825: [SECURITY] BUG-151: Deserialization - Phar Archive Deserialization Attack

From: Date: Wed, 28 Oct 2026 01:49:02 +0000
Subject: [php-src] Issue #24825: [SECURITY] BUG-151: Deserialization - Phar Archive Deserialization Attack
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-253279@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/24825 Author: Codeleafly ## 🐛 Security Bug Report **Bug ID:** BUG-151 **Category:** Deserialization **Subcategory:** Phar Archive Deserialization Attack **Severity:** Critical **CWE:** CWE-502 **CVSS Score:** 9.0 **File:** **Line:** multiple **Status:** UNFIXED **Verified:** False ### Description Phar archives can contain serialized metadata that gets unserialized. Phar:// wrapper allows file operations to trigger deserialization. ### Impact Remote code execution, object injection. ### Remediation Disable phar.readonly=0 in production. Validate phar contents before unserialization. ### Exploitability Remote via phar:// URLs ### 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 (#253279) next »