Red Hot Cyber
Cybersecurity, Cybercrime News and Vulnerability Analysis
logo di php frantumato a terra per l'impatto.

Critical PHP Remote Code Execution Flaw Discovered – Patch Now

19 November 2026 21:55

There is a severe security vulnerability in the PHP engine that could allow a remote attacker, without authentication, to cause memory corruption, crash the processes handling web request processing and even execute arbitrary code instructions on the targeted server under certain conditions.

The vulnerability carries the identifier CVE-2026-129496 and has received a severity score of 9.2 out of 10 according to the CVSS scale, affecting several versions of the PHP programming language.

The vulnerability was disclosed on November 19, 2026 via the official PHP source repository on GitHub, under the security advisory number GHSA-gr4f-wgx5-jpfv. The issue concerns the ext-date extension, is due to a memory‑handling bug and has been classified under CWE-416, known as Use After Free.

Advertising

The problem occurs during the PHP process initialization phase. More precisely, when PHP generates diagnostic information during startup, it may retain a reference that points to the Time Zone Cache located in a temporary dedicated memory area.

Subsequently, this memory area is freed, but the internal reference remains until the completion of the first request’s initialization.

If diagnostic information is generated again during this time window, PHP may attempt to access already‑freed memory and read or modify the data within it. The attacker can influence this data by sending specially crafted HTTP requests for this purpose.

Researchers have been able to demonstrate the vulnerability’s ability to cause PHP‑FPM process crashes and have also documented attack scenarios that allow native command execution on the system in FPM and Apache mod_php environments.

However, this latter scenario requires specific configuration settings and additional technical conditions, so the presence of the vulnerability does not mean that all affected installations are automatically exposed to command‑execution attacks in this way.

Advertising

Affected versions include:

  • PHP versions prior to 8.2.36
  • PHP from version 8.3.0 up to 8.3.36
  • PHP from version 8.4.0 up to 8.4.27
  • PHP from version 8.5.0 up to 8.5.12

The fix consists of using UTC format when logging timestamps, when the request context has not yet completed initialization.

System administrators must upgrade PHP to one of the patched versions as quickly as possible. Until the upgrade is complete, it is recommended to review configuration settings that lead to the generation of diagnostic information during startup and adjust them, considering alternative destinations for event logging, such as syslog.

This vulnerability once again confirms that even simple operations, like logging events to log files, can become an intrusion point that allows an attacker to access the entire application infrastructure.


Follow us on Google News to receive daily updates on cybersecurity. Contact us if you would like to report news, insights or content for publication.

Luigi Zullo 300x300
Cybersecurity researcher with experience in vulnerability analysis, cyber risk mitigation, red teaming and ethical hacking, and the protection of complex systems. Specializing in penetration testing and threat intelligence, he helps strengthen the digital resilience of corporate infrastructures and networks.
Areas of Expertise: Penetration Testing, Threat Intelligence, Red Teaming, Vulnerability Assessment, Incident Response