CVE-2024-25580

NameCVE-2024-25580
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1064052, 1064053, 1064054

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
qt6-base (PTS)bookworm6.4.2+dfsg-10vulnerable
sid, trixie6.7.2+dfsg-4vulnerable
qtbase-opensource-src (PTS)bullseye5.15.2+dfsg-9+deb11u1fixed
bookworm5.15.8+dfsg-11+deb12u2fixed
sid, trixie5.15.15+dfsg-2fixed
qtbase-opensource-src-gles (PTS)bullseye5.15.2+dfsg-4vulnerable
bookworm5.15.8+dfsg-3vulnerable
sid, trixie5.15.15+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
qt6-basesourceexperimental6.6.2+dfsg-1
qt6-basesource(unstable)(unfixed)1064052
qtbase-opensource-srcsourcebuster(not affected)
qtbase-opensource-srcsourcebullseye5.15.2+dfsg-9+deb11u1
qtbase-opensource-srcsourcebookworm5.15.8+dfsg-11+deb12u2
qtbase-opensource-srcsource(unstable)5.15.10+dfsg-71064053
qtbase-opensource-src-glessource(unstable)5.15.10+dfsg-51064054

Notes

[bookworm] - qt6-base <no-dsa> (Minor issue)
[buster] - qtbase-opensource-src <not-affected> (Vulnerable code not present)
[bookworm] - qtbase-opensource-src-gles <no-dsa> (Minor issue)
[bullseye] - qtbase-opensource-src-gles <no-dsa> (Minor issue)
https://bugzilla.redhat.com/show_bug.cgi?id=2264423
https://code.qt.io/cgit/qt/qtbase.git/commit/?id=28ecb523ce8490bff38b251b3df703c72e057519
https://code.qt.io/cgit/qt/qtbase.git/commit/?id=dec1863c7dc63e5788b0c6c061d36e856a6ae2b2 (v6.6.2)
https://download.qt.io/official_releases/qt/5.15/CVE-2024-25580-qtbase-5.15.diff
https://www.qt.io/blog/security-advisory-potential-buffer-overflow-when-reading-ktx-images

Search for package or bug name: Reporting problems