Skip to content
Memory corruption Advisory Advanced CVE-2026-58613

Microsoft Windows Cloud Files Mini Filter Driver CldiStreamCompleteRequest use-after-free vulnerability

The Windows Cloud Files mini-filter driver frees a stream context while a provider request still points at it, then dereferences that freed memory when the request is cancelled. An attacker running a local application could trigger the use-after-free and potentially escalate privileges.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

High 8.8 View original

A use-after-free vulnerability exists in the CldiStreamCompleteRequest functionality of Windows Cloud Files Mini Filter Driver (version(s): 10.0.26100.8457 (WinBuild.160101.0800)). A specially crafted sequence of Cloud Filter API calls can lead to privilege escalation.

Marcin 'Icewall' Noga, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the driver frees the request and, through the last reference being dropped, frees the stream context, then still dereferences the stream context pointer in the same call path.

Impact

A local attacker could trigger the use-after-free and potentially escalate privileges; the text shows a kernel crash and claims possible local privilege escalation.

What the attacker needed

Local access to run an application; ability to act as a cloud sync provider; wait about 60 seconds for the timer

How it was found

  1. Call CfReportProviderProgress or CfReportProviderProgress2 with incomplete progress so a provider request is added to the global timer list.
  2. Terminate the provider process without calling CfDisconnectSyncRoot or CfUnregisterSyncRoot, leaving the request orphaned on the list.
  3. Remove files and placeholders from the sync root so file closes drop the stream context refcount to one.
  4. Wait for the 60-second deadline to expire.
  5. Call CfQueryProgress to trigger the timer walk, which cancels the expired request and reaches CldiStreamCompleteRequest.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A driver is a low-level program that runs with high trust inside the operating system. Here the driver kept a pointer to a chunk of memory after freeing it, then read from that chunk again, which is called a use-after-free. Because the driver runs in the kernel, a local program that triggers this could corrupt memory and gain higher privileges.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Marcin 'Icewall' Noga

View all

146 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.