CVE-2024-25580 json
An issue was discovered in gui/util/qktxhandler.cpp in Qt before 5.15.17, 6.x before 6.2.12, 6.3.x through 6.5.x before 6.5.5, and 6.6.x be…
published 2024-03-27 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-22908
- cvss
- 6.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 25%
- public exploits
- 0
- none known
Summary
An issue was discovered in gui/util/qktxhandler.cpp in Qt before 5.15.17, 6.x before 6.2.12, 6.3.x through 6.5.x before 6.5.5, and 6.6.x before 6.6.2. A buffer overflow and application crash can occur via a crafted KTX image file.
Patch / fix
- qt qt 5.15.17, 6.2.12, 6.5.5, 6.6.2
- qt6-base Debian 14, Debian 13 6.6.2+dfsg-8
- qtbase-opensource-src Debian 12 5.15.8+dfsg-11+deb12u2
- qtbase-opensource-src Debian 14, Debian 13 5.15.10+dfsg-7
- qtbase-opensource-src-gles Debian 14, Debian 13 5.15.10+dfsg-5
debian advisories DEBIAN-CVE-2024-25580
- qtbase-opensource-src Ubuntu Pro 20.04 LTS 5.12.8+dfsg-0ubuntu2.1+esm2
- qtbase-opensource-src Ubuntu Pro 22.04 LTS 5.15.3+dfsg-2ubuntu0.2+esm2
ubuntu advisories UBUNTU-CVE-2024-25580
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- qt5-qtbase RHEL 8 5.15.3-7.el8
- qt5-qtbase-gui RHEL 8 5.15.3-7.el8
- qt5-qtbase-odbc RHEL 8 5.15.3-7.el8
- qt5-qtbase-mysql RHEL 8 5.15.3-7.el8
- qt5-qtbase-common RHEL 8 5.15.3-7.el8
- qt5-qtbase-examples RHEL 8 5.15.3-7.el8
- qt5-qtbase-postgresql RHEL 8 5.15.3-7.el8
- qt5-qtbase RHEL 9 5.15.9-9.el9
red hat advisories RHSA-2024:3056RHSA-2024:2276
- libqt5-qtbase openSUSE Tumbleweed 5.15.12+kde151-1.1
- qt6-base openSUSE Tumbleweed 6.6.2-2.1
opensuse advisories openSUSE-SU-2024:13690-1openSUSE-SU-2024:13775-1
- qt5-qtbase AlmaLinux 8 5.15.3-7.el8
- qt5-qtbase-gui AlmaLinux 8 5.15.3-7.el8
- qt5-qtbase-odbc AlmaLinux 8 5.15.3-7.el8
- qt5-qtbase-mysql AlmaLinux 8 5.15.3-7.el8
- qt5-qtbase-common AlmaLinux 8 5.15.3-7.el8
- qt5-qtbase-examples AlmaLinux 8 5.15.3-7.el8
- qt5-qtbase-postgresql AlmaLinux 8 5.15.3-7.el8
- qt5-qtbase AlmaLinux 9 5.15.9-9.el9
almalinux advisories ALSA-2024:3056ALSA-2024:2276
- qt5-qtbase Rocky Linux 8 5.15.3-7.el8
rocky linux advisories RLSA-2024:3056
- qt5-qtbase CBL-Mariner 2.0 5.12.11-15
- qtbase Azure Linux 3.0 6.6.2-1
azure linux advisories AZL-36915AZL-38737
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-25580 updated cvss 6.2
qtbase: potential buffer overflow when reading KTX images
-
Red Hat Enterprise Linux 7 qt5-qtbase, qt5-qtbase-gui, qt5-rpm-macros, qt5-qtbase-odbc, qt5-qtbase-mysql, qt5-qtbase-common, +2 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) qt5-qtbase 5.15.3-7.el8, qt5-qtbase-gui 5.15.3-7.el8, qt5-qtbase-odbc 5.15.3-7.el8, qt5-qtbase-mysql 5.15.3-7.el8, qt5-qtbase-common 5.15.3-7.el8, qt5-qtbase-examples 5.15.3-7.el8, +1 morefixed: vendor fix RHSA-2024:3056
-
Red Hat Enterprise Linux AppStream (v. 9) qt5-qtbase 5.15.9-9.el9, qt5-qtbase-gui 5.15.9-9.el9, qt5-qtbase-odbc 5.15.9-9.el9, qt5-qtbase-mysql 5.15.9-9.el9, qt5-qtbase-common 5.15.9-9.el9, qt5-qtbase-examples 5.15.9-9.el9, +1 morefixed: vendor fix RHSA-2024:2276
-
Red Hat Enterprise Linux CRB (v. 8) qt5-qtbase-static 5.15.3-7.el8, qt5-qtbase-debuginfo 5.15.3-7.el8, qt5-qtbase-debugsource 5.15.3-7.el8, qt5-qtbase-gui-debuginfo 5.15.3-7.el8, qt5-qtbase-odbc-debuginfo 5.15.3-7.el8, qt5-qtbase-devel-debuginfo 5.15.3-7.el8, +4 morefixed: vendor fix RHSA-2024:3056
-
Red Hat Enterprise Linux CRB (v. 9) qt5-qtbase-static 5.15.9-9.el9, qt5-qtbase-debuginfo 5.15.9-9.el9, qt5-qtbase-debugsource 5.15.9-9.el9, qt5-qtbase-gui-debuginfo 5.15.9-9.el9, qt5-qtbase-odbc-debuginfo 5.15.9-9.el9, qt5-qtbase-devel-debuginfo 5.15.9-9.el9, +4 morefixed: vendor fix RHSA-2024:2276
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.32% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
- Weakness
-
- CWE-120 Buffer Copy without Checking Size of Input
References
-
qt.io
/blog/security-advisory-potential-buffer-overflow-when-reading-ktx-images
patch, vendor-advisory
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/ZWTGLKC3WBDHZ5OJRSEB2QUR7XXZDLZV/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/SYE2NMN67DYHYJKLAKLGR64OYI7A63AH/
Sources
- CVE List CVE-2024-25580
- NVD CVE-2024-25580
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.