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


Severity

Recommended
low

Based on Rocky Linux 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-ROCKY9-XTERMRESIZE-13290206
  • published5 Oct 2025
  • disclosed10 Nov 2022

Introduced: 10 Nov 2022

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

How to fix?

Upgrade Rocky-Linux:9 xterm-resize to version 0:366-10.el9_6 or higher.
This issue was patched in RLSA-2025:7427.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xterm-resize package and not the xterm-resize package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux: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