Critical Code Execution Vulnerability in xterm Package

xterm Updated 04 Oct 2025

Summary

04/10/2025
N/A
Yes i
High
7.4

RLSA-2025:7427: Low: xterm security update. Affects xterm versions < 0:366-10.el9_6. Fixed in 0:366-10.el9_6. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

xterm is a terminal emulator for the X Window System, providing DEC VT102 and Tektronix 4014 compatible terminals for applications that cannot directly utilize the window system. It is widely used in various Linux distributions, including Rocky Linux, for its robust features and compatibility. However, it has been identified to have a security vulnerability that can lead to code execution under certain conditions.

Vulnerability Detail

The vulnerability, identified as CVE-2022-45063, allows for code execution via OSC 50 input sequences. This means that an attacker could potentially exploit this vulnerability to execute arbitrary code on a user's system by sending specially crafted input sequences to the xterm terminal. The implications of this vulnerability are significant, as it could lead to unauthorized access and control over the affected system, making it crucial for users to address this issue promptly.

How To Fix

Minimum fixed version

0:366-10.el9_6

This is the first release that contains the fix.

sudo dnf update xterm

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can avoid using xterm or restrict the input sequences that can be processed until the package is updated. This may involve configuring terminal settings to limit the types of input accepted.

Conclusion

The xterm package has a critical vulnerability (CVE-2022-45063) that allows for code execution via OSC 50 input sequences. Users are strongly advised to update to the patched version to mitigate risks. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for xterm →

Share this vulnerability

FAQ

CVE-2022-45063 is a vulnerability in the xterm package that allows for code execution through malicious OSC 50 input sequences.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The risks include unauthorized code execution, which can lead to system compromise and data breaches.

Yes, a patched version of the xterm package is available as '0:366-10.el9_6'.

If immediate updates are not possible, consider using alternative terminal emulators or restricting input sequences until the update can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for xterm.

How To Fix

Minimum fixed version

0:366-10.el9_6

This is the first release that contains the fix.

sudo dnf update xterm

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback