CVE-2026-129474: Php · Use-after-free in magic method backtraces can lead to remote code execution
Affects phpSource GCVE Database
Not known to be exploited · CVSS 9.2 Critical : upgrade to 8.5.13 as a priority.
Data as of 27 Nov 2026, 08:12 UTC
Thin evidence
One scorer or none| CNA (php) | CVSS 4.0 | 9.2 |
|---|
- Patch
- Available – fixed in 8.5.13
CVSS:4.0/AV:N/AC:H/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 php to 8.5.13.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamiphppkg:bitnami/phpOther 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 in PHP version 8.5.13, which fixes this vulnerability. Users should upgrade to PHP 8.5.13 or later. The php.ini-production configuration enables zend.exception_ignore_args by default, which prevents exploitation. Review the Red Hat security advisory for detailed mitigation steps.
Description
A use-after-free vulnerability in PHP's handling of magic method backtraces can lead to remote code execution or denial of service. This occurs when PHP collects arguments for __call() or __callStatic() methods during a backtrace and reads stale memory references if a fatal error happens simultaneously. The issue affects PHP versions 8.5.0 through 8.5.12 and is fixed in 8.5.13. The vulnerability requires specific PHP configuration settings and attacker control over request data to exploit.
References
- access.redhat.com/security/cve/cve-2026-129474 (opens in a new tab)
- github.com/murrez/php2shell/blob/a8e24f4efab57f67384909d9408e42a74b973bfb/poc.py (opens in a new tab)
- github.com/php/php-src/security/advisories/GHSA-8mjj-2r7p-4hg2 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-129474 (opens in a new tab)
- ubuntu.com/security/CVE-2026-129474 (opens in a new tab)