Skip to content
Memory corruption Write-up Advanced

CVE-2025–60709: Out-of-Bounds Read in Windows CLFS

An out-of-bounds read in the Windows CLFS kernel driver's ClfsGetFirstRecord function allows a local attacker with low privileges to read beyond a buffer by manipulating a record offset. This could leak kernel memory and potentially be chained with other bugs to escalate privileges to SYSTEM.

medium.com

Published on medium.com

Over the past few years, Microsoft’s Common Log File System (CLFS) has quietly become one of the most targeted components inside the Windows kernel. Once considered an obscure logging subsystem, CLFS is now linked to dozens of high-impact privilege escalation vulnerabilities, several of which have been actively…

Eugene Peh, on medium.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely an insufficient bounds check in ClfsGetFirstRecord that allows a record offset to point beyond the buffer when the offset is between the buffer size and buffer size plus 0x28.

Impact

This could leak sensitive kernel memory or adjacent heap structures, and may enable further exploits like arbitrary read/write primitives, potentially leading to local privilege escalation.

What the attacker needed

Low privileges on Windows; ability to craft malformed CLFS log files

The fix

The patch adds stricter bounds checks, including a feature flag that enforces additional conditions before returning the record pointer.

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 write-up has not been written yet. The Original tab links to the source.

CLFS is a Windows component that manages logs. A bug in its code lets a user with normal access read memory outside the intended area, which could expose sensitive data or help an attacker gain higher control of the computer.

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.

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.