CVE-2025-4211Improper Link Resolution Before File Access in QFileSystemEngine on Windows
Improper Link Resolution Before File Access ('Link Following') vulnerability in QFileSystemEngine in the Qt corelib module on Windows which potentially allows Symlink Attacks and the use of Malicious Files. Issue originates from CVE-2024-38081. The vulnerability arises from the use of the GetTempPath API, which can be exploited by attackers to manipulate temporary file paths, potentially leading to unauthorized access and privilege escalation. The affected public API in the Qt Framework is QDir::tempPath() and anything that uses it, such as QStandardPaths with TempLocation, QTemporaryDir, and QTemporaryFile. This issue affects all version of Qt up to and including 5.15.18, from 6.0.0 through 6.5.8, from 6.6.0 through 6.8.1. It is fixed in Qt 5.15.19, Qt 6.5.9, Qt 6.8.2, 6.9.0
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | qt6-base | Fix pending | UBUNTU-CVE-2025-4211 | |
| Ubuntu 26.10 | qtbase-opensource-src | Fix pending | UBUNTU-CVE-2025-4211 | |
| Ubuntu 26.10 | qtbase-opensource-src-gles | Fix pending | UBUNTU-CVE-2025-4211 | |
| Ubuntu 26.04 | qt6-base | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | qtbase-opensource-src | Will not fix Windows only: the fix touches src/corelib/io/qfilesystemengine_win.cpp, which src/corelib/io/io.pri builds only under win32; same as qtbase-opensource-src. | UBUNTU-CVE-2025-4211 | |
| Ubuntu 26.04 | qtbase-opensource-src-gles | Will not fix Windows only: the fix touches src/corelib/io/qfilesystemengine_win.cpp, which src/corelib/io/io.pri builds only under win32; same as qtbase-opensource-src. | UBUNTU-CVE-2025-4211 | |
| Ubuntu 25.10 | qt6-base | Will not fix Windows only: the fix touches src/corelib/io/qfilesystemengine_win.cpp, which src/corelib/io/io.pri builds only under win32; same as qtbase-opensource-src. | UBUNTU-CVE-2025-4211 | |
| Ubuntu 25.10 | qtbase-opensource-src | Will not fix Windows only: the fix touches src/corelib/io/qfilesystemengine_win.cpp, which src/corelib/io/io.pri builds only under win32; same as qtbase-opensource-src. | UBUNTU-CVE-2025-4211 | |
| Ubuntu 25.10 | qtbase-opensource-src-gles | Will not fix Windows only: the fix touches src/corelib/io/qfilesystemengine_win.cpp, which src/corelib/io/io.pri builds only under win32; same as qtbase-opensource-src. | UBUNTU-CVE-2025-4211 | |
| Ubuntu 24.04 | qt6-base | Under investigation | UBUNTU-CVE-2025-4211 | |
| Ubuntu 24.04 | qtbase-opensource-src | Fix pending | UBUNTU-CVE-2025-4211 | |
| Ubuntu 24.04 | qtbase-opensource-src-gles | Will not fix Windows only: the fix touches src/corelib/io/qfilesystemengine_win.cpp, which src/corelib/io/io.pri builds only under win32; same as qtbase-opensource-src. | UBUNTU-CVE-2025-4211 | |
| Ubuntu 22.04 | qt6-base | Under investigation | UBUNTU-CVE-2025-4211 | |
| Ubuntu 22.04 | qtbase-opensource-src | Fix pending | UBUNTU-CVE-2025-4211 | |
| Ubuntu 22.04 | qtbase-opensource-src-gles | Will not fix Windows only: the fix touches src/corelib/io/qfilesystemengine_win.cpp, which src/corelib/io/io.pri builds only under win32; same as qtbase-opensource-src. | UBUNTU-CVE-2025-4211 | |
| Ubuntu 20.04 | qtbase-opensource-src | Fix pending | UBUNTU-CVE-2025-4211 | |
| Ubuntu 20.04 | qtbase-opensource-src-gles | Will not fix Windows only: the fix touches src/corelib/io/qfilesystemengine_win.cpp, which src/corelib/io/io.pri builds only under win32; same as qtbase-opensource-src. | UBUNTU-CVE-2025-4211 | |
| Ubuntu 18.04 | qtbase-opensource-src | Fix pending | UBUNTU-CVE-2025-4211 | |
| Ubuntu 16.04 | qtbase-opensource-src | Fix pending | UBUNTU-CVE-2025-4211 | |
| Ubuntu 16.04 | qtbase-opensource-src-gles | Fix pending | UBUNTU-CVE-2025-4211 | |
| Red Hat Enterprise Linux 10 | qt6-filesystem | Not affected | ||
| Red Hat Enterprise Linux 10 | qt6-rpm-macros | Not affected | ||
| Red Hat Enterprise Linux 10 | qt6-srpm-macros | Not affected | ||
| Red Hat Enterprise Linux 9 | qt5 | Not affected | ||
| Red Hat Enterprise Linux 9 | qt5-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | qt5-rpm-macros | Not affected | ||
| Red Hat Enterprise Linux 9 | qt5-srpm-macros | Not affected | ||
| Red Hat Enterprise Linux 8 | qt5 | Not affected | ||
| Red Hat Enterprise Linux 8 | qt5-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | qt5-rpm-macros | Not affected | ||
| Red Hat Enterprise Linux 8 | qt5-srpm-macros | Not affected | ||
| Red Hat Enterprise Linux 7 | qt | Not affected | ||
| Red Hat Enterprise Linux 7 | qt-assistant | Not affected | ||
| Red Hat Enterprise Linux 7 | qt-config | Not affected | ||
| Red Hat Enterprise Linux 7 | qt-demos | Not affected | ||
| Red Hat Enterprise Linux 7 | qt-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | qt-devel-private | Not affected | ||
| Red Hat Enterprise Linux 7 | qt-doc | Not affected | ||
| Red Hat Enterprise Linux 7 | qt-examples | Not affected | ||
| Red Hat Enterprise Linux 7 | qt-mysql | Not affected | ||
| Red Hat Enterprise Linux 7 | qt-odbc | Not affected | ||
| Red Hat Enterprise Linux 7 | qt-postgresql | Not affected | ||
| Red Hat Enterprise Linux 7 | qt-qdbusviewer | Not affected | ||
| Red Hat Enterprise Linux 7 | qt-qvfb | Not affected | ||
| Red Hat Enterprise Linux 7 | qt-x11 | Not affected | ||
| Red Hat Enterprise Linux 7 | qt3 | Not affected | ||
| Red Hat Enterprise Linux 7 | qt3-MySQL | Not affected | ||
| Red Hat Enterprise Linux 7 | qt3-ODBC | Not affected | ||
| Red Hat Enterprise Linux 7 | qt3-PostgreSQL | Not affected | ||
| Red Hat Enterprise Linux 7 | qt3-config | Not affected | ||
| Red Hat Enterprise Linux 7 | qt3-designer | Not affected | ||
| Red Hat Enterprise Linux 7 | qt3-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | qt3-devel-docs | Not affected | ||
| Red Hat Enterprise Linux 6 | phonon-backend-gstreamer | Not affected | ||
| Red Hat Enterprise Linux 6 | qt | Not affected | ||
| Red Hat Enterprise Linux 6 | qt-demos | Not affected | ||
| Red Hat Enterprise Linux 6 | qt-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | qt-doc | Not affected | ||
| Red Hat Enterprise Linux 6 | qt-examples | Not affected | ||
| Red Hat Enterprise Linux 6 | qt-mysql | Not affected | ||
| Red Hat Enterprise Linux 6 | qt-odbc | Not affected | ||
| Red Hat Enterprise Linux 6 | qt-postgresql | Not affected | ||
| Red Hat Enterprise Linux 6 | qt-sqlite | Not affected | ||
| Red Hat Enterprise Linux 6 | qt-x11 | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3 | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3-MySQL | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3-ODBC | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3-PostgreSQL | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3-config | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3-designer | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3-devel-docs | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3-sqlite | Not affected |
What the vendor says
As published in the CVE record by TQtC, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Qt: affected: up to 5.15.18, 6.0.0 to 6.5.8, 6.6.0 to 6.8.1
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.