CVE-2024-30161 Use after free in n/a
A dangling pointer in Qt WebAssembly allows attackers to access freed memory, potentially leading to code execution or crashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-30161?
CVE-2024-30161 is a medium-severity use after free vulnerability in Qt Qt, published on 24 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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: CWE-416
Which versions are affected by CVE-2024-30161?
It affects 1 product.
Linux distribution packages (5)
qt6-base SUSE:Linux Enterprise Module for Desktop Applications 15 SP5 | All versions | 6.4.2-150500.3.17.1 |
qt6-base SUSE:Linux Enterprise Module for Package Hub 15 SP5 | All versions | 6.4.2-150500.3.17.1 |
qt6-base openSUSE:Leap 15.5 | All versions | 6.4.2-150500.3.17.1 |
qt6-base-docs openSUSE:Leap 15.5 | All versions | 6.4.2-150500.3.17.1 |
qt6-base openSUSE:Tumbleweed | All versions | 6.7.0-1.1 |
Products include Qt Qt.
How do I fix CVE-2024-30161?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2024-30161 being exploited?
There is no known exploitation of CVE-2024-30161 in the wild and no public exploit code.
Other vulnerabilities in Qt Qt
Sources
Also known as AZL-38545, GHSA-5gxc-5wfv-r5f9, SUSE-SU-2024:1174-1, UBUNTU-CVE-2024-30161, openSUSE-SU-2024:13844-1.