Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2026-129474

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

Products / packages PHP Group PHP

Published

Share

Severity and exploitation

Not in CISA KEV

KEV coverage does not rule out exploitation.

KEV checked 28/11/2026, 19:25:31 UTC
php · CVSS:4.0 · 9.2
Assessment vectorCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Severity

critical9.2

CVSS measures technical severity, not the likelihood of an attack.

Known exploitation

Not listed in the checked CISA KEV catalog

Absence from CISA KEV does not rule out attacks.

Public exploit

Not established by this record

Missing evidence does not mean no public exploit exists.

Remediation

Fix status not established

No structured fix or guidance is available here. Check the latest publisher advisory.

What this means

PHP versions 8.5.* before 8.5.13 have a use-after-free weakness in magic method backtraces. An attacker with control over request data may cause memory corruption or crash the PHP worker. The impact depends on various conditions.

Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.

Attack conditions

No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.

Review supporting sources →

Affected versions

Check the exact model, release, and any platform requirements against your installation.

PHP Group · php

PHP

1 range

Package identity

pkg:software-id/php.net/php

Identity supplied by php. Version matching requires compatible range evidence.

Compare with this publisher’s ranges. This does not inspect your installation.

affected

8.5.0 → before 8.5.13

semver versions

unaffected

unknown

Other versions: unaffected

Product identifiers (CPE)cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
Automatic dependency matching is unavailable for this record. Use the product evidence and publisher’s instructions to check your installation.

What to do

Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.

No structured fix or remediation guidance is available here. Check the full source description and vendor’s latest advisory for a patch or workaround; do not assume another version is safe.

cve.new guidance unless attributed to a publisher. This page does not inspect your installation.

Public exploit evidence

No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.

Original source description

Read the full publisher 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.

References

4 sources

Inside the record

Evidence available

Package identity
Version evidence
Remediation guidance · not supplied
Weakness classification
Additional publishers

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2026-129474

View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.

cve.new JSON →

Underlying weaknesses

The source’s classification of what caused the vulnerability.

CWE-416 ↗

CWE-416 Use After Free

php

Related →
Contributing organizations · 3
php

Assigning organization

2026-11-19
CISA-ADP

Additional data publisher

2026-11-20
CVE

Additional data publisher

2026-11-22

Timeline

All times UTC
  1. Advisory published

    Publication date supplied by the source.

  2. Source updated

    Latest modification date supplied by the source.

  3. Last imported by cve.new

    Latest catalog import, not the date we first saw this advisory.

What changed

Follow changes
  1. CVE · CVE-2026-129474

    Observed 2026-11-22T00:40:57.011Z · upstream updated 2026-11-22T00:37:55.820Z

    References changed

    before

    [
      "https://github.com/php/php-src/security/advisories/GHSA-8mjj-2r7p-4hg2"
    ]

    after

    [
      "https://github.com/php/php-src/security/advisories/GHSA-8mjj-2r7p-4hg2",
      "https://access.redhat.com/security/cve/cve-2026-129474",
      "https://ubuntu.com/security/CVE-2026-129474",
      "https://github.com/murrez/php2shell/blob/a8e24f4efab57f67384909d9408e42a74b973bfb/poc.py#L808-L816"
    ]
  2. CVE · CVE-2026-129474

    Observed 2026-11-20T05:59:01.282Z · upstream updated 2026-11-20T04:56:39.698Z

    Prioritization updated

    before

    [
      {
        "source": "CISA-ADP",
        "type": "SSVC",
        "role": "CISA Coordinator",
        "timestamp": "2026-11-19T16:15:56.056829Z",
        "decisions": [
          {
            "name": "Exploitation",
            "value": "none"
          },
          {
            "name": "Automatable",
            "value": "no"
          },
          {
            "name": "Technical Impact",
            "value": "total"
          }
        ]
      }
    ]

    after

    [
      {
        "source": "CISA-ADP",
        "type": "SSVC",
        "role": "CISA Coordinator",
        "timestamp": "2026-11-19T00:00:00+00:00",
        "decisions": [
          {
            "name": "Exploitation",
            "value": "none"
          },
          {
            "name": "Automatable",
            "value": "no"
          },
          {
            "name": "Technical Impact",
            "value": "total"
          }
        ]
      }
    ]
  3. CVE · CVE-2026-129474

    Observed 2026-11-19T17:40:14.935Z · upstream updated 2026-11-19T16:55:13.726Z

    Prioritization updated

    before

    []

    after

    [
      {
        "source": "CISA-ADP",
        "type": "SSVC",
        "role": "CISA Coordinator",
        "timestamp": "2026-11-19T16:15:56.056829Z",
        "decisions": [
          {
            "name": "Exploitation",
            "value": "none"
          },
          {
            "name": "Automatable",
            "value": "no"
          },
          {
            "name": "Technical Impact",
            "value": "total"
          }
        ]
      }
    ]

Large field values are marked as truncated previews. Original source snapshots remain retained.

Showing up to 50 most recent observed changes.

Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.

medium6.3
CVE-2026-129501

Double free during DOM XML serialization

Double free during DOM XML serialization.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

PHP Group · PHP
high8.7
CVE-2026-127960

Denial of service through folded HTTP response headers

Denial of service through folded HTTP response headers.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

PHP Group · PHP