CVE-2026-45592 — Windows Internet (wininet.dll) Elevation of Privilege Vulnerability
Executive Summary
Integer overflow or wraparound in Windows Internet (wininet.dll) 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 10 Version 1607 for 32-bit Systems | 5094122 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1607 for x64-based Systems | 5094122 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1809 for 32-bit Systems | 5094123 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1809 for x64-based Systems | 5094123 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for 32-bit Systems | 5094127 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for ARM64-based Systems | 5094127 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for x64-based Systems | 5094127 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for 32-bit Systems | 5094127 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for ARM64-based Systems | 5094127 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for x64-based Systems | 5094127 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 23H2 for ARM64-based Systems | 5093998 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 23H2 for x64-based Systems | 5093998 (Security Update) |
Important | Elevation of Privilege | Yes |
| 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 2012 R2 5094041 (Monthly Rollup) 5094006 (IE Cumulative) Important Elevation of Privilege 5087471 5082806 Base: 7.8 Temporal: 6.8 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 6.3.9600.23228 1.000 Yes None Windows Server 2012 R2 (Server Core installation) 5094041 (Monthly Rollup) 5094006 (IE Cumulative) Important Elevation of Privilege 5087471 5082806 Base: 7.8 Temporal: 6.8 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 6.3.9600.23228 1.000 Yes None Windows Server 2016 | 5094122 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2016 (Server Core installation) | 5094122 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2019 | 5094123 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2019 (Server Core installation) | 5094123 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2022 | 5094128 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2022 (Server Core installation) | 5094128 (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 |
|---|---|---|
5094122 |
Security Update | Yes |
5094123 |
Security Update | Yes |
5094127 |
Security Update | Yes |
5093998 |
Security Update | Yes |
5094126 |
Security Update | Yes |
5095051 |
Security Update | Yes |
5094128 |
Security Update | Yes |
5094125 |
Security Update | Yes |
Patch Diff
Integer overflow (CWE-190) leading to a use-after-free (CWE-416) in the Windows WinINet wininet.dll global cache-server reference counting, local EoP. WinINet's global cache server (CCacheServer) is reference-counted via process-global counters g_ulStrongReferences / g_ulWeakReferences; CCacheServer::StrongReferenceGlobalCacheServer / WeakReferenceGlobalCacheServer increment them and Strong/WeakReleaseGlobalCacheServer decrement, freeing the CCacheServer when the strong count reaches 0. PRE: the counters were 32-bit and incremented without an overflow check (g_ulStrongReferences = g_ulStrongReferences + 1), so a caller taking a very large number of references could wrap the 32-bit counter back to 0; a subsequent Release then observes count == 0 and frees the still-referenced CCacheServer - a reference-count overflow yielding a use-after-free of the cache server. Diff of wininet.dll 11.00.26100.8521 -> .8655 (Jun 9 2026, KB5094126) confirms the fix: gated behind CFR flag Feature_3431463225, the reference counters are widened to 64-bit (g_ullStrongReferences / g_ullWeakReferences) and the increment is saturated - if (!feature || count != 0xffffffffffffffff) count = count + 1 - so the count cannot wrap to 0, and access is serialized with AutoCritSec::Lock/Unlock; the release paths use the widened counters, closing the overflow-to-UAF.
Root Cause Analysis
CVE-2026-45592 — Windows WinINet wininet.dll Cache-Server Reference-Count Integer Overflow → Use-After-Free
Summary
| Product | Windows — wininet.dll (WinINet; Internet Extensions for Win32) |
| CVE ID | CVE-2026-45592 |
| Impact | Elevation of Privilege |
| MSRC severity | Important |
| CVSS | 7.0 / 6.1 — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C |
| CWE | CWE-190: Integer Overflow → CWE-416: Use After Free |
| Delivery | Local — driving the WinINet cache-server reference count to overflow |
| KB / Fixed build | KB5094126 — wininet.dll 11.00.26100.8655 (Win11 24H2 x64) |
| Patch Date | June 9, 2026 (2026-Jun) |
| Pre-patch binary | wininet.dll 11.00.26100.8521 — SHA256 ad38732ec46ee9f3ffe7eeabd8cfdcda30473738ed22f15c8220c5ce63a529fd |
| Post-patch binary | wininet.dll 11.00.26100.8655 — SHA256 cf280341b2118571a7021861bab524b3fcc20f83db3d45baf27cec386ee819a1 |
| Feature flag | Feature_3431463225 — the fix is CFR-gated |
| Exploitability | Exploitation Unlikely; not publicly disclosed; not exploited (per MSRC) |
Version note:
wininet.dlluses the IE-heritage version scheme (11.00.26100.x), not10.0.26100.x— the26100.8521 → 26100.8655pair is the May→June 24H2 build (KB5089573 → KB5094126).
Product Description
wininet.dll is the WinINet library. Its global HTTP/URL cache server
(CCacheServer) is reference-counted through process-global counters
(g_ulStrongReferences, g_ulWeakReferences).
CCacheServer::StrongReferenceGlobalCacheServer / WeakReferenceGlobalCacheServer
increment them; StrongReleaseGlobalCacheServer / WeakReleaseGlobalCacheServer
decrement them and free the CCacheServer when the strong count reaches 0.
Vulnerability Summary
Pre-patch, the reference counters were 32-bit and incremented without an
overflow check (g_ulStrongReferences = g_ulStrongReferences + 1). A caller taking
a very large number of references could therefore wrap the 32-bit counter back to
0 (CWE-190). A subsequent Release then observes the count as 0 and frees the
still-referenced CCacheServer, while other references remain outstanding — a
use-after-free of the cache server (CWE-416), exploitable locally for elevation of
privilege (AC:H reflects the effort to drive the overflow / win the resulting
window).
Prerequisites and Constraints
- Local, low-privileged (
PR:L,AV:L);AC:H: repeatedly reference the WinINet global cache server to overflow the 32-bit counter. - Result: a
Releasefrees the cache server while references are still held → UAF.
Vulnerability Details
Root Cause
The cache-server reference counters were 32-bit and incremented unchecked, so the
count could wrap to 0 and a Release would free an object that was still referenced.
The patch (confirmed — diff, .8521 → .8655)
Gated behind Feature_3431463225, the reference counters are widened to 64-bit
(g_ullStrongReferences / g_ullWeakReferences) and the increment is saturated
so it cannot wrap, with the counter access serialized under AutoCritSec:
// CCacheServer::StrongReferenceGlobalCacheServer (11.00.26100.8655) — PATCHED (from the diff)
AutoCritSec::Lock(&lock);
// pre : g_ulStrongReferences = g_ulStrongReferences + 1; // 32-bit, unchecked
if (!Feature_3431463225__private_IsEnabled()
|| g_ullStrongReferences != 0xffffffffffffffff) { // *** saturating, 64-bit ***
g_ullStrongReferences = g_ullStrongReferences + 1;
}
AutoCritSec::Unlock(&lock);
// WeakReferenceGlobalCacheServer — same widening + saturation for g_ullWeakReferences
// Strong/WeakReleaseGlobalCacheServer — decrement the widened g_ull* counters
With 64-bit counters that saturate at their maximum instead of wrapping, the strong count can no longer erroneously reach 0 while references are outstanding, so the cache server is not prematurely freed — closing the overflow-to-use-after-free.
Patch Completeness Assessment
CFR-gated behind Feature_3431463225. The 64-bit saturating reference counting
runs only when the flag is enabled; the original 32-bit unchecked increment still
ships when disabled. Verify Feature_3431463225 is enabled to confirm the fix is
live.
Detection Guidance
Behavioural. Processes taking anomalously large numbers of WinINet cache-server
references; use-after-free / heap-corruption crashes in
wininet!CCacheServer::StrongReleaseGlobalCacheServer /
StrongReferenceGlobalCacheServer on unpatched/flag-disabled builds.
Config. The fix is CFR-gated — confirm Feature_3431463225 is enabled.
References
- MSRC advisory — CVE-2026-45592 (Windows WinINet Elevation of Privilege), released 2026-06-09, KB5094126.
- Full binary diff:
/data/patch_diffs/wininet_dll-cve-2026-45592-ghidriff.md
Attack Path
Overflowing the WinINet cache-server reference count wraps it to 0, freeing the still-referenced server
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.
Exploits & PoC
Detection Rules
Acknowledgments
anonymous