Arbitrary Code Injection Affecting xterm-resize package, versions <0:366-9.el9_4.1


Severity

Recommended
medium

Based on Red Hat Enterprise 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-RHEL9-XTERMRESIZE-21894626
  • published30 Oct 2026
  • disclosed10 Nov 2022

Introduced: 10 Nov 2022

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

How to fix?

Upgrade RHEL:9 xterm-resize to version 0:366-9.el9_4.1 or higher.
This issue was patched in RHSA-2026:92418.

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 RHEL. See How to fix? for RHEL: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