REDHAT-BUG-2549511: Use After Free
Summary: client-triggered use-after-free of a wpimagedescriptionv1 wlresource in the async ICC path
Requirements to exploit: A local unprivileged Wayland client that can connect to the compositor's Wayland socket ($XDGRUNTIMEDIR/wayland-N), including Flatpak/Snap apps with Wayland access. The client binds wpcolormanagerv1, creates an ICC image description (createicccreator → seticcfile → create), then destroys the wpimagedescriptionv1 resource while the asynchronous ICC file read is still in flight (create+destroy can be batched in one sendmsg). No elevated privileges beyond normal session client access are required.
Component affected: mutter (src/wayland/meta-wayland-color-management.c — creatoricccreate / onicccreatebytesread)
Version affected (maintainer): >= 47.0, < 51.0 Version fixed (maintainer): 51.0
Code-path note: The vulnerable pattern (unowned creatoricc->imagedescresource used after destroy in onicccreatebytesread) is present from mutter 49.rc through 50.4. It is not present in 47.x/48.x. Fixed code (refcounted MetaWaylandImageDescription; resource cleared on destroy) is in 50.5 and 51.0.
Patch available: Yes Upstream fix: https://gitlab.gnome.org/GNOME/mutter/-/mergerequests/5313 Key commit: 86141ab75b23 ("wayland/color-management: Fix lifetime of ICC image description"), merged 2026-09-11 Upstream report: https://gitlab.gnome.org/GNOME/mutter/-/issues/5025 Embargo: No Acknowledgment: Calif.io, in collaboration with Anthropic
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
mutterto a version that resolves this vulnerability.Fixed in 50.5