Skip to content
DoS Advisory Intermediate CVE-2026-14084

Insufficient validation of untrusted input in Chromoting (CVE-2026-14084)

A byte-literal filter in Chrome Remote Desktop that rejects XML stanzas containing a DTD can be bypassed by encoding the stanza in UTF-16, because the Expat parser auto-detects the encoding and processes the DTD. A remote, pre-authentication attacker could send a crafted stanza with recursive entity expansion to exhaust CPU and memory in the privileged host or browser process, causing a denial of service.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 48 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: A security check in Chrome Remote Desktop that attempts to block XML stanzas containing DTDs can be bypassed by using UTF-16 encoding. While the filter performs a literal byte-search for the ASCII string <!DOCTYPE, the underlying Expat parser auto-detects UTF-16 encoding and correctly processes the DTD, re-exposing the parser to potential Denial-of-Service attacks.

Affected files:

  • remoting/signaling/signal_strategy.cc
  • third_party/libjingle_xmpp/xmllite/xmlparser.cc
  • remoting/signaling/ftl_signal_strategy.cc
  • remoting/signaling/ftl_messaging_client.cc

Estimated timestamp from git blame: 2026-03-31

Summary

In Chrome Remote Desktop, the SignalStrategy::ParseStanzaXml function implements a security check to reject incoming XML stanzas that contain a Document Type Definition (DTD). This check is intended to protect the privileged host and browser processes from XML-based attacks. However, because the check relies on a simple byte-literal search for the ASCII string <!DOCTYPE, it can be bypassed by encoding the XML payload in UTF-16. The subsequent XML parsing via the Expat library auto-detects the UTF-16 encoding and processes the DTD.

Vulnerability Details

The vulnerability exists in remoting/signaling/signal_strategy.cc at line 28:

C++
if (xml.find("<!DOCTYPE") != std::string::npos) {
  LOG(ERROR) << "Rejecting XML with DTD.";
  return std::nullopt;
}

This check uses std::string::find, which searches for the exact ASCII byte sequence 3C 21 44 4F 43 54 59 50 45.

An attacker can bypass this check by providing a stanza encoded in UTF-16 (e.g., UTF-16LE with a Byte Order Mark). In UTF-16LE, the characters are represented as two-byte sequences, typically with null bytes (e.g., 3C 00 21 00 44 00...). The literal ASCII search will fail to find the <!DOCTYPE string in such a payload.

After passing the filter, the XML is processed by jingle_xmpp::XmlElement::ForStr(xml), which uses XmlParser. In third_party/libjingle_xmpp/xmllite/xmlparser.cc, the Expat parser is initialized with auto-detection enabled:

C++
XmlParser::XmlParser(XmlParseHandler *pxph) : pxph_(pxph), sentError_(false) {
  expat_ = XML_ParserCreate(NULL);
  // ...
}

When XML_ParserCreate is called with NULL, Expat recognizes UTF-16 via the BOM or character patterns and correctly decodes the stream. Since libjingle_xmpp does not register handlers to explicitly block DTD processing (such as XML_SetStartDoctypeDeclHandler), the Expat DTD state machine is fully engaged.

Impact

This bypass re-exposes the Expat DTD state machine to remote, pre-authentication attackers. A malicious peer can send a crafted XML stanza containing an internal entity expansion payload (a 'Billion Laughs' attack), causing the privileged remoting_me2me_host process (on Windows, macOS, and Linux) or the ash-chrome browser process (on ChromeOS) to exhaust CPU and memory resources, leading to a Denial-of-Service.

Potential Reproduction Steps

  1. Identify the FTL signaling ID of a target Chrome Remote Desktop host.
  2. Craft an XMPP stanza encoded in UTF-16LE containing a DTD with recursive entity definitions (Billion Laughs payload), starting with a UTF-16LE BOM (FF FE).
  3. Send this payload to the target host via the FTL signaling service (e.g., using a Google account to call the FTL message:send API).
  4. Observe that the SignalStrategy::ParseStanzaXml check is bypassed on the host, and the Expat parser attempts to process the malicious DTD, potentially resulting in process exhaustion or crash.

Note: These are potential steps based on code analysis; our current environment does not support executing a live proof-of-concept.

Recommended Fix

To structuraly address this issue, DTD processing should be disabled at the parser level rather than relying on string filtering:

  1. Register an XML_SetStartDoctypeDeclHandler in jingle_xmpp::XmlParser that calls XML_StopParser or sets an error state if a DTD is encountered.
  2. Alternatively, pin the Expat encoding to "UTF-8" in XmlParser::XmlParser to prevent auto-detection of UTF-16 and ensure the byte-literal filter remains effective.

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 DTD block is a literal ASCII byte search on the raw string rather than a parser-level restriction, so it fails when the same content is encoded in UTF-16 and auto-detected by Expat.

Impact

A remote, pre-authentication attacker could cause the privileged host process or the browser process to exhaust CPU and memory, leading to a denial of service; the report notes the steps are potential and based on code analysis, with no live proof-of-concept executed.

What the attacker needed

A Google account; target host's FTL signaling ID; network access to FTL signaling service

The fix

DTD processing should be disabled at the parser level, either by registering a start-DTD handler that stops the parser or by pinning Expat to UTF-8 so the byte filter remains effective.

How it was found

  1. Identify the FTL signaling ID of a target Chrome Remote Desktop host.
  2. Craft an XMPP stanza encoded in UTF-16LE containing a DTD with recursive entity definitions, starting with a UTF-16LE BOM.
  3. Send this payload to the target host via the FTL signaling service using a Google account to call the FTL message:send API.
  4. Observe that the SignalStrategy::ParseStanzaXml check is bypassed on the host and the Expat parser attempts to process the malicious DTD.

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.

Chrome Remote Desktop receives small XML messages from other machines. To stay safe, it tries to reject any message that contains a special XML declaration called a DTD, which can be abused to make the parser use huge amounts of memory. The check only looks for the exact plain-text letters, so an attacker can write the same message in a different text encoding (UTF-16) and slip past the check, after which the XML parser happily processes the dangerous declaration.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.