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

Out of bounds read in Chromoting (CVE-2026-12444)

The Chrome Remote Desktop host process on Windows reads clipboard text without a null terminator, causing an out-of-bounds heap read. A local medium-integrity process can leak SYSTEM-privileged memory to a remote client via clipboard synchronisation.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 34 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: An unbounded memory read in the Chrome Remote Desktop host process allows a local medium-integrity process to exfiltrate SYSTEM-privileged heap memory. This occurs when malformed clipboard data is synchronized to a remote client, bypassing Windows integrity boundaries.

Affected files:

  • remoting/host/clipboard_win.cc

Estimated timestamp from git blame: 2012-05-16

Summary

A potential heap out-of-bounds (OOB) read exists in the Chrome Remote Desktop (CRD) host process on Windows (remoting_desktop.exe). The vulnerability allows a local attacker running with medium integrity to leak sensitive memory from the SYSTEM-privileged host process and exfiltrate it to a remote endpoint via the clipboard synchronization channel.

Root Cause Analysis

In remoting/host/clipboard_win.cc, the remoting::ClipboardWin::OnClipboardUpdate() function handles clipboard changes. When CF_UNICODETEXT data is available, the code retrieves it and assigns it to a std::wstring using an unsafe assignment pattern:

C++
// remoting/host/clipboard_win.cc:234
text.assign(text_lock.data());

The assign(const wchar_t*) overload relies on wcslen() to determine the length of the input. wcslen() continues reading memory until it encounters a null terminator (0x0000). Because clipboard data originates from other processes, it is inherently untrusted and is not guaranteed to be null-terminated.

If a malicious process places a buffer on the clipboard without a null terminator, remoting_desktop.exe will read past the end of the allocated buffer and into adjacent heap memory. This leaked data is then converted to UTF-8 and transmitted to the remote client as part of a protocol::ClipboardEvent:

C++
// remoting/host/clipboard_win.cc:239-242
event.set_data(ReplaceCrLfByLf(base::WideToUTF8(text)));
if (client_clipboard_.get()) {
  client_clipboard_->InjectClipboardEvent(event);
}

Impact and Privilege Context

On Windows, remoting_desktop.exe typically runs as the SYSTEM user to facilitate desktop integration and interaction with elevated UI elements (using the uiAccess privilege). By triggering this OOB read, a standard user (medium integrity) can leak SYSTEM heap memory. This memory may contain sensitive information, such as session data, Mojo handles, or screen-capture buffers.

Potential Reproduction Steps

  1. Establish a Chrome Remote Desktop connection to a Windows host.
  2. From a standard user process on the host, call ::SetClipboardData(CF_UNICODETEXT, hMem) using a memory handle that contains a string without a null terminator (e.g., a 2-byte HGLOBAL containing a single WCHAR).
  3. Observe the clipboard content received by the remote CRD client. The received text is expected to contain the original character followed by leaked heap memory from the remoting_desktop.exe process.

Suggested Fix

The code should use the known size of the HGLOBAL allocation to bound the string assignment, rather than relying on null termination. This follows the safe pattern already used in ui/base/clipboard/clipboard_win.cc:

C++
// Suggested fix for remoting/host/clipboard_win.cc
text.assign(text_lock.data(), text_lock.size() / sizeof(WCHAR));
// Optionally trim after the first null terminator if the intent is to stop there
size_t null_pos = text.find(L'\0');
if (null_pos != std::wstring::npos) {
  text.resize(null_pos);
}

Evaluated with Chrome root at commit: b3153093eb3c78c3e88ccf562bcbc20437a04b0e


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

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

The code uses a string assignment that relies on null termination instead of the known size of the clipboard buffer.

Impact

A local medium-integrity process could leak SYSTEM-privileged heap memory, potentially containing sensitive data, to a remote client.

What the attacker needed

Chrome Remote Desktop host on Windows; Local medium-integrity process; Remote client connection

The fix

The code should use the known size of the HGLOBAL allocation to bound the string assignment instead of relying on null termination.

How it was found

  1. Establish a Chrome Remote Desktop connection to a Windows host.
  2. From a standard user process, place clipboard text without a null terminator using SetClipboardData.
  3. Observe the clipboard content received by the remote client for leaked heap memory.

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.

When a program copies text from the clipboard, it usually expects the text to end with a special zero character. If that zero is missing, the program keeps reading past the end of the text into other memory. Here, a normal user process can put such text on the clipboard, and the remote desktop service running with high privileges reads too far and sends the extra memory to the remote viewer.

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.