CVEfocus › CVE database › CVE-2025-5991

CVE-2025-5991Use after free in QHttp2ProtocolHandler

CVSS 2.1 LowEPSS 0.2% (higher than 7% of CVEs)Published 2025-06-11Updated 2026-07-29Assigner: TQtC

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.

CWE-416

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

4Fix pending
6Under investigation
2Will not fix
55Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10qt6-baseFix pendingUBUNTU-CVE-2025-5991
Ubuntu 26.10qtbase-opensource-src-glesFix pendingUBUNTU-CVE-2025-5991
Ubuntu 26.04qt6-baseUnder investigationUBUNTU-CVE-2025-5991
Ubuntu 26.04qtbase-opensource-srcNot affected
vulnerable_code_not_present
Ubuntu 26.04qtbase-opensource-src-glesUnder investigationUBUNTU-CVE-2025-5991
Ubuntu 25.10qt6-baseWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-5991
Ubuntu 25.10qtbase-opensource-srcNot affected
vulnerable_code_not_present
Ubuntu 25.10qtbase-opensource-src-glesWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-5991
Ubuntu 24.04qt6-baseUnder investigationUBUNTU-CVE-2025-5991
Ubuntu 24.04qtbase-opensource-src-glesUnder investigationUBUNTU-CVE-2025-5991
Ubuntu 22.04qt6-baseUnder investigationUBUNTU-CVE-2025-5991
Ubuntu 22.04qtbase-opensource-src-glesUnder investigationUBUNTU-CVE-2025-5991
Ubuntu 20.04qtbase-opensource-src-glesFix pendingUBUNTU-CVE-2025-5991
Ubuntu 16.04qtbase-opensource-src-glesFix pendingUBUNTU-CVE-2025-5991
Red Hat Enterprise Linux 10qt6-filesystemNot affected
Red Hat Enterprise Linux 10qt6-rpm-macrosNot affected
Red Hat Enterprise Linux 10qt6-srpm-macrosNot affected
Red Hat Enterprise Linux 9qt5Not affected
Red Hat Enterprise Linux 9qt5-develNot affected
Red Hat Enterprise Linux 9qt5-rpm-macrosNot affected
Red Hat Enterprise Linux 9qt5-srpm-macrosNot affected
Red Hat Enterprise Linux 8qt5Not affected
Red Hat Enterprise Linux 8qt5-develNot affected
Red Hat Enterprise Linux 8qt5-rpm-macrosNot affected
Red Hat Enterprise Linux 8qt5-srpm-macrosNot affected
Red Hat Enterprise Linux 7qtNot affected
Red Hat Enterprise Linux 7qt-assistantNot affected
Red Hat Enterprise Linux 7qt-configNot affected
Red Hat Enterprise Linux 7qt-demosNot affected
Red Hat Enterprise Linux 7qt-develNot affected
Red Hat Enterprise Linux 7qt-devel-privateNot affected
Red Hat Enterprise Linux 7qt-docNot affected
Red Hat Enterprise Linux 7qt-examplesNot affected
Red Hat Enterprise Linux 7qt-mysqlNot affected
Red Hat Enterprise Linux 7qt-odbcNot affected
Red Hat Enterprise Linux 7qt-postgresqlNot affected
Red Hat Enterprise Linux 7qt-qdbusviewerNot affected
Red Hat Enterprise Linux 7qt-qvfbNot affected
Red Hat Enterprise Linux 7qt-x11Not affected
Red Hat Enterprise Linux 7qt3Not affected
Red Hat Enterprise Linux 7qt3-MySQLNot affected
Red Hat Enterprise Linux 7qt3-ODBCNot affected
Red Hat Enterprise Linux 7qt3-PostgreSQLNot affected
Red Hat Enterprise Linux 7qt3-configNot affected
Red Hat Enterprise Linux 7qt3-designerNot affected
Red Hat Enterprise Linux 7qt3-develNot affected
Red Hat Enterprise Linux 7qt3-devel-docsNot affected
Red Hat Enterprise Linux 6phonon-backend-gstreamerNot affected
Red Hat Enterprise Linux 6qtNot affected
Red Hat Enterprise Linux 6qt-demosNot affected
Red Hat Enterprise Linux 6qt-develNot affected
Red Hat Enterprise Linux 6qt-docNot affected
Red Hat Enterprise Linux 6qt-examplesNot affected
Red Hat Enterprise Linux 6qt-mysqlNot affected
Red Hat Enterprise Linux 6qt-odbcNot affected
Red Hat Enterprise Linux 6qt-postgresqlNot affected
Red Hat Enterprise Linux 6qt-sqliteNot affected
Red Hat Enterprise Linux 6qt-x11Not affected
Red Hat Enterprise Linux 6qt3Not affected
Red Hat Enterprise Linux 6qt3-MySQLNot affected
Red Hat Enterprise Linux 6qt3-ODBCNot affected
Red Hat Enterprise Linux 6qt3-PostgreSQLNot affected
Red Hat Enterprise Linux 6qt3-configNot affected
Red Hat Enterprise Linux 6qt3-designerNot affected
Red Hat Enterprise Linux 6qt3-develNot affected
Red Hat Enterprise Linux 6qt3-devel-docsNot affected
Red Hat Enterprise Linux 6qt3-sqliteNot 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.

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.