Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown
Severity and exploitation
KEV coverage does not rule out exploitation.
Assessment vector
CVSS:4.0/AV:N/AC:L/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 vulnerability via repopulation of last_fatal_error_backtrace global after shutdown, potentially causing memory corruption and worker crashes. A fatal error during request shutdown and specific configurations are required. The impact is uncertain.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Attack conditions
The shutdown error requires per-path configuration of max_memory_limit, or of zlib.output_compression together with output_handler (which .user.ini can also set). The early diagnostic requires Apache per-directory configuration or, for PHP-FPM, a PHP_VALUE or PHP_ADMIN_VALUE parameter sent by the front end.
Excerpt from the original source description below.
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 via repopulation of last_fatal_error_backtrace global after shutdown.
A fatal error raised while modified INI settings are restored during request shutdown can repopulate the stored fatal error backtrace after the executor has been cleaned up. The request memory is then freed, and a diagnostic emitted before executor initialization in a later request handled by the same PHP-FPM or mod_php worker can access the stale backtrace. The shutdown error requires per-path configuration of max_memory_limit, or of zlib.output_compression together with output_handler (which .user.ini can also set). The early diagnostic requires Apache per-directory configuration or, for PHP-FPM, a PHP_VALUE or PHP_ADMIN_VALUE parameter sent by the front end. This can cause memory corruption and worker crashes, and may allow remote code execution.
This issue affects PHP versions 8.5.* before 8.5.13.
References
1 sourcesInside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-129182View 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 · 2
Assigning organization
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-129182
Observed 2026-11-20T15:14:25.081Z · upstream updated 2026-11-20T14:30:11.901Z
Prioritization updated
before
[ { "source": "CISA-ADP", "type": "SSVC", "role": "CISA Coordinator", "timestamp": "2026-11-19T00:00:00+00:00", "decisions": [ { "name": "Exploitation", "value": "none" }, { "name": "Automatable", "value": "yes" }, { "name": "Technical Impact", "value": "total" } ] } ]after
[ { "source": "CISA-ADP", "type": "SSVC", "role": "CISA Coordinator", "timestamp": "2026-11-20T04:56:44.173410Z", "decisions": [ { "name": "Exploitation", "value": "none" }, { "name": "Automatable", "value": "yes" }, { "name": "Technical Impact", "value": "total" } ] } ] - CVE · CVE-2026-129182
Observed 2026-11-20T05:58:57.366Z · upstream updated 2026-11-20T04:56:43.318Z
Prioritization updated
before
[ { "source": "CISA-ADP", "type": "SSVC", "role": "CISA Coordinator", "timestamp": "2026-11-19T16:04:31.707809Z", "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": "yes" }, { "name": "Technical Impact", "value": "total" } ] } ] - CVE · CVE-2026-129182
Observed 2026-11-19T17:40:06.029Z · upstream updated 2026-11-19T16:56:40.495Z
Prioritization updated
before
[]
after
[ { "source": "CISA-ADP", "type": "SSVC", "role": "CISA Coordinator", "timestamp": "2026-11-19T16:04:31.707809Z", "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