Use-after-free in magic method backtraces can lead to remote code execution
Severity and exploitation
KEV coverage does not rule out exploitation.
Assessment 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:NSeverity
critical9.2CVSS 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
PHP Group · php
PHP
Package identity
pkg:software-id/php.net/phpIdentity 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
Other versions: unaffected
Product identifiers (CPE)
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*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 sourcesInside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-129474View 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.
Contributing organizations · 3
Assigning organization
Additional data publisher
Additional data publisher
Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Source updated
Latest modification date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changes- 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" ]
- 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" } ] } ] - 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.
Related advisories
Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.
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-FPM request smuggling through an unread HTTP request body
PHP-FPM request smuggling through an unread HTTP request body.
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
SOAP information disclosure through malformed array dimensions
SOAP information disclosure through malformed array dimensions.
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
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
Incorrect RFC 3986 URI serialization for oversized input
Incorrect RFC 3986 URI serialization for oversized input.
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
PHP-FPM epoll use-after-free can lead to local privilege escalation
PHP-FPM epoll use-after-free can lead to local privilege escalation.
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established