CVE-2026-126714: Libphp · Partially overwritten session files can lead to remote code execution
Affects libphpSource GCVE Database
Not known to be exploited · CVSS 9.2 Critical · fixed in 8.5.13 : patch libphp as a priority.
Data as of 27 Nov 2026, 08:31 UTC
Thin evidence
One scorer or none| CNA (php) | CVSS 4.0 | 9.2 |
|---|
- Patch
- Available – fixed in 8.5.13, 8.4.28, 8.3.37 +1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade libphp to 8.5.13, 8.4.28, 8.3.37 or 8.2.36.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamilibphppkg:bitnami/libphpOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and fixed versions include PHP 8.2.36, 8.3.37, 8.4.28, and 8.5.13. Users should upgrade to these or later versions to remediate the vulnerability. Refer to the Red Hat security bulletin for detailed mitigation procedures. No alternative mitigations are specified; applying the official fix is recommended.
Description
A vulnerability in libphp's session file handling allows partially overwritten session files to lead to remote code execution. This occurs because the default session save handler writes updated session data without clearing the file first, potentially causing mixed old and new session data to be unserialized as objects. An attacker able to influence session data and interrupt writes can inject malicious objects, leading to code execution if suitable gadget chains exist. This affects PHP versions before 8.2.36, 8.3.37, 8.4.28, and 8.5.13.
References
- access.redhat.com/security/cve/cve-2026-126714 (opens in a new tab)
- bugzilla.suse.com/show_bug.cgi?id=1290690 (opens in a new tab)
- depthfirst.com/phpaftershell (opens in a new tab)
- github.com/php/php-src/security/advisories/GHSA-fm2m-fjf5-v3cp (opens in a new tab)
- github.com/semgrep/detection-scripts/pull/14 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-126714 (opens in a new tab)
- ubuntu.com/security/CVE-2026-126714 (opens in a new tab)