CVE-2025-26596 Xorg: xwayland: heap overflow in xkbwritekeysyms()

High 7.8 Published Updated

A heap overflow in Xorg and Xwayland allows attackers to execute arbitrary code or cause a denial of service via crafted key symbol data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-26596?

CVE-2025-26596 is a high-severity memory corruption vulnerability in Redhat Enterprise Linux, published on 25 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A heap overflow flaw was found in X.Org and Xwayland. The computation of the length in XkbSizeKeySyms() differs from what is written in XkbWriteKeySyms(), which may lead to a heap-based buffer overflow.

Weakness: CWE-787

Which versions are affected by CVE-2025-26596?

It affects 4 products.

Products include Redhat Enterprise Linux, Tigervnc Tigervnc, X.org X Server, X.org Xwayland.

How do I fix CVE-2025-26596?

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-2025-26596 being exploited?

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

All Redhat Enterprise Linux vulnerabilities

Sources

Also known as AZL-57280, AZL-57404, AZL-57414, BELL-CVE-2025-26596, DEBIAN-CVE-2025-26596, GHSA-c52f-45m8-h2r6 and 1 more.

Is CVE-2025-26596 in your software?

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

Check your SBOMs for free