February 15, 2024 by Andy Shaw | Comments
A recently reported potential buffer overflow issue in Qt’s KTX’s image handling has been assigned the CVE id CVE-2024-25580.
An issue was discovered in Qt from 5.12.0 through 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.
With a specifically crafted KTX image file it is possible that the application reading it could cause an overflow and subsequently a crash.
Solution: Apply the following patch or update to Qt 5.15.17, Qt 6.2.12, Qt 6.5.5 or Qt 6.6.2.
Patches:
dev: https://codereview.qt-project.org/c/qt/qtbase/+/536680
Qt 6.6: https://codereview.qt-project.org/c/qt/qtbase/+/538907 or https://download.qt.io/official_releases/qt/6.6/CVE-2024-25580-qtbase-6.6.diff
Qt 6.5: https://codereview.qt-project.org/c/qt/tqtc-qtbase/+/539051 or https://download.qt.io/official_releases/qt/6.5/CVE-2024-25580-qtbase-6.5.diff
Qt 6.2: https://codereview.qt-project.org/c/qt/tqtc-qtbase/+/539174 or https://download.qt.io/official_releases/qt/6.2/CVE-2024-25580-qtbase-6.2.diff
Qt 5.15: https://codereview.qt-project.org/c/qt/tqtc-qtbase/+/539259 or https://download.qt.io/official_releases/qt/5.15/CVE-2024-25580-qtbase-5.15.diff
Download the latest release here: www.qt.io/download.
Qt 6.10 is now available, with new features and improvements for application developers and device creators.
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Dec 3, 2025
Improper Validation of Specified Quantity in Input vulnerability in Text..
Oct 3, 2025
Two vulnerabilities in Qt SVG module have been discovered. Uncontrolled..
Sep 26, 2025
Have you heard about Jenny? No, I do not mean, the girl next door, nor the..