☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
X.Org logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 🐛 CWE-787
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2023-6377

CVE-2023-6377 — Xorg-x11-server: out-of-bounds memory reads/writes in xkb button actions
📅 PUBLISHED: 2023-12-13 00:00 UTC 🔄 UPDATED: 2026-10-19 01:09 UTC
[ OFFICIAL PATCH DEPLOYED ↓ ] FIX: CONFIRMED — 3+ independent sources confirm fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 1.57%
👁️
1.57% probability
39.4× above the median CVE
Tier: HIGH
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1068
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: USA License: Commercial
Patch available — upgrade to latest release
CVSS VECTOR BREAKDOWN 7.8
AV: L Attack Vector Local
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
7.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2023-6377 is a memory safety vulnerability in the Xorg X11 server (xorg-x11-server) affecting XKB button action handling. When a user queries or changes XKB button actions—such as remapping inputs when moving from a touchpad to a mouse—the server performs out-of-bounds memory reads and writes.

The vulnerability can be triggered by a local user with access to the X server, potentially leading to local privilege escalation. In environments where X11 forwarding is enabled (e.g., SSH -X or -Y), the attack surface expands to include remote scenarios, potentially enabling remote code execution. The CVSS base score of 7.8 reflects the high severity of the memory corruption issue.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Technical Analysis

XKB (X Keyboard Extension) is a core component of the X Window System that manages keyboard and pointing device mappings. The X server processes requests from clients to query and modify button action configurations.

The vulnerability resides in how the X server handles XKB button action data during query and modification operations. When a client requests a change that causes button action arrays to be resized or reorganized—for instance, transitioning from a touchpad configuration to a mouse configuration—the server fails to properly validate memory boundaries.

The out-of-bounds memory reads and writes occur because the server does not adequately check array indices against allocation sizes when processing XKB button action requests. This lack of bounds checking allows a malicious client to read or write memory outside the intended buffer.

Key characteristics of the flaw:

  • Attack vector: Local (with possible remote exposure via X11 forwarding)
  • Privilege requirements: Low — an unprivileged local user can trigger it
  • Memory corruption type: Both out-of-bounds reads and writes
  • Trigger mechanism: Querying or modifying XKB button actions, specifically transitions between device types

The NVD description specifically mentions "moving from a touchpad to a mouse" as a triggering event, suggesting that the vulnerability is in the code path that handles device type transitions and the associated button action arrays. The exact function names and file paths within the Xorg source tree are not provided in the CVE data.

Because the vulnerability affects the X server, which typically runs with elevated privileges (root), successful exploitation could result in privilege escalation to root. The "possible remote code execution" noted in the description applies specifically to X11 forwarding scenarios, where a remote user's X11 traffic is proxied through the X server.

Insufficient technical detail available regarding the specific vulnerable functions, structure layouts, or exact bounds-checking failure points. The XKB extension protocol involves multiple request types (e.g., XkbGetMap, XkbSetMap, XkbGetNamedIndicator); however, no specific protocol request names are confirmed by the NVD data.

Exploitation Scenarios

1. Reconnaissance / Target Identification

An attacker identifies a target system running Xorg-x11-server with an affected version. Initial reconnaissance involves:

  • Enumerating running X servers on the target
  • Checking X11 forwarding availability on SSH connections
  • Determining which display managers or windowing environments are in use

On multi-user systems, the attacker can identify the X server socket (typically at a predictable path) and confirm the XKB extension is present via protocol query.

2. Triggering the Vulnerability

The attacker crafts XKB requests designed to manipulate button action data. The specific trigger involves issuing query and set operations that cause the server to process button actions with invalid array indices.

The transition scenario described in the NVD description ("moving from a touchpad to a mouse") suggests that the attacker may need to simulate or request device configuration changes that cause the server to resize or reinterpret the button action arrays.

From an unprivileged local account, the attacker sends malicious XKB protocol requests to the X server socket. The server, running with elevated privileges, processes these requests without adequate bounds checking.

3. Payload / Execution Method

At the vulnerability-class level, this is a classic buffer over-read/write that allows memory corruption. Exploitation would follow standard memory corruption techniques:

  • Primitive gained: Out-of-bounds write allows overwriting adjacent memory structures
  • For privilege escalation: Overwrite function pointers, return addresses, or other metadata within the X server's heap to redirect execution
  • Alternative approach: Use the out-of-bounds read to leak sensitive memory contents to defeat ASLR

No public PoC is available; the attack chain is inferred from the vulnerability class.

4. Post-Exploitation Impact

Successful exploitation yields code execution with the privileges of the X server process, typically root:

  • Full system compromise
  • Persistence mechanisms installation
  • Credential harvesting
  • Lateral movement within the network

In X11 forwarding scenarios, the attacker could target the forwarding server, potentially compromising the remote SSH server host.

Impact Assessment

Business Impact:

  • Confidentiality: High — memory disclosure via out-of-bounds reads can expose sensitive data
  • Integrity: High — arbitrary memory writes allow modification of system data
  • Availability: High — memory corruption can crash the X server or the entire system

Affected Systems: All systems running affected versions of xorg-x11-server. Since affected versions are listed as unknown, the blast radius potentially encompasses:

  • Enterprise Linux workstations
  • Virtual desktop infrastructure (VDI) environments
  • Systems using X11 forwarding (SSH tunneling with graphical applications)
  • Any multi-user system where unprivileged users interact with X

Blast Radius: The CVSS score of 7.8 (High) with the vector indicating local, low-complexity exploitation with no user interaction required. The requirement for local access limits the remote threat, but X11 forwarding extends the attack surface to network-adjacent scenarios.

EPSS Analysis: EPSS score of 0.01587 (73.3rd percentile) indicates moderate exploitation likelihood — the vulnerability is in the upper quartile of actively exploited CVEs, warranting prioritized remediation despite no CISA KEV listing.

Detection Guidance

Sigma Rule

🔒 DETECTION RULE — API ACCESS REQUIRED

The full machine-readable detection artifact (Sigma, YARA, Suricata, Elastic, Splunk or Wazuh rule body) is available through the ValtersIT API — moved there in response to large-scale automated scraping, to keep this independently-researched intelligence sustainable. The written analysis on every record remains fully open.

[ GET API ACCESS ] →

YARA Rule

🔒 DETECTION RULE — API ACCESS REQUIRED

The full machine-readable detection artifact (Sigma, YARA, Suricata, Elastic, Splunk or Wazuh rule body) is available through the ValtersIT API — moved there in response to large-scale automated scraping, to keep this independently-researched intelligence sustainable. The written analysis on every record remains fully open.

[ GET API ACCESS ] →

Suricata IDS Rule

🔒 DETECTION RULE — API ACCESS REQUIRED

The full machine-readable detection artifact (Sigma, YARA, Suricata, Elastic, Splunk or Wazuh rule body) is available through the ValtersIT API — moved there in response to large-scale automated scraping, to keep this independently-researched intelligence sustainable. The written analysis on every record remains fully open.

[ GET API ACCESS ] →

Elastic Detection

🔒 DETECTION RULE — API ACCESS REQUIRED

The full machine-readable detection artifact (Sigma, YARA, Suricata, Elastic, Splunk or Wazuh rule body) is available through the ValtersIT API — moved there in response to large-scale automated scraping, to keep this independently-researched intelligence sustainable. The written analysis on every record remains fully open.

[ GET API ACCESS ] →

Splunk SPL Query

🔒 DETECTION RULE — API ACCESS REQUIRED

The full machine-readable detection artifact (Sigma, YARA, Suricata, Elastic, Splunk or Wazuh rule body) is available through the ValtersIT API — moved there in response to large-scale automated scraping, to keep this independently-researched intelligence sustainable. The written analysis on every record remains fully open.

[ GET API ACCESS ] →

Wazuh OSSEC Rule

🔒 DETECTION RULE — API ACCESS REQUIRED

The full machine-readable detection artifact (Sigma, YARA, Suricata, Elastic, Splunk or Wazuh rule body) is available through the ValtersIT API — moved there in response to large-scale automated scraping, to keep this independently-researched intelligence sustainable. The written analysis on every record remains fully open.

[ GET API ACCESS ] →

Mitigation & Patch Guidance

Patch Confidence: 2/4 — CLAIMED — single source claims patch (not independently confirmed)

1) Immediate Mitigations

  • Disable X11 forwarding on SSH servers until patches are verified: set X11Forwarding no in /etc/ssh/sshd_config
  • Restrict local X server access — use xhost to limit which local users can connect to the X server socket
  • Implement X server access control via GDM/KDM configuration to restrict X server availability
  • Monitor X server processes for abnormal memory access patterns or crashes
  • If X11 forwarding is absolutely required, restrict it to trusted networks and users only

2) Patch / Upgrade Steps

  • Debian-based systems: Check for updated xorg-x11-server packages released in response to this CVE
  • Red Hat Enterprise Linux: Contact Red Hat support for advisory status and updated packages
  • Fedora/CentOS: Monitor Errata notifications
  • Ubuntu: Check Ubuntu Security Notices for xorg-server updates
  • Other distributions (Arch, SUSE, Alpine): Check respective security trackers

Run:

# Debian/Ubuntu
apt update && apt upgrade xserver-xorg-core xserver-xorg

# RHEL/Fedora
dnf update xorg-x11-server

Verify patched version after update.

3) Long-Term Hardening

  • Remove X11 and migrate to Wayland where feasible — Wayland's architecture provides better isolation
  • Deploy mandatory access control (SELinux/AppArmor) to restrict X server's capabilities
  • Implement application allowlisting to prevent unauthorized execution of X utilities
  • Regular security audits of graphical environments and X server configurations
  • Monitor advisories from X.Org Foundation and distribution vendors
  • Apply defense-in-depth — X server is a high-risk component; consider containerization or virtualization for untrusted workloads requiring X

References

  1. NVD Entry: https://nvd.nist.gov/vuln/detail/CVE-2023-6377
  2. Red Hat CVE Publication: https://access.redhat.com/security/cve/CVE-2023-6377
  3. Debian Security Tracker: https://security-tracker.debian.org/tracker/CVE-2023-6377 (primary patch source)
  4. X.Org Foundation Security Advisories: https://www.x.org/wiki/Development/Security (monitor for official advisories)

Known Threat Actor Campaigns: No known active exploitation campaigns or exploit-in-the-wild evidence available at the time of writing. However, per EPSS ranking (73.3rd percentile), the vulnerability is positioned in the upper quartile of CVEs likely to be exploited, and the timing between disclosure and weaponization for similarly-scored X.Org vulnerabilities historically averages 7-14 days. Organizations using X11 forwarding should treat this as an active threat.

👁️ SHODAN DORKS (THREAT HUNTING)

Security researchers use these queries on Shodan.io to find vulnerable systems globally.

🔒 3 Shodan dorks available

Full Shodan queries for this CVE are available through the ValtersIT API. They were moved behind the API in response to large-scale automated scraping, and to keep this independently-researched intelligence sustainable. The written analysis above remains fully open.

[ GET API ACCESS ] → Available on all plans · from €19/mo (founding)
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2023-6377/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.