CVE-2023-38197
qtbase: infinite loops in QXmlStreamReader
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
An issue was discovered in Qt before 5.15.15, 6.x before 6.2.10, and 6.3.x through 6.5.x before 6.5.3. There are infinite loops in recursive entity expansion.
A vulnerability was found in Qtbase, where it is vulnerable to a denial of service caused by an infinite loop flaw in the QXmlStreamReader() function. This flaw occurs because the QXmlStreamReader function accepts multiple DOCTYPE elements containing DTD fragments in the XML prolog and the XML body. Well-formed but invalid XML files - with multiple DTD fragments in prolog and body, combined with recursive entity expansions, causes infinite loops in QXmlStreamReader. By persuading a victim to open specially crafted XML content, an attacker can cause a denial of service condition.
This update for libqt5-qtbase fixes the following issues. Fixed Qt SQL ODBC driver plugin DOS. Fixed Qt Network incorrectly parses the strict-transport-security header. Fixed buffer overflow when rendering an SVG file with an image inside it. Fixed buffer overflow in QDnsLookup. Fixed certificate validation does not always consider whether the root of a chain is a configured CA certificate. Fixed infinite loops in QXmlStreamReader.
CVSS Scores
SSVC
- Decision:Attend
Timeline
- 2023-07-13 CVE Reserved
- 2023-07-13 CVE Published
- 2024-08-02 CVE Updated
- 2025-07-03 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
CAPEC
References (8)
URL | Tag | Source |
---|---|---|
https://lists.debian.org/debian-lts-announce/2023/08/msg00028.html | Mailing List |
|
https://lists.debian.org/debian-lts-announce/2024/04/msg00027.html | Mailing List |
|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://codereview.qt-project.org/c/qt/qtbase/+/488960 | 2024-05-01 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Qt Search vendor "Qt" | Qt Search vendor "Qt" for product "Qt" | < 5.15.15 Search vendor "Qt" for product "Qt" and version " < 5.15.15" | - |
Affected
| ||||||
Qt Search vendor "Qt" | Qt Search vendor "Qt" for product "Qt" | >= 6.0.0 < 6.2.10 Search vendor "Qt" for product "Qt" and version " >= 6.0.0 < 6.2.10" | - |
Affected
| ||||||
Qt Search vendor "Qt" | Qt Search vendor "Qt" for product "Qt" | >= 6.3.0 < 6.5.3 Search vendor "Qt" for product "Qt" and version " >= 6.3.0 < 6.5.3" | - |
Affected
|