CVE-2022-25255 Path traversal in n/a

High 7.8 Published Updated

An attacker can execute arbitrary binaries from the current working directory via QProcess, leading to code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-25255?

CVE-2022-25255 is a high-severity path traversal vulnerability in Qt Qt, published on 16 Feb 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In 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.

Which versions are affected by CVE-2022-25255?

It affects 1 product.

Linux distribution packages (20)
qt5-devel AlmaLinux:8All versions5.15.3-1.el8
qt5-rpm-macros AlmaLinux:8All versions5.15.3-1.el8
qt5-srpm-macros AlmaLinux:8All versions5.15.3-1.el8
qt5 AlmaLinux:9All versions5.15.3-1.el9
qt5-devel AlmaLinux:9All versions5.15.3-1.el9
qt5-rpm-macros AlmaLinux:9All versions5.15.3-1.el9
qt5-srpm-macros AlmaLinux:9All versions5.15.3-1.el9
qt5 Red Hat:enterprise_linux:8::appstreamAll versions0:5.15.3-1.el8
qt5-rpm-macros Red Hat:enterprise_linux:8::appstreamAll versions0:5.15.3-1.el8
qt5-srpm-macros Red Hat:enterprise_linux:8::appstreamAll versions0:5.15.3-1.el8
qt5-devel Red Hat:enterprise_linux:8::crbAll versions0:5.15.3-1.el8
qt5 Red Hat:enterprise_linux:9::appstreamAll versions0:5.15.3-1.el9
qt5-rpm-macros Red Hat:enterprise_linux:9::appstreamAll versions0:5.15.3-1.el9
qt5-srpm-macros Red Hat:enterprise_linux:9::appstreamAll versions0:5.15.3-1.el9
qt5-devel Red Hat:enterprise_linux:9::crbAll versions0:5.15.3-1.el9
qt5 Rocky Linux:8All versions0:5.15.3-1.el8
qt5 Rocky Linux:9All versions0:5.15.3-1.el9
libqt5-qtbase openSUSE:TumbleweedAll versions5.15.2+kde294-4.1
qt6-base openSUSE:TumbleweedAll versions6.2.3-2.1
qutebrowser openSUSE:TumbleweedAll versions2.5.0-1.1

Products include Qt Qt.

How do I fix CVE-2022-25255?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-25255 being exploited?

There is no known exploitation of CVE-2022-25255 in the wild and no public exploit code.

All Qt Qt vulnerabilities

Sources

Also known as ALSA-2022:7482, ALSA-2022:8022, AZL-50050, DEBIAN-CVE-2022-25255, GHSA-fw78-qp2x-5gc7, OESA-2022-1787 and 9 more.

Is CVE-2022-25255 in your software?

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

Check your SBOMs for free