[php-src] Issue #24824: [SECURITY] BUG-150: Deserialization - Phar Archive Deserialization Attack
| From: | Codeleafly | Date: | Wed, 28 Oct 2026 01:49:01 +0000 |
| Subject: | [php-src] Issue #24824: [SECURITY] BUG-150: Deserialization - Phar Archive Deserialization Attack | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-253278@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/24824
Author: Codeleafly
## 🐛 Security Bug Report
**Bug ID:** BUG-150
**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.*