Use-After-Free Vulnerability in PHP Affecting Multiple Versions
CVE-2026-129182
Key Information:
Badges
Key facts: CVE-2026-129182 is a critical severity (CVSS 9.2) vulnerability in PHP Group PHP. It is known to be exploited in the wild. 1 public proof-of-concept exploit is available. Its EPSS score is 23.9%, the estimated probability of exploitation in the next 30 days. Fixed in PHP 8.5.13.
What is CVE-2026-129182?
CVE-2026-129182 is a use-after-free vulnerability in PHP, a widely-used scripting language primarily designed for web development. This vulnerability occurs when a fatal error is raised while restoring modified INI settings during the request shutdown process. The issue arises from the repopulation of the last_fatal_error_backtrace global variable after the memory has been cleaned up by the executor. As a result, during a subsequent request handled by the same PHP-FPM or mod_php worker, stale data can be accessed, potentially causing memory corruption. This could lead to worker crashes and even remote code execution. The affected versions include PHP 8.5.* prior to 8.5.13, making it critical for organizations using these versions to be aware of this flaw and its implications on system security.
Potential impact of CVE-2026-129182
-
Memory Corruption: The vulnerability can allow for corruption of memory in PHP processes, leading to instability and crashes of workers, which can disrupt service availability.
-
Remote Code Execution: Exploitation of this issue may provide attackers with the ability to execute arbitrary code remotely, which poses a crucial risk, particularly for web applications reliant on PHP.
-
Increased Attack Surface: Given the nature of PHP's widespread usage in web development, organizations maintaining systems with vulnerable versions are at a heightened risk of being targeted by threat actors, increasing their overall security exposure.
Affected Version(s)
PHP 8.5.0 < 8.5.13
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
More PHP Group vulnerabilities
- CVE-2026-129289: HTTP Request Smuggling in PHP-FPM Affects PHP by The PHP Group(CRITICAL)
- CVE-2026-129496: Use-After-Free Vulnerability in PHP Affects Multiple Versions and Releases(CRITICAL)
- CVE-2026-126714: Remote Code Execution Vulnerability in PHP Session Management(CRITICAL)
- CVE-2026-128064: Data Exposure Vulnerability in PHP Product by PHP(HIGH)
- CVE-2026-115560: Session Serializer Vulnerability in PHP Affected by Improper Data Handling(CRITICAL)
- CVE-2026-109619: PHP Remote Code Execution Vulnerability in PHP Products(CRITICAL)
- CVE-2026-109618: Remote Code Execution Risk in PHP Software(CRITICAL)
- CVE-2026-91768: FastCGI Security Flaw in PHP Affects IPv6 Address Validation(MEDIUM)
EPSS Score
23% chance of being exploited in the next 30 days.
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
