Integer overflow in Chromoting (CVE-2026-11281)
An integer truncation bug in the Chrome Remote Desktop daemon on Windows allows a malicious ETW event to cause an out-of-bounds heap read, leaking memory into log files. A compromised low-privilege process could read these logs to bypass ASLR.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 52 days
Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports without the Chrome Security team.
Overview: The Chrome Remote Desktop (CRD) daemon on Windows contains a potential out-of-bounds heap read vulnerability when parsing Event Tracing for Windows (ETW) logs. An integer truncation bug in EventTraceData::Create allows a malicious ETW event to specify an out-of-bounds read offset, leading to heap memory leakage into CRD log files. A compromised low-privilege CRD process could exploit this to bypass ASLR by reading the generated logs.
Affected files:
remoting/host/win/event_trace_data.ccremoting/host/win/etw_trace_consumer.ccremoting/host/win/etw_trace_controller.ccremoting/host/daemon_process_win.cc
Estimated timestamp from git blame: 2025-11-16
Vulnerability Overview
The Chrome Remote Desktop (CRD) SYSTEM daemon (remoting_host.exe) on Windows is potentially vulnerable to an out-of-bounds (OOB) heap read. The issue resides in EventTraceData::Create when parsing LOG_MESSAGE_FULL ETW events. Missing bounds checks and an integer truncation vulnerability allow an attacker-controlled stack_depth value to generate a massive, out-of-bounds offset. Subsequent string operations then read arbitrary heap memory until a null byte is encountered.
If host logging is enabled (e.g., via the LogToFile registry key), this leaked memory is written to log files located in %ProgramFiles%. Because a compromised CRD network process running under LocalService has both the ability to inject ETW events and read files in %ProgramFiles%, this creates a SYSTEM-to-LocalService information leak, which can be used to defeat Address Space Layout Randomization (ASLR).
Technical Details
When the CRD daemon receives an ETW event, EtwTraceConsumerImpl::Core::DispatchEvent calls EventTraceData::Create(event) (remoting/host/win/event_trace_data.cc:54). If the event type is logging::LOG_MESSAGE_FULL, the MofData buffer is parsed:
- Missing Length Check: At line 80, a
DWORD(stack_depth) is read directly frommof_datawithout verifying thatevent->MofLength >= sizeof(DWORD). - Integer Truncation: At line 81,
int bytes_to_skip = sizeof(DWORD) + stack_depth * sizeof(intptr_t);is calculated. On a 64-bit system,sizeof(intptr_t)is 8. The multiplication evaluates as a 64-bitsize_t. If an attacker setsstack_depthto a crafted value like0x3FFFFFFE, the result0x1FFFFFFF0 + 4(0x1FFFFFFF4) is truncated when assigned to the signed 32-bitint bytes_to_skip, becoming-12(or0xFFFFFFF4). - Out-of-Bounds Offset: At line 82,
offset += bytes_to_skip;. Sinceoffsetis auint32_tinitialized to 0, adding-12results inoffset = 0xFFFFFFF4due to unsigned wrap-around. There is no bounds check to verifyoffset <= event->MofLength. - OOB Memory Reads: The code then attempts to read the line number, file name, and message using this massive offset.
- At line 85,
data.linereads 4 bytes frommof_data + 0xFFFFFFF4. - At line 92,
strnlen_s(file_info, event->MofLength - offset)is called. Sinceoffsetis huge, the subtraction underflows to a massive length, neutering thestrnlen_slimit. - At line 93,
base::UTF8ToWide(file_info)is called with aconst char*. This implicitly constructs astd::string_view, which callsstrlen(file_info), causing a continuous read from the out-of-bounds pointer until a null byte is found. - This same unbounded read via
strlenoccurs at line 101 fordata.message.assign(message).
- At line 85,
Potential Attack Scenario
These steps outline how an attacker might theoretically trigger the vulnerability. Note that these steps have not been verified with a functional proof-of-concept.
- Prerequisite: The target system has CRD installed and host logging enabled via
HKLM\SOFTWARE\Google\Chrome Remote Desktop\logging\LogToFile. - An attacker compromises the CRD network process, which runs with a restricted
LocalServicetoken. - The attacker uses the network process to generate and send a crafted
EVENT_TRACEto the ETW sessionchrome_remote_desktop_host_logger, specifying thelogging::kLogEventIdGUID andlogging::LOG_MESSAGE_FULLtype. - The crafted
MofDatapayload contains astack_depthchosen to induce truncation and forceoffsetto point to a valid, predictable heap memory region relative to theMofDataallocation. - The SYSTEM daemon parses the event, reads out-of-bounds heap memory, and logs it to
chrome_remote_desktop_*.login%ProgramFiles%\Google\Chrome Remote Desktop\<version>\. - The
LocalServiceaccount has default read permissions for%ProgramFiles%. The attacker reads the log file to extract the leaked SYSTEM heap data.
Suggested Fix
- Bounds Checking: Ensure
event->MofLengthis checked before readingstack_depth. - Safe Arithmetic: Use
base::CheckedNumericorsize_tforbytes_to_skipandoffsetcalculations to prevent truncation and wrap-around. Explicitly check thatoffset <= event->MofLengthat each step. - Safe String Handling: Replace the raw pointer manipulation and
strnlen_slogic withbase::span<const uint8_t>. Use span slicing and bounded string constructors (e.g., passing explicit lengths tostd::stringandbase::UTF8ToWide) instead of relying on null-termination.
Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b
Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.
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 missing bounds checks and integer truncation when calculating an offset from an attacker-controlled stack_depth value, leading to an out-of-bounds read.
Impact
A compromised low-privilege CRD process could read leaked SYSTEM heap memory from log files, potentially bypassing ASLR; the attack requires host logging to be enabled and the steps have not been verified with a functional proof-of-concept.
What the attacker needed
CRD installed on Windows; Host logging enabled via registry; Attacker compromises LocalService process; Attacker can send ETW events
The fix
The report suggests adding bounds checks, using safe arithmetic types, and replacing raw pointer manipulation with bounded string handling; it does not state that a fix was applied.
How it was found
- Ensure CRD is installed and host logging is enabled via the LogToFile registry key.
- Compromise the CRD network process running as LocalService.
- Send a crafted ETW event to the chrome_remote_desktop_host_logger session with a specific GUID and LOG_MESSAGE_FULL type.
- Craft the MofData payload with a stack_depth that causes truncation and points offset to a predictable heap region.
- The SYSTEM daemon parses the event, reads out-of-bounds memory, and writes it to a log file in %ProgramFiles%.
- Read the log file as LocalService to extract leaked SYSTEM heap data.
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 program that runs with high privileges reads a number from an event without checking its size. That number is used to calculate where to read memory, but a maths error makes it point far outside the intended buffer, so the program reads and logs other memory. A lower-privileged attacker who can send such events and read the logs can learn where things are in memory, making other attacks easier.
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.