CVE-2025-5991Use after free in QHttp2ProtocolHandler
There is a "Use After Free" vulnerability in Qt's QHttp2ProtocolHandler in the QtNetwork module. This only affects HTTP/2 handling, HTTP handling is not affected by this at all. This happens due to a race condition between how QHttp2Stream uploads the body of a POST request and the simultaneous handling of HTTP error responses. This issue only affects Qt 6.9.0 and has been fixed for Qt 6.9.1.
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-5991 | |
| Ubuntu 26.10 | qtbase-opensource-src-gles | Fix pending | UBUNTU-CVE-2025-5991 | |
| Ubuntu 26.04 | qt6-base | Under investigation | UBUNTU-CVE-2025-5991 | |
| Ubuntu 26.04 | qtbase-opensource-src | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | qtbase-opensource-src-gles | Under investigation | UBUNTU-CVE-2025-5991 | |
| Ubuntu 25.10 | qt6-base | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-5991 | |
| Ubuntu 25.10 | qtbase-opensource-src | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | qtbase-opensource-src-gles | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-5991 | |
| Ubuntu 24.04 | qt6-base | Under investigation | UBUNTU-CVE-2025-5991 | |
| Ubuntu 24.04 | qtbase-opensource-src-gles | Under investigation | UBUNTU-CVE-2025-5991 | |
| Ubuntu 22.04 | qt6-base | Under investigation | UBUNTU-CVE-2025-5991 | |
| Ubuntu 22.04 | qtbase-opensource-src-gles | Under investigation | UBUNTU-CVE-2025-5991 | |
| Ubuntu 20.04 | qtbase-opensource-src-gles | Fix pending | UBUNTU-CVE-2025-5991 | |
| Ubuntu 16.04 | qtbase-opensource-src-gles | Fix pending | UBUNTU-CVE-2025-5991 | |
| 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: 6.9.0, 6.9.1 not affected
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.