Arbitrary Command Injection Affecting xterm package, versions <0:366-10.el9_6


Severity

Recommended
low

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
6.56% (94th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX9-XTERM-10188740
  • published21 May 2025
  • disclosed13 May 2025

Introduced: 13 May 2025

CVE-2022-45063  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 xterm to version 0:366-10.el9_6 or higher.
This issue was patched in ALSA-2025:7427.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xterm package and not the xterm package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

xterm before 375 allows code execution via font ops, e.g., because an OSC 50 response may have Ctrl-g and therefore lead to command execution within the vi line-editing mode of Zsh. NOTE: font ops are not allowed in the xterm default configurations of some Linux distributions.

CVSS Base Scores

version 3.1