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

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.cc
  • remoting/host/win/etw_trace_consumer.cc
  • remoting/host/win/etw_trace_controller.cc
  • remoting/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:

  1. Missing Length Check: At line 80, a DWORD (stack_depth) is read directly from mof_data without verifying that event->MofLength >= sizeof(DWORD).
  2. 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-bit size_t. If an attacker sets stack_depth to a crafted value like 0x3FFFFFFE, the result 0x1FFFFFFF0 + 4 (0x1FFFFFFF4) is truncated when assigned to the signed 32-bit int bytes_to_skip, becoming -12 (or 0xFFFFFFF4).
  3. Out-of-Bounds Offset: At line 82, offset += bytes_to_skip;. Since offset is a uint32_t initialized to 0, adding -12 results in offset = 0xFFFFFFF4 due to unsigned wrap-around. There is no bounds check to verify offset <= event->MofLength.
  4. OOB Memory Reads: The code then attempts to read the line number, file name, and message using this massive offset.
    • At line 85, data.line reads 4 bytes from mof_data + 0xFFFFFFF4.
    • At line 92, strnlen_s(file_info, event->MofLength - offset) is called. Since offset is huge, the subtraction underflows to a massive length, neutering the strnlen_s limit.
    • At line 93, base::UTF8ToWide(file_info) is called with a const char*. This implicitly constructs a std::string_view, which calls strlen(file_info), causing a continuous read from the out-of-bounds pointer until a null byte is found.
    • This same unbounded read via strlen occurs at line 101 for data.message.assign(message).

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.

  1. Prerequisite: The target system has CRD installed and host logging enabled via HKLM\SOFTWARE\Google\Chrome Remote Desktop\logging\LogToFile.
  2. An attacker compromises the CRD network process, which runs with a restricted LocalService token.
  3. The attacker uses the network process to generate and send a crafted EVENT_TRACE to the ETW session chrome_remote_desktop_host_logger, specifying the logging::kLogEventId GUID and logging::LOG_MESSAGE_FULL type.
  4. The crafted MofData payload contains a stack_depth chosen to induce truncation and force offset to point to a valid, predictable heap memory region relative to the MofData allocation.
  5. The SYSTEM daemon parses the event, reads out-of-bounds heap memory, and logs it to chrome_remote_desktop_*.log in %ProgramFiles%\Google\Chrome Remote Desktop\<version>\.
  6. The LocalService account has default read permissions for %ProgramFiles%. The attacker reads the log file to extract the leaked SYSTEM heap data.

Suggested Fix

  1. Bounds Checking: Ensure event->MofLength is checked before reading stack_depth.
  2. Safe Arithmetic: Use base::CheckedNumeric or size_t for bytes_to_skip and offset calculations to prevent truncation and wrap-around. Explicitly check that offset <= event->MofLength at each step.
  3. Safe String Handling: Replace the raw pointer manipulation and strnlen_s logic with base::span<const uint8_t>. Use span slicing and bounded string constructors (e.g., passing explicit lengths to std::string and base::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.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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

  1. Ensure CRD is installed and host logging is enabled via the LogToFile registry key.
  2. Compromise the CRD network process running as LocalService.
  3. Send a crafted ETW event to the chrome_remote_desktop_host_logger session with a specific GUID and LOG_MESSAGE_FULL type.
  4. Craft the MofData payload with a stack_depth that causes truncation and points offset to a predictable heap region.
  5. The SYSTEM daemon parses the event, reads out-of-bounds memory, and writes it to a log file in %ProgramFiles%.
  6. 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.

More from Google Chrome

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.