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, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, 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~rc1-2 | fixed |
sid | 6.4.2+dfsg-1 | fixed | |
qtdeclarative-opensource-src (PTS) | buster | 5.11.3-4 | vulnerable |
bullseye | 5.15.2+dfsg-6 | vulnerable | |
bookworm, sid | 5.15.8+dfsg-2 | vulnerable | |
qtdeclarative-opensource-src-gles (PTS) | bullseye | 5.15.2+dfsg-2 | vulnerable |
bookworm, sid | 5.15.8+dfsg-1 | 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