CVE-2022-25255

NameCVE-2022-25255
DescriptionIn Qt 5.9.x through 5.15.x before 5.15.9 and 6.x before 6.2.4 on Linux and UNIX, QProcess could execute a binary from the current working directory when not found in the PATH.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
qt6-base (PTS)bookworm6.4.2+dfsg-10fixed
sid, trixie6.7.2+dfsg-4fixed
qtbase-opensource-src (PTS)jessie, jessie (lts)5.3.2+dfsg-4+deb8u7fixed
stretch (security)5.7.1+dfsg-3+deb9u3fixed
stretch (lts), stretch5.7.1+dfsg-3+deb9u5fixed
buster, buster (lts)5.11.3+dfsg1-1+deb10u7vulnerable
buster (security)5.11.3+dfsg1-1+deb10u6vulnerable
bullseye5.15.2+dfsg-9+deb11u1fixed
bookworm5.15.8+dfsg-11+deb12u2fixed
sid, trixie5.15.15+dfsg-2fixed
qtbase-opensource-src-gles (PTS)bullseye5.15.2+dfsg-4vulnerable
bookworm5.15.8+dfsg-3fixed
sid, trixie5.15.15+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
qt6-basesource(unstable)6.2.4+dfsg-4
qtbase-opensource-srcsourcejessie(not affected)
qtbase-opensource-srcsourcestretch(not affected)
qtbase-opensource-srcsourcebullseye5.15.2+dfsg-9+deb11u1
qtbase-opensource-srcsource(unstable)5.15.2+dfsg-15
qtbase-opensource-src-glessource(unstable)5.15.4+dfsg-2

Notes

[buster] - qtbase-opensource-src <ignored> (Breaks existing behaviour and upstream also skipped from 5.12 branch)
[stretch] - qtbase-opensource-src <not-affected> (Vulnerable code introduced later)
[bullseye] - qtbase-opensource-src-gles <no-dsa> (Minor issue)
[buster] - qtbase-opensource-src-gles <ignored> (Breaks existing behaviour and upstream also skipped from 5.12 branch)
https://codereview.qt-project.org/c/qt/qtbase/+/393113
https://codereview.qt-project.org/c/qt/qtbase/+/394914
https://codereview.qt-project.org/c/qt/qtbase/+/396020
https://github.com/qt/qtbase/commit/ab6915f0efb12cfe48d1f126f4a828212f853ce5 (v6.2.4)
https://download.qt.io/official_releases/qt/5.15/qprocess5-15.diff
https://download.qt.io/official_releases/qt/6.2/qprocess6-2.diff
https://www.qt.io/blog/security-advisory-qprocess
[jessie] - qtbase-opensource-src <not-affected> (Vulnerable code introduced later)

Search for package or bug name: Reporting problems