Is my PHP site affected by CVE-2026-129474?
PHP has a flaw in the way it gathers error information that could let an attacker run code on your site under specific conditions. PHP 8.5.13 fixes the issue in the 8.5 branch. The check below compares your site's reported version with that fix: an earlier affected version means potentially affected, while a hidden version means we cannot tell. A version alone is not proof, because hosts can apply fixes without changing the reported version.
What happened
PHP runs application code for sites that use it. The flaw occurs when PHP gathers details of certain method calls for an error report, known as a backtrace, and reads memory that has already been freed. Under the conditions described in the record, an attacker could corrupt memory, crash a PHP worker or run code of their choice.
The source rates the issue as critical, with a score of 9.2 out of 10. It lists PHP 8.5.13 as the fixed release, but does not identify who published the fix or give its release date. The supplied information does not list the issue as exploited in CISA's catalogue.
Which versions are affected
Your site is potentially affected if it uses PHP 8.5.0 up to, but not including, 8.5.13 and meets the conditions described in the record. The listed affected range is limited to the 8.5 branch.
The risk depends on your site's settings and how its code handles calls. The record describes a fatal error, such as exceeding memory_limit, while entering a call handled by __call() or __callStatic(). It also requires fatal_error_backtraces to be enabled, which is the default, and zend.exception_ignore_args to be disabled. An attacker must control enough request data to influence memory allocation; running code also requires knowledge of memory addresses. The supplied php.ini-production settings enable zend.exception_ignore_args, which prevents this issue.
An affected-range version is not proof that your site is affected. Your host may have applied the fix without changing the version number.
| Branch | First fixed release |
|---|---|
| 8.5 | 8.5.13 |
What to do
If your site uses the affected PHP 8.5 releases, ask your developer or host to update it to PHP 8.5.13, the listed fixed release for that branch. Alternatively, ask them in writing whether they have already applied the fix without changing the version, or whether the settings described in the record prevent the issue. Keep their answer.
After the update, check that your site's usual pages and important functions still work. Run the version check again and compare its result with your developer or host's confirmation. If the version is hidden or still shows an earlier release, the public check cannot confirm whether the fix has been applied.
What the check can and cannot tell
The check gives you a version-based indication, not proof of your site's security. A reported PHP version in the affected range below 8.5.13 means potentially affected. It does not mean your site has been hacked, and your host may have applied the fix without changing that number.
A reported version matching the fixed release means the reported version is fixed for this issue. It does not prove that every part of your site is secure. If the version is hidden, the result is cannot tell, not safe or affected.
The check is passive and reads only what every visitor can see. It does not try to trigger the flaw or inspect your site's private settings.
Common questions
- Does this mean my site has been hacked?
- No. A potentially affected result only means the reported version falls within the affected range. This check cannot tell whether anyone has used the flaw against your site.
- Do I need to do anything if my host handles updates?
- Ask your developer or host to confirm in writing that PHP 8.5.13 or the equivalent fix has been applied. Keep the answer and check that your site still works normally after any update.
- What if my site's PHP version is hidden?
- The check cannot tell whether the fix is present. Ask your developer or host to confirm the installed release and whether this issue has been addressed.
- Why does the check still flag an older version after my host says it is fixed?
- Hosts can apply a fix without changing the reported version number. Ask your developer or host for written confirmation that their fix covers CVE-2026-129474; the public version alone cannot settle that.
Official sources
About this page
This page was compiled from the public advisories listed above. The identifiers, version ranges, dates and scores come straight from those sources and were last read on 19 November 2026; the explanation was drafted with the help of a language model and checked so that it adds no facts of its own. The check reads only the version information your site shows to every visitor. How it works · All advisories · Wave checks.