Moderate Security Vulnerability in xterm Package: Buffer Overflow Risk

xterm Updated 04 Oct 2025

Summary

04/10/2025
N/A
Yes i
Medium
5.5

RLSA-2025:14075: Moderate: xterm security update. Affects xterm versions < 0:366-12.el9_6. Fixed in 0:366-12.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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The xterm program 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 functionality in terminal emulation. However, it has been identified to have a security vulnerability that could potentially lead to severe consequences if exploited.

Vulnerability Detail

The vulnerability, identified as CVE-2022-24130, is a buffer overflow in the set_sixel function located in graphics_sixel.c. This flaw allows an attacker to exploit the xterm terminal emulator, potentially leading to arbitrary code execution. The impact of this vulnerability is significant, as it could allow unauthorized access to system resources, data leakage, or even complete system compromise. The CVSS score for this vulnerability is 5.5, indicating a moderate severity level.

How To Fix

Minimum fixed version

0:366-12.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 limit the use of the xterm terminal emulator until the package is updated. Alternatively, consider using other terminal emulators that do not exhibit this vulnerability.

Conclusion

The xterm package has a moderate security vulnerability that could lead to significant risks if left unaddressed. Users are encouraged to update their packages promptly to mitigate these risks. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for xterm →

Share this vulnerability

FAQ

The vulnerability is a buffer overflow in the set_sixel function, which can lead to arbitrary code execution.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.

Exploitation of this vulnerability could lead to unauthorized access, data leakage, or complete system compromise.

Yes, a patched version of the xterm package is available. Updating to the latest version will resolve the issue.

As a temporary measure, consider using alternative terminal emulators or limit the use of xterm until it is updated.

Related vulnerabilities

Recent vulnerabilities recorded for xterm.

How To Fix

Minimum fixed version

0:366-12.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