CVE-2026-129474

critical EU-CRITICAL
EUVD alias: EUVD-2026-130146
Assigned by CNA: php
Published 2026-11-19 · Modified 2026-11-22
CVSS v3
—
CVSS v4 NEW
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
VIR risk
9.2

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.

Predictions

Exploit likelihood
20%
Patch ETA
—

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.

Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

debian Debian Fixed 4 releases
VersionPackageStatusFixed in
trixie php8.4 Not affected —
sid php8.4 Not affected —
forky php8.4 Not affected —
bookworm php8.2 Not affected —
gentoo Gentoo Fixed 1 release
VersionPackageStatusFixed in
— — Fixed 8.2.36
ubuntu Ubuntu Fixed 8 releases
VersionPackageStatusFixed in
xenial php7.0-xmlrpc php7.0-xml php7.0-zip +36 more Fixed 7.0.33-0ubuntu0.16.04.16+esm23
trusty php5-fpm php5-enchant php5-cgi +26 more Fixed 5.5.9+dfsg-1ubuntu4.29+esm19
stonking php8.5-sqlite3 php8.5-curl php8.5-dba +30 more Fixed 8.5.9-0ubuntu2.2
resolute php8.5-soap php8.5-xsl php8.5-bcmath +30 more Fixed 8.5.4-0ubuntu1.6
noble php8.3-snmp php8.3-pspell php8.3-readline +32 more Fixed 8.3.6-0ubuntu0.24.04.14
jammy php8.1-cli php8.1-enchant php8.1-ldap +34 more Fixed 8.1.2-1ubuntu2.29
focal php7.4-gmp php7.4-mbstring php7.4-phpdbg +34 more Fixed 7.4.3-4ubuntu2.29+esm6
bionic libapache2-mod-php7.2 php7.2 php7.2-ldap +35 more Fixed 7.2.24-0ubuntu0.18.04.17+esm15
suse SUSE Tracked 1 release
VersionPackageStatusFixed in
— — Unknown —

Application impact

VendorProductVersionsFixed
php phpphp{"startIncluding":"8.5.0","endExcluding":"8.5.13"}8.5.13

References

CWEs

CWE-416

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.