CVE-2026-42910 — Windows Hotpatch Monitoring Service Elevation of Privilege Vulnerability
Executive Summary
Out-of-bounds write in Windows Hotpatch Monitoring Service allows an authorized attacker to elevate privileges locally.
Overview
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
EPSS Score
Affected Products
| Product | KB Article | Severity | Impact | Restart Required |
|---|---|---|---|---|
| Windows 11 Version 24H2 for ARM64-based Systems | 5094126 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 24H2 for x64-based Systems | 5094126 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 25H2 for ARM64-based Systems | 5094126 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 25H2 for x64-based Systems | 5094126 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 26H1 for ARM64-based Systems | 5095051 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 version 26H1 for x64-based Systems | 5095051 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2025 | 5094125 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2025 (Server Core installation) | 5094125 (Security Update) |
Important | Elevation of Privilege | Yes |
Patches
| Article | Type | Restart |
|---|---|---|
5094126 |
Security Update | Yes |
5095051 |
Security Update | Yes |
5094125 |
Security Update | Yes |
Patch Diff
Out-of-bounds write (CWE-787) in the Windows Hotpatch Monitoring Service hpatchmon.dll ETW event-callback string handling, local EoP to SYSTEM. The Hotpatch Monitoring Service consumes an ETW autologger trace; autologgerProcessor::AutologgerProcessEventCallback and TraceUtil::ProcessEventCallback parse each event's user data (including WCHAR strings) into local buffers/std::wstring. PRE: the callbacks constructed strings from the event-data pointer with an unbounded std::basic_string construction that did not correctly respect the event-data length, so a crafted/oversized trace event drove an out-of-bounds write while copying the string data into the service's buffers. Because the service runs as SYSTEM and the event data is attacker-influenceable, the OOB write is a local EoP-to-SYSTEM primitive. Diff of hpatchmon.dll 10.0.26100.8521 -> .8655 (Jun 9 2026, KB5094126) confirms the fix: gated behind CFR flag Feature_1648861496, both event callbacks now build the strings via a bounded std::basic_string::_Construct<1, unsigned_short const*> (explicit-length construction) with the local string pointers pre-initialized, so the copy is bounded to the actual data length, closing the out-of-bounds write. Note: the callbacks are confirmed code-changed under Feature_1648861496 with the bounded-construction rework; the exact overflowing write is entangled in the string-handling refactor and is stated at confirmed-changed level per the CWE-787 classification.
Root Cause Analysis
CVE-2026-42910 — Windows Hotpatch Monitoring Service hpatchmon.dll Unbounded Event-String Construction in the ETW Callbacks → Out-of-Bounds Write
Summary
| Product | Windows — hpatchmon.dll (Hotpatch Monitoring Service) |
| CVE ID | CVE-2026-42910 |
| Impact | Elevation of Privilege (to SYSTEM) |
| MSRC severity | Important |
| CVSS | 7.8 / 6.8 — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C |
| CWE | CWE-787: Out-of-bounds Write |
| Delivery | Local — a crafted ETW autologger trace event consumed by the service |
| KB / Fixed build | KB5094126 — hpatchmon.dll 10.0.26100.8655 (Win11 24H2 x64) |
| Patch Date | June 9, 2026 (2026-Jun) |
| Pre-patch binary | hpatchmon.dll 10.0.26100.8521 — SHA256 ed153cdb035b2a12773dfc079e9e4d609da116fbd1898b0ee9cd8949f16cfcee |
| Post-patch binary | hpatchmon.dll 10.0.26100.8655 — SHA256 501b504c570e6f1c5192559255d10bd57a19fefee73eb8b9f08ffb089213a869 |
| Feature flag | Feature_1648861496 — the fix is CFR-gated |
| Exploitability | Exploitation Less Likely; not publicly disclosed; not exploited (per MSRC) |
Product Description
hpatchmon.dll implements the Hotpatch Monitoring Service, which runs as SYSTEM
and consumes an ETW autologger trace to observe hotpatch activity.
autologgerProcessor::AutologgerProcessEventCallback and
TraceUtil::ProcessEventCallback are invoked per ETW event and parse the event’s
user data — including WCHAR strings — into local buffers / std::wstring.
Vulnerability Summary
Pre-patch, these callbacks constructed strings from the ETW event-data pointer using
an unbounded std::basic_string construction that did not correctly respect the
event-data length. A crafted or oversized trace event therefore drove a copy past
the destination buffer — an out-of-bounds write (CWE-787) in the SYSTEM service.
Because the event data is attacker-influenceable and the service runs as SYSTEM, the
OOB write is a local elevation-of-privilege primitive to SYSTEM (per the MSRC FAQ).
Confirmation: the event callbacks are confirmed code-changed under
Feature_1648861496with the bounded-construction rework below; the exact overflowing write is entangled in the string-handling refactor, so it is stated at confirmed-changed level, consistent with the CWE-787 classification.
Prerequisites and Constraints
- Local, low-privileged (
PR:L,AV:L,AC:L): influence an ETW autologger trace event that the Hotpatch Monitoring Service consumes. - Craft the event’s string user data so its length exceeds the destination buffer.
- Result: an out-of-bounds write inside the SYSTEM service.
Vulnerability Details
Root Cause
The ETW event callbacks built std::wstring values from event-data pointers without
bounding the copy to the actual event-data length, so an over-long event string
overwrote adjacent memory.
The patch (confirmed — diff, .8521 → .8655)
Gated behind Feature_1648861496, both callbacks now build the strings via a
bounded, explicit-length construction — std::basic_string::_Construct<1, unsigned_short const*> — with the local string pointers pre-initialized, so the copy
is limited to the real data length:
// AutologgerProcessEventCallback / ProcessEventCallback (10.0.26100.8655) — PATCHED (from our diff)
// pre : basic_string<WCHAR>::basic_string(<event-data ptr>) // unbounded construction
// post (Feature_1648861496):
local_c8 = (wchar_t *)0x0;
std::basic_string<WCHAR>::_Construct<1, unsigned short const *>(...); // explicit-length, bounded
With the bounded _Construct, the string copy no longer runs past the destination,
closing the out-of-bounds write.
Patch Completeness Assessment
CFR-gated behind Feature_1648861496. The bounded construction runs only when
the flag is enabled; the original unbounded construction still ships when disabled.
Verify Feature_1648861496 is enabled to confirm the fix is live.
Detection Guidance
Behavioural. ETW autologger events with oversized/malformed string fields
consumed by the Hotpatch Monitoring Service; OOB-write / heap-corruption crashes in
hpatchmon!autologgerProcessor::AutologgerProcessEventCallback /
TraceUtil::ProcessEventCallback on unpatched/flag-disabled builds.
Config. The fix is CFR-gated — confirm Feature_1648861496 is enabled.
References
- MSRC advisory — CVE-2026-42910 (Windows Hotpatch Monitoring Service Elevation of Privilege), released 2026-06-09, KB5094126.
- Full binary diff:
/data/patch_diffs/hpatchmon_dll-cve-2026-42910-ghidriff.md
Attack Path
A crafted ETW autologger event drives an unbounded string copy in the SYSTEM Hotpatch Monitoring Service, writing out of bounds
Derived from the patch delta: the checks added by the vendor identify which fields crossed a trust boundary unvalidated. Reachability and privilege are taken from the call chain in the RCA report.