CVE Vulnerabilities

CVE-2024-30161

Use After Free

Published: Mar 24, 2024 | Modified: Jun 30, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Ubuntu
MEDIUM

In Qt 6.5.4, 6.5.5, and 6.6.2, QNetworkReply header data might be accessed via a dangling pointer in Qt for WebAssembly (wasm). (Earlier and later versions are unaffected.)

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Qt Qt 6.5.4 (including) 6.5.4 (including)
Qt Qt 6.5.5 (including) 6.5.5 (including)
Qt Qt 6.6.2 (including) 6.6.2 (including)
Qt6-base Ubuntu mantic *
Qt6-base Ubuntu oracular *
Qtbase-opensource-src Ubuntu focal *
Qtbase-opensource-src Ubuntu mantic *
Qtbase-opensource-src Ubuntu oracular *
Qtbase-opensource-src Ubuntu upstream *
Qtbase-opensource-src-gles Ubuntu focal *
Qtbase-opensource-src-gles Ubuntu mantic *
Qtbase-opensource-src-gles Ubuntu oracular *

Potential Mitigations

References