CVE-2026-129474 Affecting php-8.6 package, versions <8.6.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
9.34% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-PHP86-22634679
  • published20 Nov 2026
  • disclosed19 Nov 2026

Introduced: 19 Nov 2026

NewCVE-2026-129474  (opens in a new tab)

How to fix?

Upgrade Wolfi php-8.6 to version 8.6.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-8.6 package and not the php-8.6 package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1