Bug 2559862 - CVE-2026-93523 tigervnc: xorg-x11-server: Out-of-bounds write via unvalidated modifier in ProcXIPassiveUngrabDevice [fedora-44]
Summary: CVE-2026-93523 tigervnc: xorg-x11-server: Out-of-bounds write via unvalidated...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: tigervnc
Version: 44
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Jan Grulich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["852b4371-fd32-41ed-bbe1-f...
Depends On:
Blocks: CVE-2026-93523
TreeView+ depends on / blocked
 
Reported: 2026-10-23 14:09 UTC by Marian Rehak
Modified: 2026-10-23 14:09 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description Marian Rehak 2026-10-23 14:09:00 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

ProcXIPassiveUngrabDevice() passes client-supplied modifier values
directly to DeletePassiveGrabFromList() without validating them.

DeletePassiveGrabFromList() may reach DeleteDetailFromMask() which uses
BITCLEAR(mask, modifier). The mask is allocated as 8 Mask words (256
bits). A modifier value > 255 causes BITCLEAR to index mask[modifier>>5]
past the allocation, resulting in a controlled single-bit-clear at an
attacker-chosen heap offset.

Add the same modifier validation that CheckGrabValues() uses: reject
modifiers that are not XIAnyModifier and have bits set outside
AllModifiersMask.

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

ZDI-CAN-32366


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