Every CVE Search/ Get API key

CVE-2022-4170

The rxvt-unicode package is vulnerable to a remote code execution, in the Perl background...

9.8 CriticalFix available

The rxvt-unicode package is vulnerable to a remote code execution, in the Perl background extension, when an attacker can control the data written to the user's terminal and certain options are set.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.22%Down 1.7 points since Dec 10, 2022
90%50%10%1%

What each source reports

NVD Score used 9.8

The rxvt-unicode package is vulnerable to a remote code execution, in the Perl background extension, when an attacker can control the data written to the user's terminal and certain options are set.

Record
CVE-2022-4170
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-74
Updated
2026-11-02
CVE List 9.8

The rxvt-unicode package is vulnerable to a remote code execution, in the Perl background extension, when an attacker can control the data written to the user's terminal and certain options are set.

Record
CVE-2022-4170
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-74
Updated
2026-11-02
EUVDEUVD-2022-51531 9.8

The rxvt-unicode package is vulnerable to a remote code execution, in the Perl background extension, when an attacker can control the data written to the user's terminal and certain options are set.

Record
EUVD-2022-51531
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-v3h7-vj8g-6x3r 9.8

The rxvt-unicode package is vulnerable to a remote code execution, in the Perl background...

The rxvt-unicode package is vulnerable to a remote code execution, in the Perl background extension, when an attacker can control the data written to the user's terminal and certain options are set.

Record
GHSA-v3h7-vj8g-6x3r
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-74
Updated
2026-11-02
OSVALPINE-CVE-2022-4170 9.8

The rxvt-unicode package is vulnerable to a remote code execution, in the Perl background extension, when an attacker can control the data written to the user's terminal and certain options are set.

Record
ALPINE-CVE-2022-4170
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSV 9.8

The rxvt-unicode package is vulnerable to a remote code execution, in the Perl background extension, when an attacker can control the data written to the user's terminal and certain options are set.

Record
CVE-2022-4170
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-74
Updated
2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2022-4170 9.8

The rxvt-unicode package is vulnerable to a remote code execution, in the Perl background extension, when an attacker can control the data written to the user's terminal and certain options are set.

Record
DEBIAN-CVE-2022-4170
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSVUBUNTU-CVE-2022-4170 9.8

The rxvt-unicode package is vulnerable to a remote code execution, in the Perl background extension, when an attacker can control the data written to the user's terminal and certain options are set.

Record
UBUNTU-CVE-2022-4170
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSVMGASA-2022-0459 No score

Updated rxvt-unicode packages fix security vulnerability

rxvt-unicode 9.25 and 9.26 are vulnerable to remote code execution, in the Perl background extension, when an attacker can control the data written to the user's terminal and certain options are set. (CVE-2022-4170)

Record
MGASA-2022-0459
Updated
2026-11-02
OSVopenSUSE-SU-2023:0306-1 No score

Security update for rxvt-unicode

This update for rxvt-unicode fixes the following issues:

  • Update to version 9.31: (CVE-2022-4170 boo#1206069)

    • implement a fix for CVE-2022-4170 (reported and analyzed by David Leadbeater). While present in version 9.30, it should not be exploitable. It is exploitable in versions 9.25 and 9.26, at least, and allows anybody controlling output to the terminal to execute arbitrary code in the urxvt process.
    • the background extension no longer requires off focus fading support to be compiled in.
    • the confirm-paste extension now offers a choice betwene pasting the original or a sanitized version, and also frees up memory used to store the paste text immediately.
    • fix compiling without frills.
    • fix rewrapMode: never.
    • fix regression that caused urxvt to no longer emit responses to OSC color queries other than OSC 4 ones.
    • fix regression that caused urxvt to no longer process OSC 705.
    • restore CENTURY to be 1900 to 'improve' year parsing in urclock (or at least go back to the old interpretation) (based on an analysis by Tommy Pettersson).
    • exec_async (used e.g. by the matcher extension to spawn processes) now sets the URXVT_EXT_WINDOWID variable to the window id of the terminal.
    • implement -fps option/refreshRate resource to change the default 60 Hz maximum refresh limiter. I always wanted an fps option, but had to wait for a user requesting it.
    • new clickthrough extension.
    • perl now also requires Xext.
    • X region and shape extension functionality has been exposed to perl extensions.
    • RENDER extension no longer depends on ENABLE_XIM_ONTHESPOT.
Record
openSUSE-SU-2023:0306-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:13323-1 No score

rxvt-unicode-9.31-1.1 on GA media

These are all security issues fixed in the rxvt-unicode-9.31-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13323-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
rxvt-unicode
Alpine:v3.18
before 9.31-r0
9.31-r0
rxvt-unicode
Alpine:v3.19
before 9.31-r0
9.31-r0
rxvt-unicode
Alpine:v3.20
before 9.31-r0
9.31-r0
rxvt-unicode
Alpine:v3.21
before 9.31-r0
9.31-r0
rxvt-unicode
Alpine:v3.22
before 9.31-r0
9.31-r0
rxvt-unicode
Alpine:v3.23
before 9.31-r0
9.31-r0
rxvt-unicode
Alpine:v3.24
before 9.31-r0
9.31-r0
rxvt-unicode
Debian:12
All versions, plus listed versions
9.30-29.31-19.31-29.31-39.31-3.1
None known
rxvt-unicode
Debian:13
before 9.31-1
9.31-1
rxvt-unicode
Debian:14
before 9.31-1
9.31-1
Show 14 moreShow less
Affected packages
PackageAffectedFixed
rxvt-unicode
Mageia:8
before 9.26-1.1.mga8
9.26-1.1.mga8
rxvt-unicode
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
9.21-19.21-1build19.21-1ubuntu0.1~esm1
None known
rxvt-unicode
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
9.22-1build29.22-39.22-3ubuntu0.1~esm1
None known
rxvt-unicode
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
9.22-6build19.22-6build29.22-6build39.22-6ubuntu0.1~esm1
None known
rxvt-unicode
Ubuntu:22.04:LTS
All versions, plus listed versions
9.22-119.26-29.30-19.30-29.30-2build1
None known
rxvt-unicode
Ubuntu:24.04:LTS
All versions, plus listed versions
9.31-19.31-29.31-39.31-3build19.31-3build2
None known
rxvt-unicode
Ubuntu:25.10
All versions, plus listed versions
9.31-3build3
None known
rxvt-unicode
Ubuntu:26.10
All versions, plus listed versions
9.31-3build49.31-3build5
None known
rxvt-unicode
Ubuntu:26.04:LTS
All versions, plus listed versions
9.31-3build39.31-3build4
None known
rxvt-unicode
SUSE:Package Hub 15 SP4
before 9.31-bp155.3.3.1
9.31-bp155.3.3.1
rxvt-unicode
SUSE:Package Hub 15 SP5
before 9.31-bp155.3.3.1
9.31-bp155.3.3.1
rxvt-unicode
openSUSE:Leap 15.4
before 9.31-bp155.3.3.1
9.31-bp155.3.3.1
rxvt-unicode
openSUSE:Leap 15.5
before 9.31-bp155.3.3.1
9.31-bp155.3.3.1
rxvt-unicode
openSUSE:Tumbleweed
before 9.31-1.1
9.31-1.1

History

History
RecordedChangedSources
affected, factsOSV
affected, aliases, referencesOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-4170 is a critical vulnerability (CVSS 9.8) in Rxvt-unicode Project Rxvt-unicode, published December 9, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.22%, the 82nd percentile. Fixed in rxvt-unicode 9.31-r0.

References

Show 10 moreShow less
MoveEnter Open