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
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2026-129474
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-129474
- advisoryRHSA-2026:101658
- advisoryhttps://github.com/php/php-src/security/advisories
- advisoryhttps://github.com/php/php-src/security/advisories/GHSA-8mjj-2r7p-4hg2
- advisoryhttps://www.php.net/ChangeLog-8.php#8.2.36
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| Product | Affected versions | Fixed in |
|---|---|---|
| PHPPHP | >= 8.5.0 | 8.5.13 |
| php-8.5chainguard | See advisory | 8.5.13-r0 |
| php-8.5-frankenphpchainguard | See advisory | 8.5.13-r0 |
| php-8.6chainguard | See advisory | 8.6.0-r0 |
| libphpbitnami | >= 8.5.0 | 8.5.13 |
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
Publicly disclosed
Nov 19, 2026
Last updated
Nov 27, 2026
Weakness Type
- CWE-416 Use After Free
- CWE-825 Expired Pointer Dereference
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2026-129474
- advisoryRHSA-2026:101658
- advisorygithub.com · advisories
- advisorygithub.com · GHSA-8mjj-2r7p-4hg2
FAQ
Common Questions.
Use-after-free in magic method backtraces can lead to remote code execution.
Affected: PHP versions >= 8.5.0; php-8.5 (chainguard); php-8.5-frankenphp (chainguard), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
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.
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