CONNECT WITH US
Cyber Security

Cyber Security

PHP Fixes 7 Critical Flaws, Including Bugs That Could Allow Remote Code Execution

The Hacker News logo

Published on

Add as a preferred source on Google
PHP Fixes 7 Critical Flaws, Including Bugs That Could Allow Remote Code Execution

The PHP Foundation has released security updates to address multiple critical security flaws that could be exploited to achieve remote code execution on affected deployments, including CVE-2026-115560.

The release of the patch follows an advance notice in which the project maintainers alerted users to multiple critical vulnerabilities affecting all supported PHP versions under specific conditions, including non-default configuration or uncommon setups.

At a high level, successful exploitation of the defects could pave the way for remote code execution, session corruption, denial-of-service, memory corruption, or local privilege escalation.

Depthfirst, which has codenamed CVE-2026-126714 "phpAfterShell," has described it as a critical flaw that can enable a remote attacker to run arbitrary code on affected servers.

"If a pwrite()/ftruncate() update is interrupted, PHP may leave behind a malformed session file that is later loaded by session_start(), yielding an arbitrary deserialization primitive," Depthfirst said. "Chained with another of our PHP-native deserialization-to-RCE findings, this leads directly to remote code execution."

Put differently, the vulnerability turns an interrupted file write into a potential remote code execution primitive by manipulating how PHP writes session data to disk, causing it to interpret previously harmless data as executable object data.

It then exploits the unexpected session state where the PHP worker either dies while the write process is underway, leaving a partially updated file, or dies after the write is complete, but before content from the previous session is removed. Both scenarios lead to a mixture of two different session states.

"Depending on where the interruption happens, part of the new Session may already have been written while bytes from the previous Session remain on disk," security researcher Yuhang Wu said.


Source link

Disclaimer

We strive to uphold the highest ethical standards in all of our reporting and coverage. We TheMorningPulse.fyi want to be transparent with our readers about any potential conflicts of interest that may arise in our work. It's possible that some of the investors we feature may have connections to other businesses, including competitors or companies we write about. However, we want to assure our readers that this will not have any impact on the integrity or impartiality of our reporting. We are committed to delivering accurate, unbiased news and information to our audience, and we will continue to uphold our ethics and principles in all of our work. Thank you for your trust and support.