CVE-2023-38197
published 2023-07-13CVE-2023-38197: 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.
PriorityP336high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
1.08%
60.8th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | qt6-base | < qt6-base 6.6.2+dfsg-8 (forky) | qt6-base 6.6.2+dfsg-8 (forky) |
| debian | qtbase-opensource-src | < qt6-base 6.6.2+dfsg-8 (forky) | qt6-base 6.6.2+dfsg-8 (forky) |
| debian | qtbase-opensource-src-gles | < qt6-base 6.6.2+dfsg-8 (forky) | qt6-base 6.6.2+dfsg-8 (forky) |
| msrc | cbl2_qt5-qtbase_5.12.11-9_on_cbl_mariner_2.0 | — | — |
| qt | qt | < 5.15.15 | 5.15.15 |
| qt | qt | >= 6.0.0 < 6.2.10 | 6.2.10 |
| qt | qt | >= 6.3.0 < 6.5.3 | 6.5.3 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2023-38197: An issue was discovered in Qt before 5
osv·2023-07-13·CVSS 7.5
CVE-2023-38197 [HIGH] CVE-2023-38197: An issue was discovered in Qt before 5
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.
GHSA
GHSA-98w5-63h7-29q8: An issue was discovered in Qt before 5
ghsa_unreviewed·2023-07-13
CVE-2023-38197 [HIGH] CWE-835 GHSA-98w5-63h7-29q8: An issue was discovered in Qt before 5
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.
Red Hat
qtbase: infinite loops in QXmlStreamReader
vendor_redhat·2023-07-12·CVSS 7.5
CVE-2023-38197 [HIGH] CWE-835 qtbase: infinite loops in QXmlStreamReader
qtbase: infinite loops in QXmlStreamReader
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.
Package:
Microsoft
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.
vendor_msrc·2023-07-11·CVSS 7.5
CVE-2023-38197 [HIGH] CWE-835 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.
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mit
Debian
CVE-2023-38197: qt6-base - An issue was discovered in Qt before 5.15.15, 6.x before 6.2.10, and 6.3.x throu...
vendor_debian·2023·CVSS 7.5
CVE-2023-38197 [HIGH] CVE-2023-38197: qt6-base - An issue was discovered in Qt before 5.15.15, 6.x before 6.2.10, and 6.3.x throu...
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.
Scope: local
bookworm: open
forky: resolved (fixed in 6.6.2+dfsg-8)
sid: resolved (fixed in 6.6.2+dfsg-8)
trixie: resolved (fixed in 6.6.2+dfsg-8)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://codereview.qt-project.org/c/qt/qtbase/+/488960https://lists.debian.org/debian-lts-announce/2023/08/msg00028.htmlhttps://lists.debian.org/debian-lts-announce/2024/04/msg00027.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F5C3NYVJ73ITE6HUOVVHBUAGORVEJRHO/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XEGQ6DFTL2BEJMHCD5FJGI6XLWQI7UEA/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XFZORZYCMUZZFIOEZICJ7VH2BZIGY3HV/https://codereview.qt-project.org/c/qt/qtbase/+/488960https://lists.debian.org/debian-lts-announce/2023/08/msg00028.htmlhttps://lists.debian.org/debian-lts-announce/2024/04/msg00027.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F5C3NYVJ73ITE6HUOVVHBUAGORVEJRHO/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XEGQ6DFTL2BEJMHCD5FJGI6XLWQI7UEA/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XFZORZYCMUZZFIOEZICJ7VH2BZIGY3HV/
2023-07-13
Published