| Name | CVE-2022-40983 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| qt6-declarative (PTS) | bookworm | 6.4.2+dfsg-1 | fixed |
| trixie | 6.8.2+dfsg-7 | fixed | |
| forky | 6.9.2+dfsg-4 | fixed | |
| sid | 6.9.2+dfsg-5 | fixed | |
| qtdeclarative-opensource-src (PTS) | bullseye | 5.15.2+dfsg-6 | vulnerable |
| bookworm | 5.15.8+dfsg-3 | vulnerable | |
| trixie | 5.15.15+dfsg-3 | vulnerable | |
| forky, sid | 5.15.17+dfsg-3 | vulnerable | |
| qtdeclarative-opensource-src-gles (PTS) | bullseye | 5.15.2+dfsg-2 | vulnerable |
| bookworm | 5.15.8+dfsg-1 | vulnerable | |
| trixie | 5.15.15+dfsg-2 | vulnerable | |
| forky, sid | 5.15.17+dfsg-2 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| qt6-declarative | source | (unstable) | 6.4.2+dfsg~rc1-2 | unimportant | ||
| qtdeclarative-opensource-src | source | (unstable) | (unfixed) | unimportant | ||
| qtdeclarative-opensource-src-gles | source | (unstable) | (unfixed) | unimportant |
Not considered a security issue, QML only supported from a trusted source
https://www.talosintelligence.com/vulnerability_reports/TALOS-2022-1650
https://www.qt.io/blog/regarding-recent-reported-security-vulnerabilities-from-cisco-talos
https://bugreports.qt.io/browse/QTBUG-107619
https://codereview.qt-project.org/c/qt/qtdeclarative/+/437921