Bug 1219996 (CVE-2024-25580) - VUL-0: CVE-2024-25580: libqt5-qtbase,qt6-base: qtbase: potential buffer overflow when reading KTX images
Summary: VUL-0: CVE-2024-25580: libqt5-qtbase,qt6-base: qtbase: potential buffer overf...
Status: RESOLVED FIXED
Alias: CVE-2024-25580
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/394279/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-25580:6.2:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-16 08:43 UTC by SMASH SMASH
Modified: 2024-07-03 05:10 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-02-16 08:43:01 UTC
CVE-2024-25580:
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.

Fixed qtbase-6.6.2 is already in-tree (pending stable), qtgui will need:
https://download.qt.io/official_releases/qt/5.15/CVE-2024-25580-qtbase-5.15.diff

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-25580
https://bugzilla.redhat.com/show_bug.cgi?id=2264423
Comment 1 Fabian Vogt 2024-02-16 08:48:41 UTC
KTX support got introduced in Qt 5.12, so qt3 and libqt4 are not affected.
Comment 2 Andrea Mattiazzo 2024-02-16 10:01:14 UTC
Patch:
https://github.com/qt/qtbase/commit/28ecb523ce8490bff38b251b3df703c72e057519

6.6 - https://ftp.fau.de/qtproject/archive/qt/6.6/CVE-2024-25580-qtbase-6.6.diff
6.5 - https://ftp.fau.de/qtproject/archive/qt/6.5/CVE-2024-25580-qtbase-6.5.diff
6.2 - https://ftp.fau.de/qtproject/archive/qt/6.2/CVE-2024-25580-qtbase-6.2.diff
5.15 - https://ftp.fau.de/qtproject/archive/qt/5.15/CVE-2024-25580-qtbase-5.15.diff

Thanks Fabian, tracking as affected:
 - SUSE:ALP:Source:Standard:1.0/libqt5-qtbase
 - SUSE:SLE-15-SP2:Update/libqt5-qtbase
 - SUSE:SLE-15-SP4:Update/libqt5-qtbase
 - SUSE:SLE-15-SP5:Update/libqt5-qtbase
 - SUSE:SLE-15-SP5:Update/qt6-base
 - SUSE:ALP:Source:Standard:1.0/qt6-base
 - openSUSE:Factory/qt6-base
 - openSUSE:Factory/libqt5-qtbase
Comment 3 Christophe Marin 2024-02-19 08:23:23 UTC
(In reply to Andrea Mattiazzo from comment #2)

> Thanks Fabian, tracking as affected:

>  - openSUSE:Factory/qt6-base

The Qt6 packages were updated to 6.6.2 and are not affected anymore