Vulnerability · Published Jun 11, 2025 · Assigned by TQtC
CVE-2025-5991Use after free in QHttp2ProtocolHandler
Low 2.1
In plain English
A low-severity use-after-free in Qt from Qt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities).
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | qt6-base | no fix listed | CVE-2025-5991 |
| Debian:13 | qt6-base | no fix listed | CVE-2025-5991 |
| Debian:12 | qtbase-opensource-src | no fix listed | CVE-2025-5991 |
| Debian:13 | qtbase-opensource-src | no fix listed | CVE-2025-5991 |
| Debian:12 | qtbase-opensource-src-gles | no fix listed | CVE-2025-5991 |
| Debian:13 | qtbase-opensource-src-gles | no fix listed | CVE-2025-5991 |
| Ubuntu:22.04:LTS | qt6-base | no fix listed | UBUNTU-CVE-2025-5991 |
| Ubuntu:24.04:LTS | qt6-base | no fix listed | UBUNTU-CVE-2025-5991 |
| Ubuntu:25.10 | qt6-base | no fix listed | UBUNTU-CVE-2025-5991 |
| Ubuntu:26.04:LTS | qt6-base | no fix listed | UBUNTU-CVE-2025-5991 |
| Ubuntu:26.10 | qt6-base | no fix listed | UBUNTU-CVE-2025-5991 |
| Ubuntu:22.04:LTS | qtbase-opensource-src-gles | no fix listed | UBUNTU-CVE-2025-5991 |
| Ubuntu:24.04:LTS | qtbase-opensource-src-gles | no fix listed | UBUNTU-CVE-2025-5991 |
| Ubuntu:25.10 | qtbase-opensource-src-gles | no fix listed | UBUNTU-CVE-2025-5991 |
| Ubuntu:26.04:LTS | qtbase-opensource-src-gles | no fix listed | UBUNTU-CVE-2025-5991 |
| Ubuntu:26.10 | qtbase-opensource-src-gles | no fix listed | UBUNTU-CVE-2025-5991 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L