CVE-2025-5991: Use after free in QHttp2ProtocolHandler

Published Jun 11, 2025
·
Updated

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 Software

1 affected component
Qt QtNetwork - QHttp2ProtocolHandler=6.9.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade QtNetwork/QHttp2ProtocolHandler to a version that resolves this vulnerability.

    Fixed in 6.9.1

Event History

Jun 11, 2025
CVE Published
via MITRE·07:33 AM
Data Sourced
via MITRE·07:33 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 AM
DescriptionSeverityWeakness
Oct 30, 57501
Event
via FIRST·02:08 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-5991?

The severity of CVE-2025-5991 is high due to the potential for an attacker to exploit the use-after-free vulnerability in the QHttp2ProtocolHandler.

2

How do I fix CVE-2025-5991?

To fix CVE-2025-5991, upgrade to the latest version of the QtNetwork module that contains the security patch for this vulnerability.

3

What systems are affected by CVE-2025-5991?

CVE-2025-5991 specifically affects systems using QtNetwork for handling HTTP/2 requests.

4

What is the nature of the vulnerability in CVE-2025-5991?

CVE-2025-5991 is a use-after-free vulnerability caused by a race condition in how the QHttp2Stream processes POST requests.

5

Can CVE-2025-5991 affect applications using only HTTP?

No, CVE-2025-5991 only affects HTTP/2 handling, and applications utilizing only HTTP are not impacted.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203