Stack-based Buffer Overflow Affecting xorg-x11-server-Xnest package, versions <0:21.1.13-5.amzn2023.0.3


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-XORGX11SERVERXNEST-9525831
  • published27 Mar 2025
  • disclosed25 Feb 2025

Introduced: 25 Feb 2025

CVE-2025-26595  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 xorg-x11-server-Xnest to version 0:21.1.13-5.amzn2023.0.3 or higher.
This issue was patched in ALAS2023-2025-892.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xorg-x11-server-Xnest package and not the xorg-x11-server-Xnest package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

A buffer overflow flaw was found in X.Org and Xwayland. The code in XkbVModMaskText() allocates a fixed-sized buffer on the stack and copies the names of the virtual modifiers to that buffer. The code fails to check the bounds of the buffer and would copy the data regardless of the size.

CVSS Base Scores

version 3.1