CVE-2022-24130 Memory corruption in n/a

Medium 5.5 Published Updated

Attackers can trigger a buffer overflow in xterm via crafted text when Sixel support is enabled, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-24130?

CVE-2022-24130 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 31 Jan 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

xterm through Patch 370, when Sixel support is enabled, allows attackers to trigger a buffer overflow in set_sixel in graphics_sixel.c via crafted text.

Weakness: CWE-120

Which versions are affected by CVE-2022-24130?

It affects 3 products.

Linux distribution packages (15)
xterm AlmaLinux:9All versions366-12.el9_6
xterm-resize AlmaLinux:9All versions366-12.el9_6
xterm Red Hat:enterprise_linux:9::appstreamAll versions0:366-12.el9_6
xterm-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:366-12.el9_6
xterm-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:366-12.el9_6
xterm-resize Red Hat:enterprise_linux:9::appstreamAll versions0:366-12.el9_6
xterm-resize-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:366-12.el9_6
xterm Rocky Linux:9All versions0:366-12.el9_6
xterm SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions330-150200.11.6.1
xterm SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions330-150200.11.6.1
xterm SUSE:Linux Enterprise Server 12 SP5All versions308-5.6.1
xterm SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions308-5.6.1
xterm openSUSE:Leap 15.3All versions330-150200.11.6.1
xterm openSUSE:Leap 15.4All versions330-150200.11.6.1
mlterm openSUSE:TumbleweedAll versions3.9.2-3.1

Products include Debian Debian Linux, Fedoraproject Fedora, Invisible-Island Xterm.

How do I fix CVE-2022-24130?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-24130 being exploited?

There is no known exploitation of CVE-2022-24130 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALSA-2025:14075, AZL-8456, DEBIAN-CVE-2022-24130, DLA-2913-1, GHSA-5v7p-cf4c-24jq, MGASA-2022-0051 and 8 more.

Is CVE-2022-24130 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free