Vulnerabilities / CVE-2021-27135

critical

CVE-2021-27135

xterm: crash when processing combining characters

Published Modified
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, CBL-Mariner. Rated lower by Red Hat (high), AlmaLinux (high), Amazon (high), Oracle (high), Rocky Linux (high), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
CBL-Mariner 2.0xterm0:372-1.cm2
alma 8xterm, xterm-resize331-1.el8_3.2
alpine 3.13xterm367-r0
alpine 3.14xterm366-r0
alpine 3.15xterm366-r0
alpine 3.16xterm366-r0
alpine 3.17xterm366-r0
alpine 3.18xterm366-r0
alpine 3.19xterm366-r0
alpine 3.20xterm366-r0
alpine 3.21xterm366-r0
alpine 3.22xterm366-r0
Show all 41 entries from 36 sources
SourcePackageFixed in
CBL-Mariner 2.0xterm0:372-1.cm2
alma 8xterm331-1.el8_3.2
alma 8xterm-resize331-1.el8_3.2
alpine 3.13xterm367-r0
alpine 3.14xterm366-r0
alpine 3.15xterm366-r0
alpine 3.16xterm366-r0
alpine 3.17xterm366-r0
alpine 3.18xterm366-r0
alpine 3.19xterm366-r0
alpine 3.20xterm366-r0
alpine 3.21xterm366-r0
alpine 3.22xterm366-r0
alpine 3.23xterm366-r0
alpine 3.24xterm366-r0
alpine edgexterm366-r0
amazon linux 1xterm295-3.15.amzn1
amazon linux 1xterm-debuginfo295-3.15.amzn1
amazon linux 2xterm295-3.amzn2.1
amazon linux 2xterm-debuginfo295-3.amzn2.1
debian 10xterm344-1+deb10u1
debian 11xterm366-1
debian 12xterm366-1
debian 13xterm366-1
debian 14xterm366-1
debian 9xterm327-2+deb9u1
echoxterm366-1
Oracle Linux 6xterm253-1.0.1.el6
Oracle Linux 7xterm295-3.el7_9.1
Oracle Linux 8xterm331-1.el8_3.2
Oracle Linux 8xterm-resize331-1.el8_3.2
Red Hatxtermno fix listed
rocky 8xterm331-1.el8_3.2
rocky 8xterm-resize331-1.el8_3.2
ubuntu 16.04xterm322-1ubuntu1.2
ubuntu 16.04-ESMxterm322-1ubuntu1.2
ubuntu 18.04xterm330-1ubuntu2.2
ubuntu 18.04-ESMxterm330-1ubuntu2.2
ubuntu 20.04xterm353-1ubuntu1.20.04.2
ubuntu 20.04-ESMxterm353-1ubuntu1.20.04.2
ubuntu 20.10xterm353-1ubuntu1.20.10.2

References

All 22 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.