🛡️ CVE-2022-40983 on Debian — qt6-declarative
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.
Distribution advisory
This page covers CVE-2022-40983 as tracked by Debian, for the package qt6-declarative. The fix is available in version 6.4.2+dfsg~rc1-2; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
DEBIAN-CVE-2022-40983 is classified as CWE-190: Integer Overflow or Wraparound. Arithmetic produces a value too large for its type and wraps around, so a later size or bounds check passes when it should not.
Affected software
DEBIAN-CVE-2022-40983 is recorded against 3 packages.
- qt6-declarative (fixed in 6.4.2+dfsg~rc1-2)
- qtdeclarative-opensource-src
- qtdeclarative-opensource-src-gles
Timeline and source
Published on 12 January 2023 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-40983 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| qt6-declarative | — | 6.4.2+dfsg~rc1-2 |
| qtdeclarative-opensource-src | — | — |
| qtdeclarative-opensource-src-gles | — | — |
References
Similar Threats
- Unknown DEBIAN-CVE-2025-14576
- Unknown UBUNTU-CVE-2025-14576
- Unknown DEBIAN-CVE-2025-12385
- Unknown UBUNTU-CVE-2025-12385
- Unknown DEBIAN-CVE-2022-43591
Site Security Check
Is qt6-declarative part of your stack?
DEBIAN-CVE-2022-40983 is rated CVSS 8.8 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.