CVE-2022-43591 Memory corruption in Qt

High 8.8 Published Updated

A buffer overflow in Qt's QML QtScript Reflect API allows arbitrary code execution when a user visits a malicious web page.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-43591?

CVE-2022-43591 is a high-severity memory corruption vulnerability in Qt Qt, published on 12 Jan 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A buffer overflow vulnerability exists in the QML QtScript Reflect API of Qt Project Qt 6.3.2. A specially-crafted javascript code can trigger an out-of-bounds memory access, which can lead to arbitrary code execution. Target application would need to access a malicious web page to trigger this vulnerability.

Weakness: CWE-122

Which versions are affected by CVE-2022-43591?

It affects 1 product.

Products include Qt Qt.

How do I fix CVE-2022-43591?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-43591 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-43591 exists.

All Qt Qt vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-43591, GHSA-hvpm-p42q-mxrw.

Is CVE-2022-43591 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free