Bug 2555545 - CVE-2026-93522 xorg-x11-server-Xwayland: glamor: size tmp_bits buffer for source coordinate range in upload_boxes [fedora-all]
Summary: CVE-2026-93522 xorg-x11-server-Xwayland: glamor: size tmp_bits buffer for sou...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server-Xwayland
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Olivier Fourdan
QA Contact:
URL:
Whiteboard: {"flaws": ["05ea0549-d959-4d39-99af-a...
Depends On:
Blocks: CVE-2026-93522
TreeView+ depends on / blocked
 
Reported: 2026-10-19 11:15 UTC by Marian Rehak
Modified: 2026-10-19 12:17 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-10-19 12:17:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2026-10-19 11:15:17 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.

glamor_upload_boxes() allocates the tmp_bits buffer (used for 24-bit to
32-bit depth conversion) based on the destination pixmap height, but
indexes it using source coordinates (y1 - dy_dst + dy_src). When the
source is taller than the destination, the source-relative offset
exceeds the destination height, causing writes past the buffer end.

Size the buffer to account for the source coordinate mapping:
byte_stride * (pixmap->drawable.height - dy_dst + dy_src). This
ensures the buffer covers the full range of source rows that will be
accessed during the upload.

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

ZDI-CAN-32361


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