CVE-2022-40983 Integer overflow in Qt

High 8.8 Published Updated

An integer 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-40983?

CVE-2022-40983 is a high-severity 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

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

Weakness: CWE-190

Which versions are affected by CVE-2022-40983?

It affects 1 product.

Products include Qt Qt.

How do I fix CVE-2022-40983?

Upgrade to a fixed version.

Is CVE-2022-40983 being exploited?

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

All Qt Qt vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-40983, GHSA-32ph-rfjm-xcxh.

Is CVE-2022-40983 in your software?

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

Check your SBOMs for free