{"id":"CVE-2026-129474","aliases":["CVE-2026-129474","BIT-LIBPHP-2026-129474","BIT-PHP-2026-129474","BIT-PHP-MIN-2026-129474","GHSA-8mjj-2r7p-4hg2"],"related":[],"kind":"vulnerability","state":"published","title":"Use-after-free in magic method backtraces can lead to remote code execution","summary":"Use-after-free in magic method backtraces can lead to remote code execution.\n\nWhen 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.\n\nThis issue affects PHP versions 8.5.* before 8.5.13.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Use-after-free in magic method backtraces can lead to remote code execution.\n\nWhen 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.\n\nThis issue affects PHP versions 8.5.* before 8.5.13.","source":"cvelist"}],"published":"2026-11-19T14:43:04.047Z","modified":"2026-11-27T06:55:31.773Z","severity":{"scorer":"php","scheme":"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","score":9.2,"rating":"CRITICAL"},"severities":[{"scorer":"php","scheme":"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","score":9.2,"rating":"CRITICAL"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"semver","introduced":"8.5.0","fixed":"8.5.13","status":"affected"}],"vendor":"PHP Group","product":"PHP","cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.13"}],"ecosystem":"Bitnami","package":"libphp","purl":"pkg:bitnami/libphp","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.13"}],"ecosystem":"Bitnami","package":"php","purl":"pkg:bitnami/php","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.13"}],"ecosystem":"Bitnami","package":"php-min","purl":"pkg:bitnami/php-min","source":"bitnami"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-8mjj-2r7p-4hg2","tags":["vendor-advisory","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/security/cve/cve-2026-129474","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://ubuntu.com/security/CVE-2026-129474","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/murrez/php2shell/blob/a8e24f4efab57f67384909d9408e42a74b973bfb/poc.py#L808-L816","tags":["signature","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129474","tags":["web"],"sources":["bitnami"]}],"credits":["Adam Korcz (Ada Logics / Anthropic)","Arnaud Le Blanc","Jakub Zelenka"],"assigner":"php","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-19T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-129474","url":"https://www.cve.org/CVERecord?id=CVE-2026-129474","licence":"CVE Terms of Use","modified":"2026-11-22T00:37:55.820Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-129474","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129474","licence":"Public domain","modified":"2026-11-22T01:16:52.627Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPHP-2026-129474","url":"https://osv.dev/vulnerability/BIT-LIBPHP-2026-129474","licence":"Apache-2.0","modified":"2026-11-27T06:45:30.516Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHP-2026-129474","url":"https://osv.dev/vulnerability/BIT-PHP-2026-129474","licence":"Apache-2.0","modified":"2026-11-27T06:45:43.144Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHP-MIN-2026-129474","url":"https://osv.dev/vulnerability/BIT-PHP-MIN-2026-129474","licence":"Apache-2.0","modified":"2026-11-27T06:55:31.773Z"}],"updatedAt":"2026-11-27T07:07:32.654Z","epss":{"score":0.21169,"percentile":0.97639,"date":"2026-12-01T12:00:22.000Z"}}