Rxvt-Unicode Vulnerability — Ubuntu Security Update (USN-8991-1)
USN-8991-1 fixes CVE-2021-33477 in rxvt-unicode on Ubuntu: improperly handled escape sequences in displayed text can execute arbitrary code (CVSS 8.8, CVE-2021-33477 class). Update: sudo apt update && sudo apt upgrade rxvt-unicode and restart any running terminal sessions.
What this means under a SharedLicense license
Escape-sequence code execution in a terminal means displaying crafted output — a log file, a file listing, a curl response — runs code in the user's session without them clicking anything.
-
USN-8991-1
Publication date
3 November 2026
Overview
rxvt-unicode could be made to run programs as your login if it received
specially crafted input.
Releases
Packages
- rxvt-unicode – RXVT-like terminal emulator with Unicode support
Details
It was discovered that rxvt-unicode incorrectly handled certain escape
sequences. An attacker could possibly use this issue to execute arbitrary
code if a user displayed specially crafted text in the terminal.
It was discovered that rxvt-unicode incorrectly handled certain escape
sequences. An attacker could possibly use this issue to execute arbitrary
code if a user displayed specially crafted text in the terminal.
Update instructions
After a standard system update you need to restart rxvt-unicode to make all
the necessary changes.
Learn more about how to get the fixes.
The problem can be corrected by updating your system to the following package versions:
| Ubuntu Release | Package Version | ||
|---|---|---|---|
|
20.04
LTS focal |
rxvt-unicode –
9.22-6ubuntu0.1~esm1 Ubuntu Pro |
||
|
18.04
LTS bionic |
rxvt-unicode –
9.22-3ubuntu0.1~esm1 Ubuntu Pro |
||
|
16.04
LTS xenial |
rxvt-unicode –
9.21-1ubuntu0.1~esm1 |
||
|
rxvt-unicode-256color –
9.21-1ubuntu0.1~esm1 |
|||
|
rxvt-unicode-lite –
9.21-1ubuntu0.1~esm1 |
|||
References
Frequently Asked Questions
What is CVE-2021-33477?
Who is affected?
How do I apply the fix?
Why is displaying text dangerous in a terminal?
References
Check your system for vulnerabilities
Select your product and operating system to see the exact fix commands that apply to you.
Check Your System