Skip to content
Emerging threatsCritical

CVE-2026-129474PHP Use-After-Free

Use-after-free in magic method backtraces can lead to remote code execution

Published Nov 19, 2026 · Updated Nov 27, 2026 · Also known as BIT-libphp-2026-129474, BIT-php-2026-129474, BIT-php-min-2026-129474, EUVD-2026-130146, GHSA-8mjj-2r7p-4hg2

Key Facts

Patch in the next maintenance window
  • CVE-2026-129474 is a critical-severity vulnerability (CVSS 9.2 v4) affecting PHP, php-8.5 (chainguard), php-8.5-frankenphp (chainguard) and 22 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 21% probability of exploitation in the next 30 days.
  • Fixed versions are available, including engine 8.5.13, libphp 8.5.13, PHP 8.5.13.
  • Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.

Scores

CVSS v4

9.2

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

EPSS (30-day exploit likelihood)

21%

Higher than 98.1% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

59/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

3

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

Use-after-free in magic method backtraces can lead to remote code execution.

When collecting the arguments of a method call handled by __call() or __callStatic() for a backtrace, PHP can read stale values that may refer to freed memory.

If a fatal error such as exceeding memory_limit occurs while an application enters such a call, with fatal_error_backtraces enabled (the default) and zend.exception_ignore_args disabled, a remote attacker who controls enough request data to influence memory allocation may cause memory corruption, crash the PHP worker or, with knowledge of memory addresses, execute arbitrary code. php.ini-production enables zend.exception_ignore_args, which prevents this.

This issue affects PHP versions 8.5.* before 8.5.13.

Affected Products

97 affected entries in total
ProductAffected versionsFixed in
PHPPHP>= 8.5.08.5.13
php-8.5chainguardSee advisory8.5.13-r0
php-8.5-frankenphpchainguardSee advisory8.5.13-r0
php-8.6chainguardSee advisory8.6.0-r0
libphpbitnami>= 8.5.08.5.13
20 more affected products in the full CVE brief

Patched Releases

engine

8.5.13

libphp

8.5.13

PHP

8.5.13

php-8.5

8.5.13-r0, 8.5.13+e1

php-8.5-frankenphp

8.5.13-r0

php-8.5-zts

8.5.13+e1

php-8.6

8.6.0-r0, 8.6.0+e1

php-8.6-zts

8.6.0+e1

php-main

8.5.13-0.1.hum1

php-min

8.5.13

php/php-src

8.5.13

php8

8.5.13-1.1

php8-bcmath

8.5.13-1.1

php8-bz2

8.5.13-1.1

php8-calendar

8.5.13-1.1

php8-cli

8.5.13-1.1

php8-ctype

8.5.13-1.1

php8-curl

8.5.13-1.1

php8-dba

8.5.13-1.1

php8-devel

8.5.13-1.1

php8-dom

8.5.13-1.1

php8-enchant

8.5.13-1.1

php8-exif

8.5.13-1.1

php8-ffi

8.5.13-1.1

php8-fileinfo

8.5.13-1.1

Timeline

  1. Publicly disclosed

    Nov 19, 2026

  2. Last updated

    Nov 27, 2026

Weakness Type

  • CWE-416 Use After Free
  • CWE-825 Expired Pointer Dereference

References

9 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2026-129474 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Nov 27, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.