Skip to main content
VulnerabilityPublished

CVE-2026-129474: Libphp · Use-after-free in magic method backtraces can lead to remote code execution

Affects libphpSource GCVE Database

0
Compare
Authoritative record:CVE-2026-129474· Critical 9.2

Not known to be exploited · CVSS 9.2 Critical : upgrade to 8.5.13 as a priority.

Data as of 27 Nov 2026, 08:29 UTC

CVSS 4.0 base score
9.2Critical
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (php)CVSS 4.09.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Bitnamilibphppkg:bitnami/libphpOther threatsAffected
  • >=8.5.0 <8.5.13
Fixed in
  • 8.5.13

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 that fixes this vulnerability. Users should upgrade to PHP 8.5.13 or later to remediate the issue. The Red Hat advisory and PHP's php.ini-production configuration enable zend.exception_ignore_args by default, which prevents this vulnerability. Administrators should verify these settings and apply the official fix as recommended.

Description

A use-after-free vulnerability in PHP's handling of magic method backtraces can lead to remote code execution. This occurs when collecting arguments for __call() or __callStatic() methods during a backtrace if a fatal error like exceeding memory_limit happens. The issue affects PHP versions 8.5.0 up to but not including 8.5.13. A fix is available in PHP 8.5.13. The vulnerability can cause memory corruption, crashes, or arbitrary code execution if exploited.

References

Community reviews

Loading reviews…