Skip to main content
No exploitation reportedAwaiting NVD analysis

CVE-2026-129474

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

No exploitation reported by the sources we read.

  • Published2026-11-19
  • WeaknessCWE-416

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-11-1914:43CVE publishedCNA

Versions per branch

Products declared by the CNA1 product

As php, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • PHP Group PHPother versions: not affected
    Affected
    • ≥ 8.5.0, < 8.5.13fixed in 8.5.13semver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-19

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • php-8.5Wolfiall versions · fixed in 8.5.13-r0and 93 other packages
  • php-8.5Echoall versions · fixed in 8.5.13+e1and 1 other package
  • php-8.5Chainguardall versions · fixed in 8.5.13-r0and 99 other packages
  • php-8.6Wolfiall versions · fixed in 8.6.0-r0and 93 other packages
  • php-8.6Chainguardall versions · fixed in 8.6.0-r0and 93 other packages
  • php5Ubuntu:Pro:14.04:LTSall versions · no fixed version listed
  • php7.0Ubuntu:Pro:16.04:LTSall versions · no fixed version listed
  • php7.2Ubuntu:Pro:18.04:LTSall versions · no fixed version listed

5 more package ranges on OSV.dev

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-11-19
  • CISA-ADPSSVC decisionnone2026-11-19
  • CNACVSS 4.09.22026-11-19
  • CNAweakness (CWE)CWE-4162026-11-19
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 4.0 vector
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
Published
2026-11-19
Last Modified
2026-11-19
NVD status
Awaiting Analysis

Frequently asked questions

What is CVE-2026-129474?

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.

Is CVE-2026-129474 actively exploited?

Active exploitation of CVE-2026-129474 has not been confirmed.

What is the CVSS score for CVE-2026-129474?

CVE-2026-129474 has a CVSS v3 base score of 8.1 (High severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running php-8.5? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record