CVE-2026-107157
qt: Out-of-bounds read vulnerability in QCborValue::fromCbor() impacts Qt Framework
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 26, 2026
Updated · October 30, 2026
Description
A flaw was found in Qt. An out-of-bounds read vulnerability exists in the QCborValue::fromCbor() function when parsing malformed Concise Binary Object Representation (CBOR) data. By convincing an application to process specially crafted CBOR input, an attacker could cause an application crash leading to a Denial of Service (DoS) or potentially read unauthorized memory, resulting in information disclosure.
Statement
An out-of-bounds read vulnerability was found in the Qt framework's QCborValue::fromCbor() function. When an application parses malformed Concise Binary Object Representation (CBOR) input, an attacker can trigger memory reads beyond the designated buffer boundaries. This flaw directly leads to an application crash (Denial of Service) or potential disclosure of unauthorized process memory.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Refactor application code to utilize the QByteArray overload of QCborValue::fromCbor() rather than pointer-and-size variants. Validate and enforce strict length constraints on untrusted CBOR payloads prior to parsing.
CVSS / CWE
CVSS 3.1 · 3.6CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:L
CWE-125 · Out-of-bounds Read