Critical Security Update for xterm: Code Execution Vulnerability

xterm Updated 02 Oct 2025

Summary

13/05/2025
N/A
Yes i
Unrated
Not published

ALSA-2025:7427: Low: xterm security update. Affects xterm versions < 366-10.el9_6. Fixed in 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 AlmaLinux. The recent vulnerability identified poses a significant risk, allowing potential code execution through specific input sequences.

Vulnerability Detail

The vulnerability, identified as CVE-2022-45063, allows for code execution via OSC 50 input sequences in the xterm program. This issue arises from improper handling of input sequences, which could enable an attacker to execute arbitrary code on the affected system. The ramifications of this vulnerability can be severe, potentially leading to unauthorized access and control over the system running the vulnerable xterm version.

How To Fix

Minimum fixed version

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 the xterm terminal emulator until the package is updated to the patched version. Additionally, restricting the input sequences that can be processed by xterm may help reduce exposure to this vulnerability.

Conclusion

The xterm security vulnerability, CVE-2022-45063, poses a significant risk by allowing code execution through specific input sequences. Users are strongly advised to update their xterm package to the latest version to mitigate this risk. For real-time monitoring of vulnerabilities, consider using Vulert, which can help identify if your application is affected.

See every vulnerability recorded for xterm →

Share this vulnerability

FAQ

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

You can use the Vulert platform to monitor and alert for open-source vulnerabilities. Visit Vulert Scanner to check if your application is affected without needing to sign up.

The risks include potential unauthorized access and control over the system, which could lead to data breaches or system compromise.

Yes, a patch is available. Users should update to version 366-10.el9_6 or later to fix the vulnerability.

If immediate updates are not possible, consider using alternative terminal emulators or restricting the input sequences processed by xterm as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for xterm.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

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