Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-101201 Overview
CVE-2026-101201 is an out-of-bounds read vulnerability in the Qt framework's QBinaryJson::fromBinaryData() function. A malformed header in the binary file passed to this function triggers undefined behavior due to reading memory beyond allocated bounds. The flaw resides in the qt5compat module, which provides backwards-compatible APIs for applications migrating from Qt 5 to Qt 6.
An attacker who can supply a crafted binary JSON file to an affected application can cause the parser to read past buffer boundaries. This leads to undefined behavior, which typically manifests as application crashes or potential information disclosure. The weakness is tracked as [CWE-125: Out-of-Bounds Read].
Critical Impact
Processing a malformed binary JSON file can cause undefined behavior in Qt applications, impacting availability and potentially exposing adjacent memory contents.
Affected Products
- Qt qt5compat module containing QBinaryJson::fromBinaryData()
- Applications linking against the affected Qt compatibility library
- Qt-based software that deserializes untrusted binary JSON input
Discovery Timeline
- 2026-10-20 - CVE-2026-101201 published to NVD
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-101201
Vulnerability Analysis
The vulnerability resides in QBinaryJson::fromBinaryData(), a function that deserializes binary-format JSON data into Qt JSON document objects. The function reads a header structure from the input buffer before iterating through tagged value entries. When the header contains malformed size or offset fields, the parser trusts those values and dereferences pointers outside the actual buffer.
The root issue is insufficient validation of header-declared sizes against the real input length. Because the parser uses untrusted length values to compute memory offsets, subsequent reads can traverse memory beyond the mapped buffer. This matches the classification [CWE-125: Out-of-Bounds Read].
The impact is primarily availability. Undefined behavior from out-of-bounds reads commonly produces segmentation faults or process termination. Depending on the memory layout, adjacent data may also be returned to the caller as parsed JSON content, enabling limited information disclosure.
Root Cause
The root cause is missing bounds validation on fields within the binary JSON header. The fromBinaryData() parser accepts attacker-controlled length and offset values without reconciling them against the input buffer size. Qt upstream addressed the issue through code review changes in the qt5compat repository.
Attack Vector
Exploitation requires local delivery of a crafted binary JSON file and user interaction to open or load that file. The attacker does not need prior authentication. The attack surface is limited to applications that call QBinaryJson::fromBinaryData() on untrusted input, such as document viewers, configuration loaders, or IPC handlers using binary JSON payloads.
No public proof-of-concept exploit is listed, and the CVE is not catalogued in CISA KEV. Technical details are available in the Qt Code Review for Compatibility Update, Qt Code Review for Compatibility Improvement, and the Qt Vulnerability List - CVE-2026-101201.
Detection Methods for CVE-2026-101201
Indicators of Compromise
- Unexpected crashes or segmentation faults in Qt-based applications shortly after opening a binary JSON file
- Core dumps referencing QBinaryJson::fromBinaryData or the qt5compat module in the stack trace
- Delivery of binary JSON files from untrusted sources through email, downloads, or shared storage
Detection Strategies
- Perform static analysis of application dependencies to identify builds linking the vulnerable qt5compat module
- Monitor process termination events on endpoints running Qt applications and correlate against recent file-open activity
- Scan file repositories for binary JSON files with inconsistent header length fields relative to actual file size
Monitoring Recommendations
- Collect application crash telemetry and alert on repeated faults in Qt JSON parsing code paths
- Audit software inventories for Qt versions shipping the vulnerable QBinaryJson API
- Track file-based delivery vectors by logging downloads and attachments with uncommon binary JSON extensions
How to Mitigate CVE-2026-101201
Immediate Actions Required
- Inventory applications that depend on Qt's qt5compat module and the QBinaryJson API
- Restrict loading of binary JSON files to trusted sources until patched builds are deployed
- Rebuild and redistribute in-house Qt applications once vendor fixes are integrated
Patch Information
Qt has addressed the issue through upstream changes to the qt5compat repository. Review the Qt Code Review for Compatibility Update and Qt Code Review for Compatibility Improvement for the specific commits. Downstream distributors should rebuild affected packages once the patched qt5compat release is published.
Workarounds
- Avoid calling QBinaryJson::fromBinaryData() on input received from untrusted sources
- Migrate code paths from the deprecated binary JSON API to standard QJsonDocument text-based parsing where feasible
- Validate the size and header fields of binary JSON input against the known buffer length before invoking the parser
# Configuration example
# Identify Qt applications linking the vulnerable qt5compat module
ldd /path/to/application | grep -i qt5compat
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

