
CVE catalog
CVE-2021-3782
wayland: CVE-2021-3782
- Severity
- Medium · CVSS 6.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.32% · Oct 25, 2026
An internal reference count is held on the buffer pool, incremented every time a new buffer is created from the pool. The reference count is maintained as an int; on LP64 systems this can cause the reference count to overflow if the client creates a large number of wl_shm buffer objects, or if it can coerce the server to create a large number of external references to the buffer storage. With the reference count overflowing, a use-after-free can be constructed on the wl_shm_pool tracking structure, where values may be incremented or decremented; it may also be possible to construct a limited oracle to leak 4 bytes of server-side memory to the attacking client at a time.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | wayland | sid | 1.26.0-1 | fixed |
| Debian | wayland | forky | 1.26.0-1 | fixed |
| Debian | wayland | trixie | 1.23.1-3 | fixed |
| Debian | wayland | bookworm | 1.21.0-1 | fixed |
| Ubuntu | wayland | pro | 1.8.1-1 | vulnerable |
| Ubuntu | wayland | pro | 1.9.0-1 | vulnerable |
| Ubuntu | wayland | pro | 1.12.0-1~ubuntu16.04.1 | vulnerable |
| Ubuntu | wayland | pro | 1.12.0-1~ubuntu16.04.2 | vulnerable |
| Ubuntu | wayland | pro | 1.12.0-1~ubuntu16.04.3 | vulnerable |
| Ubuntu | wayland | pro | 1.12.0-1~ubuntu16.04.3+esm1 | fixed |
| Ubuntu | wayland | pro | 1.8.1-1 | vulnerable |
| Ubuntu | wayland | pro | 1.9.0-1 | vulnerable |
| Ubuntu | wayland | pro | 1.12.0-1~ubuntu16.04.1 | vulnerable |
| Ubuntu | wayland | pro | 1.12.0-1~ubuntu16.04.2 | vulnerable |
| Ubuntu | wayland | pro | 1.12.0-1~ubuntu16.04.3 | vulnerable |
| Ubuntu | wayland | pro | 1.12.0-1~ubuntu16.04.3+esm1 | fixed |
| Ubuntu | wayland | 18.04 | 1.14.0-1 | vulnerable |
| Ubuntu | wayland | 18.04 | 1.14.0-2 | vulnerable |
| Ubuntu | wayland | 18.04 | 1.16.0-1ubuntu1.1~18.04.1 | vulnerable |
| Ubuntu | wayland | 18.04 | 1.16.0-1ubuntu1.1~18.04.3 | vulnerable |
| Ubuntu | wayland | 18.04 | 1.16.0-1ubuntu1.1~18.04.4 | fixed |
| Ubuntu | wayland | 20.04 | 1.17.0-1 | vulnerable |
| Ubuntu | wayland | 20.04 | 1.17.0-1build1 | vulnerable |
| Ubuntu | wayland | 20.04 | 1.17.0-1build2 | vulnerable |
| Ubuntu | wayland | 20.04 | 1.18.0-1 | vulnerable |
| Ubuntu | wayland | 20.04 | 1.18.0-1ubuntu0.1 | fixed |
| Ubuntu | wayland | 22.04 | 1.19.0-2build1 | vulnerable |
| Ubuntu | wayland | 22.04 | 1.20.0-1 | vulnerable |
| Ubuntu | wayland | 22.04 | 1.20.0-1ubuntu0.1 | fixed |
| Ubuntu | wayland | 18.04 | 1.14.0-1 | vulnerable |
| Ubuntu | wayland | 18.04 | 1.14.0-2 | vulnerable |
| Ubuntu | wayland | 18.04 | 1.16.0-1ubuntu1.1~18.04.1 | vulnerable |
| Ubuntu | wayland | 18.04 | 1.16.0-1ubuntu1.1~18.04.3 | vulnerable |
| Ubuntu | wayland | 18.04 | 1.16.0-1ubuntu1.1~18.04.4 | fixed |
| Ubuntu | wayland | 20.04 | 1.17.0-1 | vulnerable |
| Ubuntu | wayland | 20.04 | 1.17.0-1build1 | vulnerable |
| Ubuntu | wayland | 20.04 | 1.17.0-1build2 | vulnerable |
| Ubuntu | wayland | 20.04 | 1.18.0-1 | vulnerable |
| Ubuntu | wayland | 20.04 | 1.18.0-1ubuntu0.1 | fixed |
| Ubuntu | wayland | 22.04 | 1.19.0-2build1 | vulnerable |
| Ubuntu | wayland | 22.04 | 1.20.0-1 | vulnerable |
| Ubuntu | wayland | 22.04 | 1.20.0-1ubuntu0.1 | fixed |
| Suse | wayland | linux enterprise high performance computing 15 sp1-ltss | 1.16.0-150100.7.3.1 | fixed |
| Suse | wayland | linux enterprise server 15 sp1-ltss | 1.16.0-150100.7.3.1 | fixed |
| Suse | wayland | linux enterprise server for sap applications 15 sp1 | 1.16.0-150100.7.3.1 | fixed |
| Suse | wayland | linux enterprise software development kit 12 sp5 | 1.13.0-3.3.1 | fixed |
| Suse | wayland | linux enterprise server 12 sp5 | 1.13.0-3.3.1 | fixed |
| Suse | wayland | linux enterprise server for sap applications 12 sp5 | 1.13.0-3.3.1 | fixed |
| Suse | wayland | linux enterprise high performance computing 15 sp2-ltss | 1.18.0-150200.3.3.1 | fixed |
| Suse | wayland | linux enterprise high performance computing 15 sp3-espos | 1.18.0-150200.3.3.1 | fixed |
| Suse | wayland | linux enterprise high performance computing 15 sp3-ltss | 1.18.0-150200.3.3.1 | fixed |
| Suse | wayland | linux enterprise real time 15 sp3 | 1.18.0-150200.3.3.1 | fixed |
| Suse | wayland | linux enterprise server 15 sp2-ltss | 1.18.0-150200.3.3.1 | fixed |
| Suse | wayland | linux enterprise server 15 sp3-ltss | 1.18.0-150200.3.3.1 | fixed |
| Suse | wayland | linux enterprise server for sap applications 15 sp2 | 1.18.0-150200.3.3.1 | fixed |
| Suse | wayland | linux enterprise server for sap applications 15 sp3 | 1.18.0-150200.3.3.1 | fixed |
| Suse | wayland | manager proxy 4.2 | 1.18.0-150200.3.3.1 | fixed |
| Suse | wayland | manager server 4.2 | 1.18.0-150200.3.3.1 | fixed |
| Suse | wayland | linux enterprise micro 5.2 | 1.18.0-150200.3.3.1 | fixed |
| Suse | wayland | enterprise storage 7 | 1.18.0-150200.3.3.1 | fixed |
| Suse | wayland | enterprise storage 7.1 | 1.18.0-150200.3.3.1 | fixed |
| Suse | wayland | linux enterprise micro 5.3 | 1.19.0-150400.3.3.1 | fixed |
| Suse | wayland | linux enterprise micro 5.4 | 1.19.0-150400.3.3.1 | fixed |
| Suse | wayland | linux enterprise module for basesystem 15 sp4 | 1.19.0-150400.3.3.1 | fixed |
| Opensuse | wayland | leap micro 5.3 | 1.19.0-150400.3.3.1 | fixed |
| Opensuse | wayland | leap 15.4 | 1.19.0-150400.3.3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | wayland | source | sid | 1.21.0-1 | not yet assigned | Not reported | Not reported |
| Debian | wayland | source | forky | 1.21.0-1 | not yet assigned | Not reported | Not reported |
| Debian | wayland | source | trixie | 1.21.0-1 | not yet assigned | Not reported | Not reported |
| Debian | wayland | source | bookworm | 1.21.0-1 | not yet assigned | Not reported | Not reported |
| Ubuntu | wayland | deb | pro | 1.12.0-1~ubuntu16.04.3+esm1 | Not reported | USN-5614-2 | Not reported |
| Ubuntu | wayland | deb | pro | 1.12.0-1~ubuntu16.04.3+esm1 | Not reported | UBUNTU-CVE-2021-3782 | Not reported |
| Ubuntu | wayland | deb | 18.04 | 1.16.0-1ubuntu1.1~18.04.4 | Not reported | UBUNTU-CVE-2021-3782 | Not reported |
| Ubuntu | wayland | deb | 20.04 | 1.18.0-1ubuntu0.1 | Not reported | UBUNTU-CVE-2021-3782 | Not reported |
| Ubuntu | wayland | deb | 22.04 | 1.20.0-1ubuntu0.1 | Not reported | UBUNTU-CVE-2021-3782 | Not reported |
| Ubuntu | wayland | deb | 18.04 | 1.16.0-1ubuntu1.1~18.04.4 | Not reported | USN-5614-1 | Not reported |
| Ubuntu | wayland | deb | 20.04 | 1.18.0-1ubuntu0.1 | Not reported | USN-5614-1 | Not reported |
| Ubuntu | wayland | deb | 22.04 | 1.20.0-1ubuntu0.1 | Not reported | USN-5614-1 | Not reported |
| Suse | wayland | rpm | linux enterprise high performance computing 15 sp1-ltss | 1.16.0-150100.7.3.1 | Not reported | SUSE-SU-2023:1874-1 | Not reported |
| Suse | wayland | rpm | linux enterprise server 15 sp1-ltss | 1.16.0-150100.7.3.1 | Not reported | SUSE-SU-2023:1874-1 | Not reported |
| Suse | wayland | rpm | linux enterprise server for sap applications 15 sp1 | 1.16.0-150100.7.3.1 | Not reported | SUSE-SU-2023:1874-1 | Not reported |
| Suse | wayland | rpm | linux enterprise software development kit 12 sp5 | 1.13.0-3.3.1 | Not reported | SUSE-SU-2023:1864-1 | Not reported |
| Suse | wayland | rpm | linux enterprise server 12 sp5 | 1.13.0-3.3.1 | Not reported | SUSE-SU-2023:1864-1 | Not reported |
| Suse | wayland | rpm | linux enterprise server for sap applications 12 sp5 | 1.13.0-3.3.1 | Not reported | SUSE-SU-2023:1864-1 | Not reported |
| Suse | wayland | rpm | linux enterprise high performance computing 15 sp2-ltss | 1.18.0-150200.3.3.1 | Not reported | SUSE-SU-2023:1873-1 | Not reported |
| Suse | wayland | rpm | linux enterprise high performance computing 15 sp3-espos | 1.18.0-150200.3.3.1 | Not reported | SUSE-SU-2023:1873-1 | Not reported |
| Suse | wayland | rpm | linux enterprise high performance computing 15 sp3-ltss | 1.18.0-150200.3.3.1 | Not reported | SUSE-SU-2023:1873-1 | Not reported |
| Suse | wayland | rpm | linux enterprise real time 15 sp3 | 1.18.0-150200.3.3.1 | Not reported | SUSE-SU-2023:1873-1 | Not reported |
| Suse | wayland | rpm | linux enterprise server 15 sp2-ltss | 1.18.0-150200.3.3.1 | Not reported | SUSE-SU-2023:1873-1 | Not reported |
| Suse | wayland | rpm | linux enterprise server 15 sp3-ltss | 1.18.0-150200.3.3.1 | Not reported | SUSE-SU-2023:1873-1 | Not reported |
| Suse | wayland | rpm | linux enterprise server for sap applications 15 sp2 | 1.18.0-150200.3.3.1 | Not reported | SUSE-SU-2023:1873-1 | Not reported |
| Suse | wayland | rpm | linux enterprise server for sap applications 15 sp3 | 1.18.0-150200.3.3.1 | Not reported | SUSE-SU-2023:1873-1 | Not reported |
| Suse | wayland | rpm | manager proxy 4.2 | 1.18.0-150200.3.3.1 | Not reported | SUSE-SU-2023:1873-1 | Not reported |
| Suse | wayland | rpm | manager server 4.2 | 1.18.0-150200.3.3.1 | Not reported | SUSE-SU-2023:1873-1 | Not reported |
| Suse | wayland | rpm | linux enterprise micro 5.2 | 1.18.0-150200.3.3.1 | Not reported | SUSE-SU-2023:1873-1 | Not reported |
| Suse | wayland | rpm | enterprise storage 7 | 1.18.0-150200.3.3.1 | Not reported | SUSE-SU-2023:1873-1 | Not reported |
| Suse | wayland | rpm | enterprise storage 7.1 | 1.18.0-150200.3.3.1 | Not reported | SUSE-SU-2023:1873-1 | Not reported |
| Suse | wayland | rpm | linux enterprise micro 5.3 | 1.19.0-150400.3.3.1 | Not reported | SUSE-SU-2023:1860-1 | Not reported |
| Suse | wayland | rpm | linux enterprise micro 5.4 | 1.19.0-150400.3.3.1 | Not reported | SUSE-SU-2023:1860-1 | Not reported |
| Suse | wayland | rpm | linux enterprise module for basesystem 15 sp4 | 1.19.0-150400.3.3.1 | Not reported | SUSE-SU-2023:1860-1 | Not reported |
| Opensuse | wayland | rpm | leap micro 5.3 | 1.19.0-150400.3.3.1 | Not reported | SUSE-SU-2023:1860-1 | Not reported |
| Opensuse | wayland | rpm | leap 15.4 | 1.19.0-150400.3.3.1 | Not reported | SUSE-SU-2023:1860-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libwayland-bin]Fixed
Source package: [wayland]
Details (4)
1.21.0-1· amd64 · bookwormFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.21.0-1· arm64 · bookwormFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.23.0-1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.23.0-1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
- [libwayland-client0]Fixed
Source package: [wayland]
Details (4)
1.21.0-1· amd64 · bookwormFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.21.0-1· arm64 · bookwormFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.23.0-1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.23.0-1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
- [libwayland-cursor0]Fixed
Source package: [wayland]
Details (4)
1.21.0-1· amd64 · bookwormFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.21.0-1· arm64 · bookwormFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.23.0-1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.23.0-1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
- [libwayland-dev]Fixed
Source package: [wayland]
Details (4)
1.21.0-1· amd64 · bookwormFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.21.0-1· arm64 · bookwormFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.23.0-1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.23.0-1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
- [libwayland-doc]Fixed
Source package: [wayland]
Details (4)
1.21.0-1· all · bookwormFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.21.0-1· all · bookwormFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.23.0-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.23.0-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
- [libwayland-egl1]Fixed
Source package: [wayland]
Details (4)
1.21.0-1· amd64 · bookwormFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.21.0-1· arm64 · bookwormFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.23.0-1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.23.0-1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
- [libwayland-egl-backend-dev]Fixed
Source package: [wayland]
Details (4)
1.21.0-1· amd64 · bookwormFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.21.0-1· arm64 · bookwormFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.23.0-1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.23.0-1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
- [libwayland-server0]Fixed
Source package: [wayland]
Details (4)
1.21.0-1· amd64 · bookwormFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.21.0-1· arm64 · bookwormFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.23.0-1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
1.23.0-1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
1.21.0-1dsa · wayland · debian · bookworm; dsa · wayland · debian · 12
[Debian 13 (Trixie)]
- [libwayland-bin]Fixed
Source package: [wayland]
Details (2)
1.23.1-3· amd64 · trixieFixed · Fixed:
1.21.0-1dsa · wayland · debian · 13
1.23.1-3· arm64 · trixieFixed · Fixed:
1.21.0-1dsa · wayland · debian · 13
- [libwayland-client0]Fixed
Source package: [wayland]
Details (2)
1.23.1-3· amd64 · trixieFixed · Fixed:
1.21.0-1dsa · wayland · debian · 13
1.23.1-3· arm64 · trixieFixed · Fixed:
1.21.0-1dsa · wayland · debian · 13
- [libwayland-cursor0]Fixed
Source package: [wayland]
Details (2)
1.23.1-3· amd64 · trixieFixed · Fixed:
1.21.0-1dsa · wayland · debian · 13
1.23.1-3· arm64 · trixieFixed · Fixed:
1.21.0-1dsa · wayland · debian · 13
- [libwayland-dev]Fixed
Source package: [wayland]
Details (2)
1.23.1-3· amd64 · trixieFixed · Fixed:
1.21.0-1dsa · wayland · debian · 13
1.23.1-3· arm64 · trixieFixed · Fixed:
1.21.0-1dsa · wayland · debian · 13
- [libwayland-doc]Fixed
Source package: [wayland]
Details (2)
1.23.1-3· all · trixieFixed · Fixed:
1.21.0-1dsa · wayland · debian · 13
1.23.1-3· all · trixieFixed · Fixed:
1.21.0-1dsa · wayland · debian · 13
- [libwayland-egl1]Fixed
Source package: [wayland]
Details (2)
1.23.1-3· amd64 · trixieFixed · Fixed:
1.21.0-1dsa · wayland · debian · 13
1.23.1-3· arm64 · trixieFixed · Fixed:
1.21.0-1dsa · wayland · debian · 13
- [libwayland-egl-backend-dev]Fixed
Source package: [wayland]
Details (2)
1.23.1-3· amd64 · trixieFixed · Fixed:
1.21.0-1dsa · wayland · debian · 13
1.23.1-3· arm64 · trixieFixed · Fixed:
1.21.0-1dsa · wayland · debian · 13
- [libwayland-server0]Fixed
Source package: [wayland]
Details (2)
1.23.1-3· amd64 · trixieFixed · Fixed:
1.21.0-1dsa · wayland · debian · 13
1.23.1-3· arm64 · trixieFixed · Fixed:
1.21.0-1dsa · wayland · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2023_2786.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-3782]
- [https://osv.dev/vulnerability/SUSE-SU-2023:1860-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:1864-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:1873-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:1874-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-3782]
- [https://osv.dev/vulnerability/USN-5614-1]
- [https://osv.dev/vulnerability/USN-5614-2]
- [https://security-tracker.debian.org/tracker/CVE-2021-3782]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-3782.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1238.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]