1.0 Introduction
Recently, the PHP project has released security
updates to address multiple vulnerabilities in PHP.
2.0 Impact
Successful exploitation of these vulnerabilities
may allow a remote attacker to trigger remote code execution, denial of
service, elevation of privilege, security restriction bypass, sensitive
information disclosure and data manipulation on the targeted system.
Proof-of-concept exploit code is publicly available for two of the flaws:
?
CVE-2026-126714 (also known as
“phpAfterShell”): An attacker who can influence session data, for example
through session upload progress, and interrupt a write at a suitable point may
inject objects. This can lead to code execution if the application contains a
suitable gadget chain. Session data can also be corrupted.
?
CVE-2026-115560: A remote
attacker able to submit a multipart upload can inject objects, which may lead
to code execution when the application that reads the data contains a suitable
gadget chain, or to session corruption or denial of service.
The update also fixes other critical and
high-severity flaws, including a request smuggling flaw in PHP-FPM
(CVE-2026-129289), use-after-free flaws in the session, date and engine
components (CVE-2026-129481, CVE-2026-129496, CVE-2026-129474 and CVE-2026-129182),
a use-after-free in PHP-FPM that can lead to local privilege escalation
(CVE-2026-129291), and a PHAR signature bypass (CVE-2026-128090). PHP is used
by many websites and applications, so a single vulnerable runtime can expose
many systems. This may lead to execution of arbitrary code, unauthorised access
to sensitive information and system compromise.
3.0 Affected Products
?
PHP versions earlier than 8.6.0
?
PHP 8.5 versions earlier than
8.5.13
?
PHP 8.4 versions earlier than
8.4.28
?
PHP 8.3 versions earlier than
8.3.37
?
PHP 8.2 versions earlier than
8.2.36
?
Software, containers and
hosting platforms that bundle PHP
4.0 Recommendations
CyberSecurity Malaysia encourages users and
administrators to review the following PHP security announcement and apply the
necessary updates. Users are advised to update to PHP 8.6.0, 8.5.13, 8.4.28,
8.3.37 or 8.2.36, or later, and to restart PHP-FPM and other PHP workers so
that they use the fixed version. Please also refer to the PHP announcement for
mitigation measures. Because proof-of-concept code is public, internet-facing
systems should be prioritised. Administrators should also:
?
Identify PHP installed as part
of other applications, control panels and container images, and apply the
updates issued by their vendors.
?
Review applications that store
sessions or handle uploads for unusual session data, unexpected multipart
upload requests and unexpected PHP worker crashes.
?
Upgrade users of PHP 8.1 and
older, which no longer receive updates, to a supported version. PHP 8.2 reaches
end of life on 31 December 2026, so plan an upgrade to a newer branch.
Kindly refer to the following URL: https://www.php.net/archive/2026.php#2026-11-19-5
Generally, we advise users to be updated
with the latest security announcements by the vendor and follow best practice
security policies to determine which updates should be applied.
For further enquiries, please contact
Cyber999 Incident Response Centre through the following channels:
E-mail: cyber999[at]cybersecurity.my
Phone: 1-300-88-2999 (monitored during business hours)
Mobile: +60 19 2665850 (24x7 call incident reporting)
Business Hours: Mon - Fri 08:30 -17:30 MYT
Web: https://www.cybersecurity.my
5.0 References
?
https://www.php.net/archive/2026.php#2026-11-19-5