cve.bz

CVE-2024-25580 qt qt: Classic Buffer Overflow

6.2 mediumEPSS 0.3%Fix available

Medium (6.2) in qt qt. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.2 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 26th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-08-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-25580 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-25580?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-25580?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-25580 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
qt:qtfrom 5.12.0 before 5.15.17
qt:qtfrom 6.0.0 before 6.2.12
qt:qtfrom 6.3.0 before 6.5.5
qt:qtfrom 6.6.0 before 6.6.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12qt6-base, qtbase-opensource-src-glesno fix listedDEBIAN-CVE-2024-25580
Debian12qtbase-opensource-src5.15.8+dfsg-11+deb12u2DEBIAN-CVE-2024-25580
Debian13, 14qt6-base6.6.2+dfsg-8DEBIAN-CVE-2024-25580
Debian13, 14qtbase-opensource-src5.15.10+dfsg-7DEBIAN-CVE-2024-25580
Debian13, 14qtbase-opensource-src-gles5.15.10+dfsg-5DEBIAN-CVE-2024-25580
Ubuntu16.04:LTS, 20.04:LTSqtbase-opensource-src-glesno fix listedUBUNTU-CVE-2024-25580
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 moreqt6-base, qtbase-opensource-src-glesno fix listedUBUNTU-CVE-2024-25580
UbuntuPro:20.04:LTSqtbase-opensource-src5.12.8+dfsg-0ubuntu2.1+esm2UBUNTU-CVE-2024-25580 USN-7923-1
UbuntuPro:22.04:LTSqtbase-opensource-src5.15.3+dfsg-2ubuntu0.2+esm2UBUNTU-CVE-2024-25580 USN-7923-1
Red Hatenterprise_linux:8::appstreamqt5-qtbase, qt5-qtbase-gui, qt5-qtbase-odbc and 15 more0:5.15.3-7.el8RHSA-2024:3056
Red Hatenterprise_linux:8::crbqt5-qtbase-static, qt5-qtbase-debuginfo, qt5-qtbase-debugsource and 7 more0:5.15.3-7.el8RHSA-2024:3056
Red Hatenterprise_linux:9::appstreamqt5-qtbase, qt5-qtbase-gui, qt5-qtbase-odbc and 15 more0:5.15.9-9.el9RHSA-2024:2276
Red Hatenterprise_linux:9::crbqt5-qtbase-static, qt5-qtbase-debuginfo, qt5-qtbase-debugsource and 7 more0:5.15.9-9.el9RHSA-2024:2276
openSUSETumbleweedlibqt5-qtbase5.15.12+kde151-1.1openSUSE-SU-2024:13690-1
openSUSETumbleweedqt6-base6.6.2-2.1openSUSE-SU-2024:13775-1
AlmaLinux8qt5-qtbase, qt5-qtbase-gui, qt5-qtbase-odbc and 7 more5.15.3-7.el8ALSA-2024:3056
AlmaLinux9qt5-qtbase, qt5-qtbase-gui, qt5-qtbase-odbc and 7 more5.15.9-9.el9ALSA-2024:2276
Rocky Linux8qt5-qtbase0:5.15.3-7.el8RLSA-2024:3056
Azure Linux2qt5-qtbase5.12.11-15AZL-36915
Azure Linux3qtbase6.6.2-1AZL-38737

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The CVE-2024-25580 vulnerability in Qt's KTX image handling module is classified as having a moderate severity rather than being deemed important due to several factors. While the vulnerability does pose a risk of buffer overflow and potential application crashes, its impact is somewhat mitigated by the fact that exploitation requires a specifically crafted KTX image file. This implies that successful exploitation depends on the attacker's ability to provide such a file to the target application. Moreover, the vulnerability does not inherently lead to remote code execution or compromise of sensitive data; it primarily results in a denial-of-service condition through application crashes.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8qt5-qtbase-0:5.15.3-7.el8Fixed 2024-05-22RHSA-2024:3056
Red Hat Enterprise Linux 9qt5-qtbase-0:5.15.9-9.el9Fixed 2024-04-30RHSA-2024:2276
Red Hat Enterprise Linux 7qt5-qtbaseOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-25580.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON