CVE-2026-107590

Out-of-bounds write vulnerability in QTextCodec iconv-based encoding impacts Qt

Published Oct 27, 2026 CVSS 4.0 · 1.9 Low EPSS < 1% KEV · Not listed
Description
An out-of-bounds write vulnerability in the Qt QTextCodec iconv-based encoding of the Qt 5 Compatibility APIs module (Qt Core in Qt 5 and earlier) impacts Qt. Under certain conditions, encoding text with QTextCodec may write outside an internal buffer. This can cause the application to crash and may affect data integrity.

Analysis

AI-generated

Technical impact

The vulnerability is an out‑of‑bounds write in Qt’s QTextCodec iconv‑based encoding. It is caused by an incorrect buffer length calculation (CWE‑131) that allows the write to extend beyond the allocated memory (CWE‑787). When triggered, the application may experience a crash and data integrity problems, as the overwritten data may be corrupted.

Affected Systems

Qt products are affected, specifically the Qt 5 Compatibility APIs module (Qt Core in Qt 5 and earlier). The bug exists in all Qt 5 releases and earlier versions, as the references target the Qt 5 Compatibility APIs module. No specific sub‑versions are listed, but any Qt 5 build that incorporates the legacy QTextCodec implementation is impacted.

Risk and Exploitability

The CVSS score of 1.9 reflects a low severity, and the EPSS score is not available, suggesting a low likelihood of widespread exploitation. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is local; an attacker could supply malicious or malformed input to an application that uses QTextCodec. The bug can be triggered by encoding operations, meaning that untrusted data flowing into an application that relies on QTextCodec could provoke the out‑of‑bounds write, leading to a crash and potential data corruption.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest Qt release that includes the fix for CVE‑2026‑107590.
  • If an upgrade is not immediately possible, avoid using QTextCodec iconv‑based encoding on untrusted or length‑suspect input, instead validate or sanitize the data before processing.
  • Patch the source yourself or apply a workaround that ensures proper bounds checking before performing the write, preventing overflow into adjacent memory.

Generated by OpenCVE AI on October 27, 2026 at 13:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description An out-of-bounds write vulnerability in the Qt QTextCodec iconv-based encoding of the Qt 5 Compatibility APIs module (Qt Core in Qt 5 and earlier) impacts Qt. Under certain conditions, encoding text with QTextCodec may write outside an internal buffer. This can cause the application to crash and may affect data integrity.
Title Out-of-bounds write vulnerability in QTextCodec iconv-based encoding impacts Qt
First Time appeared Qt
Qt qt
Qt qt5compat
Qt qtbase
Weaknesses CWE-131
CWE-787
CPEs cpe:2.3:a:qt:qt5compat:*:*:*:*:*:*:*:*
cpe:2.3:a:qt:qt:*:*:*:*:*:*:*:*
cpe:2.3:a:qt:qtbase:*:*:*:*:*:*:*:*
Vendors & Products Qt
Qt qt
Qt qt5compat
Qt qtbase
References
Metrics cvssV4_0

{'score': 1.9, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:U/R:U/RE:L/U:Green'}

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
Qt
Published
Updated
Nov 4, 2026, 8:28 PM
Reserved
Oct 8, 2026, 11:44 AM
Status
Awaiting Analysis
Published
Oct 27, 2026, 1:16 PM
Modified
Nov 4, 2026, 9:17 PM