CVE-2021-27135
xterm before Patch #366 allows remote attackers to execute arbitrary code or cause a denial of service (segmentation fault) via a crafted UTF-8 combining character sequence.
02 Description
xterm before Patch #366 allows remote attackers to execute arbitrary code or cause a denial of service (segmentation fault) via a crafted UTF-8 combining character sequence.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 7.84% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 94.3% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-02-10 15:51Z5 YR AGO
- Last updated
- 2024-08-03 20:40Z2 YR AGO
- Reserved
- 2021-02-10
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-787Out-of-bounds WriteBase
- Data version
- 5.1
- Document digest
- 7222e248f9d80f474fd0292a87485e79af825619bf2787d9c81af47e233c6fd4
05 Affected products
06 References
- www.openwall.comhttps://www.openwall.com/lists/oss-security/2021/02/09/7
- www.openwall.comhttps://www.openwall.com/lists/oss-security/2021/02/09/9
- www.openwall.com[oss-security] 20210210 Re: Re: screen crash processing combining charactershttp://www.openwall.com/lists/oss-security/2021/02/10/7
- lists.debian.org[debian-lts-announce] 20210213 [SECURITY] [DLA 2558-1] xterm security updatehttps://lists.debian.org/debian-lts-announce/2021/02/msg00019.html
- lists.fedoraproject.orgFEDORA-2021-e7a8e79fa8https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35LK2ZXEIJUOGOA7FV2TJL3L6LFJ4X5S/
- news.ycombinator.comhttps://news.ycombinator.com/item?id=26524650
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2021-27135
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=1927559
- invisible-island.nethttps://invisible-island.net/xterm/xterm.log.html
- github.comhttps://github.com/ThomasDickey/xterm-snapshots/commit/82ba55b8f994ab30ff561a347b82ea340ba7075c
- bugzilla.suse.comhttps://bugzilla.suse.com/show_bug.cgi?id=1182091
- seclists.org20210520 CVE-2021-31535 libX11 Insufficient Length Checks PoC and Archeologyhttp://seclists.org/fulldisclosure/2021/May/52
- security.gentoo.orgGLSA-202208-22https://security.gentoo.org/glsa/202208-22
07 Fixed in
AlmaLinux 8
- xterm Fixed in 331-1.el8_3.2
- xterm-resize Fixed in 331-1.el8_3.2
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- xterm Fixed in 366-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- xterm Fixed in 331-1.el8_3.2
- xterm-resize Fixed in 331-1.el8_3.2
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- xterm Fixed in 366-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- xterm Fixed in 366-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- xterm Fixed in 366-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- xterm Fixed in 322-1ubuntu1.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- xterm Fixed in 330-1ubuntu2.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- xterm Fixed in 353-1ubuntu1.20.04.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.