CVE-2021-33477
rxvt-unicode 9.22, rxvt 2.7.10, mrxvt 0.5.4, and Eterm 0.9.7 allow (potentially remote) code...
rxvt-unicode 9.22, rxvt 2.7.10, mrxvt 0.5.4, and Eterm 0.9.7 allow (potentially remote) code execution because of improper handling of certain escape sequences (ESC G Q). A response is terminated by a newline.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
rxvt-unicode 9.22, rxvt 2.7.10, mrxvt 0.5.4, and Eterm 0.9.7 allow (potentially remote) code execution because of improper handling of certain escape sequences (ESC G Q). A response is terminated by a newline.
- Record
CVE-2021-33477- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.5 Medium
AV:N/AC:L/Au:S/C:P/I:P/A:P - Weakness
- CWE-755
- Updated
- 2026-11-02
CVE List No score
rxvt-unicode 9.22, rxvt 2.7.10, mrxvt 0.5.4, and Eterm 0.9.7 allow (potentially remote) code execution because of improper handling of certain escape sequences (ESC G Q). A response is terminated by a newline.
- Record
CVE-2021-33477- Updated
- 2026-11-02
EUVDEUVD-2021-20180 No score
rxvt-unicode 9.22, rxvt 2.7.10, mrxvt 0.5.4, and Eterm 0.9.7 allow (potentially remote) code execution because of improper handling of certain escape sequences (ESC G Q). A response is terminated by a newline.
- Record
EUVD-2021-20180- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-vm2c-wqqr-v3gc
8.8
rxvt-unicode 9.22, rxvt 2.7.10, mrxvt 0.5.4, and Eterm 0.9.7 allow (potentially remote) code...
rxvt-unicode 9.22, rxvt 2.7.10, mrxvt 0.5.4, and Eterm 0.9.7 allow (potentially remote) code execution because of improper handling of certain escape sequences (ESC G Q). A response is terminated by a newline.
- Record
GHSA-vm2c-wqqr-v3gc- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-755
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-33477
8.8
rxvt-unicode 9.22, rxvt 2.7.10, mrxvt 0.5.4, and Eterm 0.9.7 allow (potentially remote) code execution because of improper handling of certain escape sequences (ESC G Q). A response is terminated by a newline.
- Record
ALPINE-CVE-2021-33477- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSV
8.8
rxvt-unicode 9.22, rxvt 2.7.10, mrxvt 0.5.4, and Eterm 0.9.7 allow (potentially remote) code execution because of improper handling of certain escape sequences (ESC G Q). A response is terminated by a newline.
- Record
CVE-2021-33477- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2021-33477
8.8
rxvt-unicode 9.22, rxvt 2.7.10, mrxvt 0.5.4, and Eterm 0.9.7 allow (potentially remote) code execution because of improper handling of certain escape sequences (ESC G Q). A response is terminated by a newline.
- Record
DEBIAN-CVE-2021-33477- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-33477
8.8
rxvt-unicode 9.22, rxvt 2.7.10, mrxvt 0.5.4, and Eterm 0.9.7 allow (potentially remote) code execution because of improper handling of certain escape sequences (ESC G Q). A response is terminated by a newline.
- Record
UBUNTU-CVE-2021-33477- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-04
OSVMGASA-2021-0358 No score
Updated rvxt-unicode, mxrvt, eterm packages fix security vulnerability
rxvt-unicode 9.22, rxvt 2.7.10, mrxvt 0.5.4, and Eterm 0.9.7 allow (potentially remote) code execution because of improper handling of certain escape sequences (ESC G Q). A response is terminated by a newline (CVE-2021-33477).
- Record
MGASA-2021-0358- Updated
- 2026-11-02
OSVopenSUSE-SU-2022:10222-1 No score
Security update for rxvt-unicode
This update for rxvt-unicode fixes the following issues:
Update to 9.26
- ev_iouring.c was wrongly required during compilation, and wrongly not packaged.
Update to 9.25 (boo#1186174 CVE-2021-33477)
- for the 17.5th anniversary, and because many distributions seem to remove rxvt in favour of urxvt, this release resurrects rclock as urclock.
- add support for systemd socket-based activation - debian bug #917105, freebsd bug #234276.
- do not destruct perl on exit anymore: this might fail for a variety of reasons, and takes unneccessary time.
- remove any macros from urxvtperl manpage(s), should fix debian bug 858385.
- the old bg image resources are now provided by the background extension, and perl is thus required for bg image support. No configuration change is needed: urxvt autoloads the background ext if any bg image resource/option is present (for OSC sequences to work you need to enable it explicity). The old bg image resources are also now deprecated; users are encouraged to switch to the new bg image interface (see man urxvt-background).
- confirm-paste now checks for any ctlchars, not just newlines.
- searchable scrollback will now ignore bracketed paste mode sequences (prompted by Daniel Gröber's patch).
- drop ISO 2022 locale support. ISO 2022 encodings are not supported in POSIX locales and clash with vt100 charset emulation (the luit program can be used as a substitute).
- perl didn't parse rgba colours specified as an array correctly, only allowing 0 and 100% intensity for each component (this affected fill and tint).
- when iterating over resources, urxvt will now try to properly handle multipart resources (such as '*background.expr'), for the benefit of autoloading perl extensions.
- ESC G (query rxvt graphics mode) has been disabled due to security implications. The rxvt graphics mode was removed in rxvt-unicode 1.5, and no programs relying on being able to query the mode are known.
- work around API change breakage in perl 5.28, based on a patch by Roman Bogorodskiy.
- improved security: rob nation's (obsolete) graphics mode queries no longer reply with linefeed in secure/default mode.
- ISO 8613-3 direct colour SGR sequences (patch by Fengguang Wu).
- xterm focus reporting mode (patch by Daniel Hahler).
- xterm SGR mouse mode.
- implement DECRQM. Patch by Přemysl Eric Janouch.
- add missing color index parameter to OSC 4 response. Patch by Přemysl Eric Janouch.
- in some window managers, if smart resize was enabled, urxvt erroneously moved the window on font change - awesome bug #532, arch linux bug ##34807 (patch by Uli Schlachter).
- fix urxvtd crash when using a background expression.
- properly restore colors when using fading and reverse video is enabled while urxvt is focused and then disabled while it is not focused, or vice versa (patch by Daniel Hahler).
- fix high memory usage when an extension repeatedly hides and shows an overlay (reported by Marcel Lautenbach).
- expose priv_modes member and constants to perl extensions (patch by Rastislav Barlik).
- fix a whole slew of const sillyness, unfortunately forced upon us by ISO C++.
- update to libecb 0x00010006.
- disable all thread support in ecb.h as we presumably don't need it.
- slightly improve Makefile source dependencies.
- work around bugs in newer Pod::Xhtml versions (flags incorrect formatting codes in xhtml/html sections but does not interpret correct ones).
- New file: /usr/bin/urclock
- restore the -256color binaries
- Record
openSUSE-SU-2022:10222-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12386-1 No score
rxvt-unicode-9.30-2.1 on GA media
These are all security issues fixed in the rxvt-unicode-9.30-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12386-1- Updated
- 2026-11-02
OSVUSN-8991-1 No score
rxvt-unicode vulnerability
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.
- Record
USN-8991-1- Updated
- 2026-11-04
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mrxvtAlpine:v3.10 |
before 0.5.4-r8 | 0.5.4-r8 |
mrxvtAlpine:v3.11 |
before 0.5.4-r8 | 0.5.4-r8 |
mrxvtAlpine:v3.13 |
before 0.5.4-r9 | 0.5.4-r9 |
mrxvtAlpine:v3.14 |
before 0.5.4-r9 | 0.5.4-r9 |
mrxvtAlpine:v3.15 |
before 0.5.4-r9 | 0.5.4-r9 |
mrxvtAlpine:v3.16 |
before 0.5.4-r9 | 0.5.4-r9 |
mrxvtAlpine:v3.17 |
before 0.5.4-r9 | 0.5.4-r9 |
mrxvtAlpine:v3.18 |
before 0.5.4-r9 | 0.5.4-r9 |
mrxvtAlpine:v3.19 |
before 0.5.4-r9 | 0.5.4-r9 |
mrxvtAlpine:v3.20 |
before 0.5.4-r9 | 0.5.4-r9 |
Show 43 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mrxvtAlpine:v3.21 |
before 0.5.4-r9 | 0.5.4-r9 |
mrxvtAlpine:v3.22 |
before 0.5.4-r9 | 0.5.4-r9 |
mrxvtAlpine:v3.23 |
before 0.5.4-r9 | 0.5.4-r9 |
mrxvtAlpine:v3.24 |
before 0.5.4-r9 | 0.5.4-r9 |
rxvt-unicodeAlpine:v3.10 |
before 9.22-r7 | 9.22-r7 |
rxvt-unicodeAlpine:v3.11 |
before 9.22-r8 | 9.22-r8 |
rxvt-unicodeAlpine:v3.13 |
before 9.22-r10 | 9.22-r10 |
rxvt-unicodeAlpine:v3.14 |
before 9.26-r0 | 9.26-r0 |
rxvt-unicodeAlpine:v3.15 |
before 9.26-r0 | 9.26-r0 |
rxvt-unicodeAlpine:v3.16 |
before 9.26-r0 | 9.26-r0 |
rxvt-unicodeAlpine:v3.17 |
before 9.26-r0 | 9.26-r0 |
rxvt-unicodeAlpine:v3.18 |
before 9.26-r0 | 9.26-r0 |
rxvt-unicodeAlpine:v3.19 |
before 9.26-r0 | 9.26-r0 |
rxvt-unicodeAlpine:v3.20 |
before 9.26-r0 | 9.26-r0 |
rxvt-unicodeAlpine:v3.21 |
before 9.26-r0 | 9.26-r0 |
rxvt-unicodeAlpine:v3.22 |
before 9.26-r0 | 9.26-r0 |
rxvt-unicodeAlpine:v3.23 |
before 9.26-r0 | 9.26-r0 |
rxvt-unicodeAlpine:v3.24 |
before 9.26-r0 | 9.26-r0 |
etermDebian:12 |
before 0.9.6-6.1 | 0.9.6-6.1 |
etermDebian:14 |
before 0.9.6-6.1, plus listed versions 0.7-10.8.10-100.8.7-0.40.8.7-0.4.10.9.2-0pre2002042903 Show 18 moreShow less0.9.2-0pre2002042903.30.9.2-80.9.2-8.10.9.3-10.9.4.0debian1-10.9.4.0debian1-20.9.4.0debian1-2.10.9.5-10.9.5-20.9.5-30.9.5-40.9.5-50.9.6-10.9.6-20.9.6-30.9.6-40.9.6-50.9.6-6 |
0.9.6-6.1 |
rxvt-unicodeDebian:12 |
before 9.22-11 | 9.22-11 |
rxvt-unicodeDebian:13 |
before 9.22-11 | 9.22-11 |
rxvt-unicodeDebian:14 |
before 9.22-11 | 9.22-11 |
rxvt-unicodeDebian:9 |
before 9.22-1+deb9u1, plus listed versions 9.22-1 |
9.22-1+deb9u1 |
etermDebian:9 |
before 0.9.6-5+deb9u1, plus listed versions 0.9.6-5 |
0.9.6-5+deb9u1 |
mrxvtDebian:9 |
before 0.5.4-2+deb9u1, plus listed versions 0.5.4-2 |
0.5.4-2+deb9u1 |
rxvtDebian:9 From an advisory covering 2 CVEs |
before 1:2.7.10-7+deb9u2, plus listed versions 1:2.7.10-71:2.7.10-7+deb9u1 |
1:2.7.10-7+deb9u2 |
rxvt-unicodeMageia:8 |
before 9.26-1.mga8 | 9.26-1.mga8 |
mrxvtMageia:8 |
before 0.5.4-15.1.mga8 | 0.5.4-15.1.mga8 |
etermMageia:8 |
before 0.9.7-3.1.mga8 | 0.9.7-3.1.mga8 |
etermUbuntu:16.04:LTS |
All versions, plus listed versions 0.9.6-10.9.6-30.9.6-4 |
None known |
mrxvtUbuntu:16.04:LTS |
All versions, plus listed versions 0.5.4-1.10.5.4-1.2 |
None known |
rxvtUbuntu:16.04:LTS |
All versions, plus listed versions 1:2.7.10-6 |
None known |
rxvt-unicodeUbuntu:Pro:16.04:LTS |
before 9.21-1ubuntu0.1~esm1, plus listed versions 9.21-19.21-1build1 |
9.21-1ubuntu0.1~esm1 |
etermUbuntu:18.04:LTS |
All versions, plus listed versions 0.9.6-5 |
None known |
rxvt-unicodeUbuntu:Pro:18.04:LTS |
before 9.22-3ubuntu0.1~esm1, plus listed versions 9.22-1build29.22-3 |
9.22-3ubuntu0.1~esm1 |
etermUbuntu:20.04:LTS |
All versions, plus listed versions 0.9.6-6build1 |
None known |
rxvt-unicodeUbuntu:Pro:20.04:LTS |
before 9.22-6ubuntu0.1~esm1, plus listed versions 9.22-6build19.22-6build29.22-6build3 |
9.22-6ubuntu0.1~esm1 |
rxvt-unicodeSUSE:Package Hub 15 SP3 From an advisory covering 2 CVEs |
before 9.26-bp154.2.3.1 | 9.26-bp154.2.3.1 |
rxvt-unicodeSUSE:Package Hub 15 SP4 From an advisory covering 2 CVEs |
before 9.26-bp154.2.3.1 | 9.26-bp154.2.3.1 |
rxvt-unicodeopenSUSE:Leap 15.3 From an advisory covering 2 CVEs |
before 9.26-bp154.2.3.1 | 9.26-bp154.2.3.1 |
rxvt-unicodeopenSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 9.26-bp154.2.3.1 | 9.26-bp154.2.3.1 |
rxvt-unicodeopenSUSE:Tumbleweed |
before 9.30-2.1 | 9.30-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| affected, aliases, references | OSV | |
| affected, facts | OSV | |
| affected | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-33477 is a high vulnerability (CVSS 8.8) in Eterm Project Eterm, published May 20, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.09%, the 90th percentile. Fixed in mrxvt 0.5.4-r8.
References
openwall.com/lists/oss-security/2021/05/17/1
openwall.com/lists/oss-security/2017/05/01/20
cvs.schmorp.de/rxvt-unicode/src/command.C?r1=1.582&r2=1.583
packetstormsecurity.com/files/162621/rxvt-2.7.0-rxvt-unicode-9.22-Code-Execution.html
sourceforge.net/projects/rxvt/files/rxvt-dev
cvs.schmorp.de/rxvt-unicode/Changes?view=log
Show 38 moreShow less
sourceforge.net/projects/materm/files/mrxvt%20source
git.enlightenment.org/apps/eterm.git/log
security.gentoo.org/glsa/202105-17
lists.debian.org/debian-lts-announce/2021/05/msg00026.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NZWGE2RJONBEHSPCBUAW72NTRTIFKZAX
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RFMU5YXXNYYVA7G2DAHRXXHO6JKVFUT
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SLPVEPBH37EBR4R54RMC6GD33J37HJXD
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UXAKO6N6NKTR6Z6KVAPEXSZQMRU52SGA
lists.debian.org/debian-lts-announce/2021/06/msg00010.html
lists.debian.org/debian-lts-announce/2021/06/msg00012.html
lists.debian.org/debian-lts-announce/2021/06/msg00011.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AO52OLNOOKOCZSJCN3R7Q25XA32BWNWP
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DUV4LDVZVW7KCGPAMFZD4ZJ4FVLPOX4C
security.gentoo.org/glsa/202209-07
nvd.nist.gov/vuln/detail/CVE-2021-33477
lists.fedoraproject.org/archives/list/[email protected]/message/6RFMU5YXXNYYVA7G2DAHRXXHO6JKVFUT
lists.fedoraproject.org/archives/list/[email protected]/message/AO52OLNOOKOCZSJCN3R7Q25XA32BWNWP
lists.fedoraproject.org/archives/list/[email protected]/message/DUV4LDVZVW7KCGPAMFZD4ZJ4FVLPOX4C
lists.fedoraproject.org/archives/list/[email protected]/message/NZWGE2RJONBEHSPCBUAW72NTRTIFKZAX
lists.fedoraproject.org/archives/list/[email protected]/message/SLPVEPBH37EBR4R54RMC6GD33J37HJXD
lists.fedoraproject.org/archives/list/[email protected]/message/UXAKO6N6NKTR6Z6KVAPEXSZQMRU52SGA
github.com/advisories/GHSA-vm2c-wqqr-v3gc
security.alpinelinux.org/vuln/CVE-2021-33477
security-tracker.debian.org/tracker/CVE-2021-33477
advisories.mageia.org/MGASA-2021-0358.html
bugs.mageia.org/show_bug.cgi?id=28939
openwall.com/lists/oss-security/2021/05/17/2
lists.fedoraproject.org/archives/list/[email protected]/thread/6RFMU5YXXNYYVA7G2DAHRXXHO6JKVFUT
lists.fedoraproject.org/archives/list/[email protected]/thread/UXAKO6N6NKTR6Z6KVAPEXSZQMRU52SGA
debian.org/lts/security/2021/dla-2681
debian.org/lts/security/2021/dla-2682
ubuntu.com/security/CVE-2021-33477
cve.org/CVERecord?id=CVE-2021-33477
ubuntu.com/security/notices/USN-8991-1
lists.opensuse.org/archives/list/[email protected]/thread/YIRRHCE53YNBLDGNULGNED3XGUMUZDMO
bugzilla.suse.com/1186174
suse.com/security/cve/CVE-2008-1142
suse.com/security/cve/CVE-2021-33477