# CVE-2021-3782: libwayland-egl: Wayland is a protocol for a compositor to talk to its clients, as well as a C library implementation of that protocol

CVE-2021-3782 is fixed in 19 products on 1 platform, first by libwayland-bin 1.16.0-1ubuntu1.1~18.04.4, released August 30, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2021-3782
- Priority: High
- CVSS: 9.8 (Moderate)
- EPSS: 0.0032
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 30, 2022

## Description

Wayland is a protocol for a compositor to talk to its clients, as well as a C library implementation of that protocol. The compositor can be a standalone display server running on Linux kernel modesetting and evdev input devices, an X application, or a wayland client itself. The clients can be traditional applications, X servers (rootless or fullscreen) or other display servers.  The following packages have been upgraded to a later upstream version: wayland (1.21.0). (BZ#2137625)  Security Fix(es):  * wayland: libwayland-server wl_shm reference-count overflow (CVE-2021-3782)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.  Additional Changes:  For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.8 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libwayland-bin Ubuntu 18.04.6 LTS (bionic) | 1.16.0-1ubuntu1.1~18.04.4 | [libwayland-bin 1.16.0-1ubuntu1.1~18.04.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libwayland-bin-1.16.0-1ubuntu1.1-18.04.4.md) | Aug 30, 2022 |
| Linux | libwayland-bin Ubuntu 20.04 LTS (focal) | 1.18.0-1ubuntu0.1 | [libwayland-bin 1.18.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libwayland-bin-1.18.0-1ubuntu0.1.md) | Aug 30, 2022 |
| Linux | libwayland-bin Ubuntu 22.04.1 LTS (jammy) | 1.20.0-1ubuntu0.1 | [libwayland-bin 1.20.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libwayland-bin-1.20.0-1ubuntu0.1.md) | Aug 30, 2022 |
| Linux | libwayland-client RHEL 8 | 0:1.21.0-1.el8 | [RHSA-2023:2786](https://patchblox.com/security/data/fix/linux/rhsa-2023-2786.md) | May 16, 2023 |
| Linux | libwayland-client almalinux 8 | 1.21.0-1.el8 | [ALSA-2023:2786](https://patchblox.com/security/data/fix/linux/alsa-2023-2786.md) | May 16, 2023 |
| Linux | libwayland-client amzn 2023 | 1.22.0-1.amzn2023.0.1 | [ALAS2023-2023-203](https://patchblox.com/security/data/fix/linux/alas2023-2023-203.md) | Jun 5, 2023 |
| Linux | libwayland-client ol 8 | 0:1.21.0-1.el8 | [ELSA-2023-2786](https://patchblox.com/security/data/fix/linux/elsa-2023-2786.md) | May 24, 2023 |
| Linux | libwayland-client-debuginfo amzn 2023 | 1.22.0-1.amzn2023.0.1 | [ALAS2023-2023-203](https://patchblox.com/security/data/fix/linux/alas2023-2023-203.md) | Jun 5, 2023 |
| Linux | libwayland-client0 Ubuntu 18.04.6 LTS (bionic) | 1.16.0-1ubuntu1.1~18.04.4 | [libwayland-client0 1.16.0-1ubuntu1.1~18.04.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libwayland-client0-1.16.0-1ubuntu1.1-18.04.4.md) | Aug 30, 2022 |
| Linux | libwayland-client0 Ubuntu 20.04 LTS (focal) | 1.18.0-1ubuntu0.1 | [libwayland-client0 1.18.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libwayland-client0-1.18.0-1ubuntu0.1.md) | Aug 30, 2022 |
| Linux | libwayland-client0 Ubuntu 22.04.1 LTS (jammy) | 1.20.0-1ubuntu0.1 | [libwayland-client0 1.20.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libwayland-client0-1.20.0-1ubuntu0.1.md) | Aug 30, 2022 |
| Linux | libwayland-cursor RHEL 8 | 0:1.21.0-1.el8 | [RHSA-2023:2786](https://patchblox.com/security/data/fix/linux/rhsa-2023-2786.md) | May 16, 2023 |
| Linux | libwayland-cursor almalinux 8 | 1.21.0-1.el8 | [ALSA-2023:2786](https://patchblox.com/security/data/fix/linux/alsa-2023-2786.md) | May 16, 2023 |
| Linux | libwayland-cursor amzn 2023 | 1.22.0-1.amzn2023.0.1 | [ALAS2023-2023-203](https://patchblox.com/security/data/fix/linux/alas2023-2023-203.md) | Jun 5, 2023 |
| Linux | libwayland-cursor ol 8 | 0:1.21.0-1.el8 | [ELSA-2023-2786](https://patchblox.com/security/data/fix/linux/elsa-2023-2786.md) | May 24, 2023 |
| Linux | libwayland-cursor-debuginfo amzn 2023 | 1.22.0-1.amzn2023.0.1 | [ALAS2023-2023-203](https://patchblox.com/security/data/fix/linux/alas2023-2023-203.md) | Jun 5, 2023 |
| Linux | libwayland-cursor0 Ubuntu 18.04.6 LTS (bionic) | 1.16.0-1ubuntu1.1~18.04.4 | [libwayland-cursor0 1.16.0-1ubuntu1.1~18.04.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libwayland-cursor0-1.16.0-1ubuntu1.1-18.04.4.md) | Aug 30, 2022 |
| Linux | libwayland-cursor0 Ubuntu 20.04 LTS (focal) | 1.18.0-1ubuntu0.1 | [libwayland-cursor0 1.18.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libwayland-cursor0-1.18.0-1ubuntu0.1.md) | Aug 30, 2022 |
| Linux | libwayland-cursor0 Ubuntu 22.04.1 LTS (jammy) | 1.20.0-1ubuntu0.1 | [libwayland-cursor0 1.20.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libwayland-cursor0-1.20.0-1ubuntu0.1.md) | Aug 30, 2022 |
| Linux | libwayland-egl RHEL 8 | 0:1.21.0-1.el8 | [RHSA-2023:2786](https://patchblox.com/security/data/fix/linux/rhsa-2023-2786.md) | May 16, 2023 |
| Linux | libwayland-egl almalinux 8 | 1.21.0-1.el8 | [ALSA-2023:2786](https://patchblox.com/security/data/fix/linux/alsa-2023-2786.md) | May 16, 2023 |
| Linux | libwayland-egl amzn 2023 | 1.22.0-1.amzn2023.0.1 | [ALAS2023-2023-203](https://patchblox.com/security/data/fix/linux/alas2023-2023-203.md) | Jun 5, 2023 |
| Linux | libwayland-egl ol 8 | 0:1.21.0-1.el8 | [ELSA-2023-2786](https://patchblox.com/security/data/fix/linux/elsa-2023-2786.md) | May 24, 2023 |
| Linux | libwayland-egl-debuginfo amzn 2023 | 1.22.0-1.amzn2023.0.1 | [ALAS2023-2023-203](https://patchblox.com/security/data/fix/linux/alas2023-2023-203.md) | Jun 5, 2023 |
| Linux | libwayland-egl1 Ubuntu 18.04.6 LTS (bionic) | 1.16.0-1ubuntu1.1~18.04.4 | [libwayland-egl1 1.16.0-1ubuntu1.1~18.04.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libwayland-egl1-1.16.0-1ubuntu1.1-18.04.4.md) | Aug 30, 2022 |
| Linux | libwayland-egl1 Ubuntu 20.04 LTS (focal) | 1.18.0-1ubuntu0.1 | [libwayland-egl1 1.18.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libwayland-egl1-1.18.0-1ubuntu0.1.md) | Aug 30, 2022 |
| Linux | libwayland-egl1 Ubuntu 22.04.1 LTS (jammy) | 1.20.0-1ubuntu0.1 | [libwayland-egl1 1.20.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libwayland-egl1-1.20.0-1ubuntu0.1.md) | Aug 30, 2022 |
| Linux | libwayland-server RHEL 8 | 0:1.21.0-1.el8 | [RHSA-2023:2786](https://patchblox.com/security/data/fix/linux/rhsa-2023-2786.md) | May 16, 2023 |
| Linux | libwayland-server almalinux 8 | 1.21.0-1.el8 | [ALSA-2023:2786](https://patchblox.com/security/data/fix/linux/alsa-2023-2786.md) | May 16, 2023 |
| Linux | libwayland-server amzn 2023 | 1.22.0-1.amzn2023.0.1 | [ALAS2023-2023-203](https://patchblox.com/security/data/fix/linux/alas2023-2023-203.md) | Jun 5, 2023 |
| Linux | libwayland-server ol 8 | 0:1.21.0-1.el8 | [ELSA-2023-2786](https://patchblox.com/security/data/fix/linux/elsa-2023-2786.md) | May 24, 2023 |
| Linux | libwayland-server-debuginfo amzn 2023 | 1.22.0-1.amzn2023.0.1 | [ALAS2023-2023-203](https://patchblox.com/security/data/fix/linux/alas2023-2023-203.md) | Jun 5, 2023 |
| Linux | libwayland-server0 Ubuntu 18.04.6 LTS (bionic) | 1.16.0-1ubuntu1.1~18.04.4 | [libwayland-server0 1.16.0-1ubuntu1.1~18.04.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libwayland-server0-1.16.0-1ubuntu1.1-18.04.4.md) | Aug 30, 2022 |
| Linux | libwayland-server0 Ubuntu 20.04 LTS (focal) | 1.18.0-1ubuntu0.1 | [libwayland-server0 1.18.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libwayland-server0-1.18.0-1ubuntu0.1.md) | Aug 30, 2022 |
| Linux | libwayland-server0 Ubuntu 22.04.1 LTS (jammy) | 1.20.0-1ubuntu0.1 | [libwayland-server0 1.20.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libwayland-server0-1.20.0-1ubuntu0.1.md) | Aug 30, 2022 |
| Linux | wayland Debian 12.15 (bookworm) | 1.21.0-1 | [DEBIAN-CVE-2021-3782](https://patchblox.com/security/data/fix/linux/debian-cve-2021-3782.md) | Sep 23, 2022 |
| Linux | wayland Debian 13.5 (trixie) | 1.21.0-1 | [DEBIAN-CVE-2021-3782](https://patchblox.com/security/data/fix/linux/debian-cve-2021-3782.md) | Sep 23, 2022 |
| Linux | wayland Debian 14 | 1.21.0-1 | [DEBIAN-CVE-2021-3782](https://patchblox.com/security/data/fix/linux/debian-cve-2021-3782.md) | Sep 23, 2022 |
| Linux | wayland rocky 8 | 0:1.21.0-1.el8 | [RLSA-2023:2786](https://patchblox.com/security/data/fix/linux/rlsa-2023-2786.md) | Jun 27, 2026 |
| Linux | wayland-debuginfo amzn 2023 | 1.22.0-1.amzn2023.0.1 | [ALAS2023-2023-203](https://patchblox.com/security/data/fix/linux/alas2023-2023-203.md) | Jun 5, 2023 |
| Linux | wayland-debugsource amzn 2023 | 1.22.0-1.amzn2023.0.1 | [ALAS2023-2023-203](https://patchblox.com/security/data/fix/linux/alas2023-2023-203.md) | Jun 5, 2023 |
| Linux | wayland-devel RHEL 8 | 0:1.21.0-1.el8 | [RHSA-2023:2786](https://patchblox.com/security/data/fix/linux/rhsa-2023-2786.md) | May 16, 2023 |
| Linux | wayland-devel almalinux 8 | 1.21.0-1.el8 | [ALSA-2023:2786](https://patchblox.com/security/data/fix/linux/alsa-2023-2786.md) | May 16, 2023 |
| Linux | wayland-devel amzn 2023 | 1.22.0-1.amzn2023.0.1 | [ALAS2023-2023-203](https://patchblox.com/security/data/fix/linux/alas2023-2023-203.md) | Jun 5, 2023 |
| Linux | wayland-devel ol 8 | 0:1.21.0-1.el8 | [ELSA-2023-2786](https://patchblox.com/security/data/fix/linux/elsa-2023-2786.md) | May 24, 2023 |
| Linux | wayland-devel-debuginfo amzn 2023 | 1.22.0-1.amzn2023.0.1 | [ALAS2023-2023-203](https://patchblox.com/security/data/fix/linux/alas2023-2023-203.md) | Jun 5, 2023 |
| Linux | wayland-doc amzn 2023 | 1.22.0-1.amzn2023.0.1 | [ALAS2023-2023-203](https://patchblox.com/security/data/fix/linux/alas2023-2023-203.md) | Jun 5, 2023 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
