Bug 2545161 (CVE-2026-93516) - CVE-2026-93516 xorg-x11-server: xorg-x11-server: Arbitrary code execution via use-after-free in passive grab handling
Summary: CVE-2026-93516 xorg-x11-server: xorg-x11-server: Arbitrary code execution via...
Keywords:
Status: NEW
Alias: CVE-2026-93516
Deadline: 2026-10-07
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-02 12:43 UTC by OSIDB Bzimport
Modified: 2026-10-12 13:18 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-02 12:43:47 UTC
Passive grabs (GrabRec) store raw DeviceIntPtr values for both the
grabbed device and the modifier device without any lifetime management.
When a device is removed via XIRemoveMaster, CloseDevice() frees the
device struct, but leaves dangling pointers in grab->modifierDevice
for any grab that used this device.

Subsequent pointer events trigger CheckPassiveGrab() which dereferences
the dangling modifierDevice pointer for XI grabs (the CORE and XI2 paths
reassign it, but the XI path does not).

This vulnerability was discovered by:
  Anonymous working with TrendAI Zero Day Initiative

ZDI-CAN-31832


Note You need to log in before you can comment on or make changes to this bug.