PHP Vulnerability CVE-2026-109618 Scores 9.8 at NVD and 9.2 at PHP Itself. Which Counts?
On October 21, 2026, the PHP project published two security advisories, CVE-2026-109618 and CVE-2026-109619, and named PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12 as the patched releases. If a web server runs an earlier release in one of those four branches, both National Vulnerability Database (NVD) records list it as affected, and both advisories describe unauthenticated remote code execution. What changes for anyone triaging this PHP vulnerability is which number the dashboard shows: by the evening of October 21, CVE-2026-109618 carried a 9.2 from PHP and a 9.8 from NVD, while its twin, CVE-2026-109619, carried no NVD score at all.
Both numbers sit in the Critical band, so the patch decision does not hinge on which one is right. The ranking decision can. A tool that reads only the score NVD labels Primary sees 9.8 on one CVE and nothing on the other, even though the same four releases fix both and PHP rates both at 9.2. News coverage calls the pair php2shell, a label that also appears in the address of a third-party write-up linked from both NVD records.
What the Two Records Show
The PHP security advisory GHSA-w8hw-w9fx-j79w (CVE-2026-109618) is titled RCE via OOM corruption. The NVD record for CVE-2026-109618 opens with the mechanism: “PHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort handling of the request.” If memory runs out while request data is only partly set up, that early exit can leave memory in an invalid state, which the shutdown code may read later. The advisory states the result plainly: “The confirmed impact is unauthenticated remote code execution as the web worker account.”
The PHP security advisory GHSA-6wmf-4rv5-p3rp (CVE-2026-109619) is titled RCE via stale global state. The NVD record for CVE-2026-109619 begins: “PHP has various global state that temporarily points into request memory.” The advisory spells out what that state is: “PHP contains various global state, such as error, session, object and extension state that is retained by a worker but points to memory owned by one request.” A worker process serves request after request, so a pointer left over from one request can be used by the next. The stated impact goes past code execution: “The confirmed impact is unauthenticated heap use-after-free, memory disclosure and remote code execution with the web worker's privileges.”
Read side by side, the records agree on the fix and differ on almost every severity field. The patched list in both advisories is the same four releases, and neither record lists a patched release for 8.1 or any older branch.
| Field (as read late on October 21, 2026) | CVE-2026-109618 | CVE-2026-109619 |
|---|---|---|
| PHP score, CVSS v4.0 | 9.2, Critical | 9.2, Critical |
| NVD score, CVSS v3.1 | 9.8, Critical | none in the record |
| NVD label on the PHP score | Secondary | Secondary |
| NVD record status | Modified | Received |
| CISA Coordinator SSVC entry | exploitation none, automatable no, technical impact total | exploitation none, automatable no, technical impact total |
| Known Exploited Vulnerabilities fields | absent | absent |
| Weakness IDs | five on GitHub, four on NVD | five on GitHub, four on NVD |
Two rows do most of the damage in practice. First, NVD files the score written by the software's own maintainer, submitted through security@php.net, as Secondary, and its own score as Primary. A dashboard configured to show the Primary score displays 9.8 for CVE-2026-109618 and an empty cell for CVE-2026-109619. Second, the weakness lists differ by one entry. Both GitHub advisories list CWE-416, CWE-755, CWE-824, CWE-1325 and CWE-1419; both NVD records show the first four. A filter built on CWE-1419 finds the advisories and misses the records.
Why One Bug Scores 9.2 and 9.8
The two vectors explain the gap. PHP's vector, as both advisories display it, is 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. NVD's vector for CVE-2026-109618 is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. On reach and damage they match: a network attack vector, no privileges required, no user interaction, and High for confidentiality, integrity and availability. They split on how hard the attack is.
PHP set Attack Complexity to High. In the FIRST CVSS v4.0 Specification Document, that value applies when “The successful attack depends on the evasion or circumvention of security-enhancing techniques in place” on the target, such as exploit mitigations to evade or a target-specific secret to obtain. PHP also set Attack Requirements to Present, a version 4.0 metric that the 3.1 vector lacks, for cases where “The successful attack depends on the presence of specific deployment and execution conditions” on the target. NVD scored under version 3.1, which has no Attack Requirements metric at all, and set Attack Complexity to Low. The record carries the vector, not the analyst's reasoning. Still, the 0.6-point gap is a disagreement about difficulty, recorded in two different scoring systems, and not a disagreement about consequences.
The advisory text gives some support to each reading. On the easy side, the first advisory reports: “Complete remote code execution was validated over HTTP against mod_php with default PHP input and memory limits and normal prefork configurations with multiple workers.” Default limits and a normal configuration read closer to Low than to High. On the hard side, the same advisory says source analysis supports FPM as susceptible, though “no complete FPM exploit has been demonstrated for this SAPI.” The second advisory ties FPM exposure to the front-end setup on one path and to the application on another. Conditional exposure is what Present describes.
Both numbers land in the same place on FIRST's Qualitative Severity Rating Scale, where Critical runs from 9.0 to 10.0 and High from 7.0 to 8.9. That is why the split rarely changes a yes-or-no patch decision. It can still change sorting, deduplication and deadline rules in tools that key on a single number. An earlier Failure Mode piece traced the same shape in weather data, when one agency publishes two heat numbers and the difference is in the inputs. Here the inputs are two scoring systems and two judgments about difficulty.
What the 9.2 Already Assumes
The NVD copy of PHP's vector for CVE-2026-109618 is longer than the one on GitHub. It appends every optional metric with the value X, starting with E:X, Exploit Maturity, Not Defined. FIRST defines that value as the state in which “Reliable threat intelligence is not available to determine Exploit Maturity characteristics.” The calculation does not treat that gap as good news. The specification says Not Defined “is equivalent to Attacked (A) for the purposes of the calculation of the score,” so the 9.2 is already computed as if attacks were under way.
If reports of exploitation pile up, PHP's 9.2 has no room to climb on that account, because the worst case is already in it. Only an organization that sets Exploit Maturity from its own threat intelligence would see the number move, and from the worst case it can only hold or fall. FIRST names this layering. A score built from Base metrics alone is labeled CVSS-B, and “Consumers of CVSS should enrich the Base metrics with Threat and Environmental metric values” drawn from their own systems. The 9.2 and the 9.8 are both base scores in that sense. Neither knows which interface a given server uses or what sits in front of it.
The same NVD records carry a second, separate signal. An entry from the role CISA Coordinator, in SSVC format version 2.0.3, records exploitation as none, automatable as no and technical impact as total. On CVE-2026-109619 that entry is stamped 14:34 UTC on October 21, about 17 minutes after the record was published at 14:17 UTC. One record therefore holds a score computed as if exploitation were happening and a categorization stating that exploitation was none at that moment. Both can be accurate: one is a calculation rule, the other a timestamped observation. When the records were read late on October 21, neither carried the Known Exploited Vulnerabilities fields for a date added or an action due date.
The Chain
Between the advisory and a patched server, the severity number passes through several hands, and each can change what the next one sees. As the two NVD records lay it out on October 21, 2026, in UTC:
- Advisories. PHP publishes both advisories on GitHub, each with a CVSS v4.0 score of 9.2 and the same four patched releases.
- 14:17. NVD publishes both records, sourced to security@php.net. As read later that day, each carries PHP's 9.2 labeled Secondary.
- 14:34. The CISA Coordinator SSVC entry on CVE-2026-109619 records exploitation as none.
- 15:17. CVE-2026-109619 is last modified, about an hour after publication. It still reads Received, with no NVD score.
- 17:18. CVE-2026-109618 is last modified, about three hours after publication. Read that evening, it shows Modified and carries NVD's 9.8, labeled Primary.
- Downstream. Scanners and ticket queues pull one of those numbers, by whatever rule they were configured with, and assign a deadline.
- On the server. The fix is a version number. Each stopgap covers one path.
The failure this chain can produce is quiet. A queue sorted by NVD's Primary score puts CVE-2026-109618 at 9.8 and CVE-2026-109619 in a blank cell. A blank is not a low score, but a sorting rule can treat it as one. Because the two CVEs share their patched releases, a team that upgrades for the first fixes the second at the same moment. The exposure sits with a team that cannot upgrade yet and applies a stopgap for one flaw only, because the stopgaps are different settings. The gap between an event and its official record is the same lag an earlier piece traced in outbreak detection and the records rule that follows it; here it is measured in hours rather than weeks.
Which Servers the Advisories Describe
Both advisories walk through PHP's server interfaces, and the wording differs by flaw. For CVE-2026-109618, the out-of-memory flaw, Apache mod_php was validated end to end with default limits. FPM, FrankenPHP and LSAPI were assessed from source analysis, and on LSAPI the advisory writes: “LSAPI models FPM, with application-specific exploits being likely but unvalidated.”
For CVE-2026-109619, the stale-state flaw, the fatal backtrace path is described as the strongest demonstrated case: “The fatal backtrace path has confirmed RCE against mod_php.” The advisory also reports that session lifecycle code execution was validated against mod_php and FPM, the FPM case depending on a suitable application operation. For FPM it sets a condition: “FPM is conditionally exposed when nginx, Apache mod_proxy_fcgi or another frontend sends PHP_VALUE/PHP_ADMIN_VALUE parameters that produce a diagnostic before request initialization.” On LSAPI: “LSAPI can apply special environment INI values early and is a conditional candidate.” On FrankenPHP: “An equivalent early configuration consumer was not established in the default configuration of FrankenPHP.”
The caveat that FPM was not demonstrated end to end belongs to the first flaw, not the second. A reader who skims one advisory and carries its FPM caveat over to both has it backward for the session lifecycle path. The second advisory also explains that “Some input, configuration, session and error handling operations run before normal initialization of the next request.” Checks written inside an application run after that initialization, so they cannot be relied on to see the dangerous step first.
Stopgaps and Their Stated Limits
Both advisories list interim settings for servers that cannot upgrade at once, and both attach a limit to each. For the out-of-memory flaw, the advisory calls setting and enforcing memory_limit=-1 administratively the primary configuration mitigation, then adds: “This is not a complete mitigation.” The reason it gives is that if mmap() or another allocation fails underneath, PHP can still take the vulnerable exit. For a substitute memory cap, the advisory rules out the most familiar one: “Do not use RLIMIT_AS or RLIMIT_DATA as these will cause mmap() to fail once the memory limit is reached, triggering the vulnerable longjmp() path.” The alternative it offers is narrower: “A container or cgroup memory limit (memory.max) may provide an alternative to PHP's own memory_limit with some limitations.” For applications that do not accept multipart form data, it suggests: “If the application does not use multipart form data, block such requests at the frontend before they reach PHP.”
For the stale-state flaw, the settings are different and each covers one path. “For the session lifecycle case, set session.upload_progress.enabled=0 administratively and restart every worker.” The limit follows: “It does not mitigate the other lifecycle paths.” On the newest branch: “For PHP 8.5 installations that cannot update, set fatal_error_backtraces=0 administratively and restart every worker.” And its limit: “It does not cover other request-owned global or extension state.” The restart is part of the instruction, not an afterthought; the flaw lives in state that a running worker keeps.
The closing sentences of the two advisories use different words for the same conclusion. The first: “Updating to a PHP release containing the patch to this vulnerability is the only complete mitigation.” The second: “Updating to a release containing the complete state reset patch is the only reliable mitigation.” The one fix for both flaws is a release at or above 8.2.35, 8.3.36, 8.4.27 or 8.5.12 in its branch.
Where This Doesn't Apply
Branches below 8.2. The patched lists in both advisories start at 8.2.35, and the PHP-supplied ranges in both NVD records run branch by branch from 8.2 through 8.5. The GitHub pages show bare upper bounds, such as below 8.2.35, and NVD's own product configuration on CVE-2026-109618 opens its first range with no lower bound, up to but excluding 8.2.35. A scanner matching on it can flag an 8.1 or older host as affected, while neither record names a fixed release below 8.2. The question goes to whoever builds that host's PHP.
Vendor-built packages. The version ranges in both records describe php-src releases. A package built by an operating-system vendor or a hosting provider carries that vendor's version string, so a match against 8.4.27 is a proxy for the fix, not proof of it.
FrankenPHP and the second flaw. The early configuration path behind the second flaw was not established for FrankenPHP's default configuration. That narrows one path for one flaw. FrankenPHP still sits among the interfaces assessed for the first flaw.
Command-line scripts. Both confirmed impacts are stated in terms of the web worker. Scripts that run only from the command line fall outside the cases the advisories validated.
What Would Invalidate This
Every status above is a snapshot taken late on October 21, 2026. If NVD assigns its own score to CVE-2026-109619, the blank cell disappears and the ranking problem shrinks. If NVD revises the 9.8, or PHP revises the 9.2, the gap changes. If the CISA Coordinator entry moves off exploitation none, or the Known Exploited Vulnerabilities fields appear on either record, the second signal in this piece changes even though the 9.2 cannot rise on that account. The advisories were read as exact excerpts and structured fields rather than as complete pages, so a qualification elsewhere in their text could narrow a statement made here. PHP's own release announcements, vendor package trackers and the CISA catalog page itself were not checked; the Known Exploited Vulnerabilities status comes from the fields in the two NVD records.
Comments
Post a Comment