CVE catalog

CVE-2021-3782

wayland: CVE-2021-3782

[CVE catalog]

Severity
Medium · CVSS 6.6CVSS: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.

DistributionPackageReleaseVersionStatus
Debianwaylandsid1.26.0-1fixed
Debianwaylandforky1.26.0-1fixed
Debianwaylandtrixie1.23.1-3fixed
Debianwaylandbookworm1.21.0-1fixed
Ubuntuwaylandpro1.8.1-1vulnerable
Ubuntuwaylandpro1.9.0-1vulnerable
Ubuntuwaylandpro1.12.0-1~ubuntu16.04.1vulnerable
Ubuntuwaylandpro1.12.0-1~ubuntu16.04.2vulnerable
Ubuntuwaylandpro1.12.0-1~ubuntu16.04.3vulnerable
Ubuntuwaylandpro1.12.0-1~ubuntu16.04.3+esm1fixed
Ubuntuwaylandpro1.8.1-1vulnerable
Ubuntuwaylandpro1.9.0-1vulnerable
Ubuntuwaylandpro1.12.0-1~ubuntu16.04.1vulnerable
Ubuntuwaylandpro1.12.0-1~ubuntu16.04.2vulnerable
Ubuntuwaylandpro1.12.0-1~ubuntu16.04.3vulnerable
Ubuntuwaylandpro1.12.0-1~ubuntu16.04.3+esm1fixed
Ubuntuwayland18.041.14.0-1vulnerable
Ubuntuwayland18.041.14.0-2vulnerable
Ubuntuwayland18.041.16.0-1ubuntu1.1~18.04.1vulnerable
Ubuntuwayland18.041.16.0-1ubuntu1.1~18.04.3vulnerable
Ubuntuwayland18.041.16.0-1ubuntu1.1~18.04.4fixed
Ubuntuwayland20.041.17.0-1vulnerable
Ubuntuwayland20.041.17.0-1build1vulnerable
Ubuntuwayland20.041.17.0-1build2vulnerable
Ubuntuwayland20.041.18.0-1vulnerable
Ubuntuwayland20.041.18.0-1ubuntu0.1fixed
Ubuntuwayland22.041.19.0-2build1vulnerable
Ubuntuwayland22.041.20.0-1vulnerable
Ubuntuwayland22.041.20.0-1ubuntu0.1fixed
Ubuntuwayland18.041.14.0-1vulnerable
Ubuntuwayland18.041.14.0-2vulnerable
Ubuntuwayland18.041.16.0-1ubuntu1.1~18.04.1vulnerable
Ubuntuwayland18.041.16.0-1ubuntu1.1~18.04.3vulnerable
Ubuntuwayland18.041.16.0-1ubuntu1.1~18.04.4fixed
Ubuntuwayland20.041.17.0-1vulnerable
Ubuntuwayland20.041.17.0-1build1vulnerable
Ubuntuwayland20.041.17.0-1build2vulnerable
Ubuntuwayland20.041.18.0-1vulnerable
Ubuntuwayland20.041.18.0-1ubuntu0.1fixed
Ubuntuwayland22.041.19.0-2build1vulnerable
Ubuntuwayland22.041.20.0-1vulnerable
Ubuntuwayland22.041.20.0-1ubuntu0.1fixed
Susewaylandlinux enterprise high performance computing 15 sp1-ltss1.16.0-150100.7.3.1fixed
Susewaylandlinux enterprise server 15 sp1-ltss1.16.0-150100.7.3.1fixed
Susewaylandlinux enterprise server for sap applications 15 sp11.16.0-150100.7.3.1fixed
Susewaylandlinux enterprise software development kit 12 sp51.13.0-3.3.1fixed
Susewaylandlinux enterprise server 12 sp51.13.0-3.3.1fixed
Susewaylandlinux enterprise server for sap applications 12 sp51.13.0-3.3.1fixed
Susewaylandlinux enterprise high performance computing 15 sp2-ltss1.18.0-150200.3.3.1fixed
Susewaylandlinux enterprise high performance computing 15 sp3-espos1.18.0-150200.3.3.1fixed
Susewaylandlinux enterprise high performance computing 15 sp3-ltss1.18.0-150200.3.3.1fixed
Susewaylandlinux enterprise real time 15 sp31.18.0-150200.3.3.1fixed
Susewaylandlinux enterprise server 15 sp2-ltss1.18.0-150200.3.3.1fixed
Susewaylandlinux enterprise server 15 sp3-ltss1.18.0-150200.3.3.1fixed
Susewaylandlinux enterprise server for sap applications 15 sp21.18.0-150200.3.3.1fixed
Susewaylandlinux enterprise server for sap applications 15 sp31.18.0-150200.3.3.1fixed
Susewaylandmanager proxy 4.21.18.0-150200.3.3.1fixed
Susewaylandmanager server 4.21.18.0-150200.3.3.1fixed
Susewaylandlinux enterprise micro 5.21.18.0-150200.3.3.1fixed
Susewaylandenterprise storage 71.18.0-150200.3.3.1fixed
Susewaylandenterprise storage 7.11.18.0-150200.3.3.1fixed
Susewaylandlinux enterprise micro 5.31.19.0-150400.3.3.1fixed
Susewaylandlinux enterprise micro 5.41.19.0-150400.3.3.1fixed
Susewaylandlinux enterprise module for basesystem 15 sp41.19.0-150400.3.3.1fixed
Opensusewaylandleap micro 5.31.19.0-150400.3.3.1fixed
Opensusewaylandleap 15.41.19.0-150400.3.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianwaylandsourcesid1.21.0-1not yet assignedNot reportedNot reported
Debianwaylandsourceforky1.21.0-1not yet assignedNot reportedNot reported
Debianwaylandsourcetrixie1.21.0-1not yet assignedNot reportedNot reported
Debianwaylandsourcebookworm1.21.0-1not yet assignedNot reportedNot reported
Ubuntuwaylanddebpro1.12.0-1~ubuntu16.04.3+esm1Not reportedUSN-5614-2Not reported
Ubuntuwaylanddebpro1.12.0-1~ubuntu16.04.3+esm1Not reportedUBUNTU-CVE-2021-3782Not reported
Ubuntuwaylanddeb18.041.16.0-1ubuntu1.1~18.04.4Not reportedUBUNTU-CVE-2021-3782Not reported
Ubuntuwaylanddeb20.041.18.0-1ubuntu0.1Not reportedUBUNTU-CVE-2021-3782Not reported
Ubuntuwaylanddeb22.041.20.0-1ubuntu0.1Not reportedUBUNTU-CVE-2021-3782Not reported
Ubuntuwaylanddeb18.041.16.0-1ubuntu1.1~18.04.4Not reportedUSN-5614-1Not reported
Ubuntuwaylanddeb20.041.18.0-1ubuntu0.1Not reportedUSN-5614-1Not reported
Ubuntuwaylanddeb22.041.20.0-1ubuntu0.1Not reportedUSN-5614-1Not reported
Susewaylandrpmlinux enterprise high performance computing 15 sp1-ltss1.16.0-150100.7.3.1Not reportedSUSE-SU-2023:1874-1Not reported
Susewaylandrpmlinux enterprise server 15 sp1-ltss1.16.0-150100.7.3.1Not reportedSUSE-SU-2023:1874-1Not reported
Susewaylandrpmlinux enterprise server for sap applications 15 sp11.16.0-150100.7.3.1Not reportedSUSE-SU-2023:1874-1Not reported
Susewaylandrpmlinux enterprise software development kit 12 sp51.13.0-3.3.1Not reportedSUSE-SU-2023:1864-1Not reported
Susewaylandrpmlinux enterprise server 12 sp51.13.0-3.3.1Not reportedSUSE-SU-2023:1864-1Not reported
Susewaylandrpmlinux enterprise server for sap applications 12 sp51.13.0-3.3.1Not reportedSUSE-SU-2023:1864-1Not reported
Susewaylandrpmlinux enterprise high performance computing 15 sp2-ltss1.18.0-150200.3.3.1Not reportedSUSE-SU-2023:1873-1Not reported
Susewaylandrpmlinux enterprise high performance computing 15 sp3-espos1.18.0-150200.3.3.1Not reportedSUSE-SU-2023:1873-1Not reported
Susewaylandrpmlinux enterprise high performance computing 15 sp3-ltss1.18.0-150200.3.3.1Not reportedSUSE-SU-2023:1873-1Not reported
Susewaylandrpmlinux enterprise real time 15 sp31.18.0-150200.3.3.1Not reportedSUSE-SU-2023:1873-1Not reported
Susewaylandrpmlinux enterprise server 15 sp2-ltss1.18.0-150200.3.3.1Not reportedSUSE-SU-2023:1873-1Not reported
Susewaylandrpmlinux enterprise server 15 sp3-ltss1.18.0-150200.3.3.1Not reportedSUSE-SU-2023:1873-1Not reported
Susewaylandrpmlinux enterprise server for sap applications 15 sp21.18.0-150200.3.3.1Not reportedSUSE-SU-2023:1873-1Not reported
Susewaylandrpmlinux enterprise server for sap applications 15 sp31.18.0-150200.3.3.1Not reportedSUSE-SU-2023:1873-1Not reported
Susewaylandrpmmanager proxy 4.21.18.0-150200.3.3.1Not reportedSUSE-SU-2023:1873-1Not reported
Susewaylandrpmmanager server 4.21.18.0-150200.3.3.1Not reportedSUSE-SU-2023:1873-1Not reported
Susewaylandrpmlinux enterprise micro 5.21.18.0-150200.3.3.1Not reportedSUSE-SU-2023:1873-1Not reported
Susewaylandrpmenterprise storage 71.18.0-150200.3.3.1Not reportedSUSE-SU-2023:1873-1Not reported
Susewaylandrpmenterprise storage 7.11.18.0-150200.3.3.1Not reportedSUSE-SU-2023:1873-1Not reported
Susewaylandrpmlinux enterprise micro 5.31.19.0-150400.3.3.1Not reportedSUSE-SU-2023:1860-1Not reported
Susewaylandrpmlinux enterprise micro 5.41.19.0-150400.3.3.1Not reportedSUSE-SU-2023:1860-1Not reported
Susewaylandrpmlinux enterprise module for basesystem 15 sp41.19.0-150400.3.3.1Not reportedSUSE-SU-2023:1860-1Not reported
Opensusewaylandrpmleap micro 5.31.19.0-150400.3.3.1Not reportedSUSE-SU-2023:1860-1Not reported
Opensusewaylandrpmleap 15.41.19.0-150400.3.3.1Not reportedSUSE-SU-2023:1860-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [wayland]

    Details (4)
    • 1.21.0-1 · amd64 · bookworm

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.21.0-1 · arm64 · bookworm

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.23.0-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.23.0-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

  • Source package: [wayland]

    Details (4)
    • 1.21.0-1 · amd64 · bookworm

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.21.0-1 · arm64 · bookworm

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.23.0-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.23.0-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

  • Source package: [wayland]

    Details (4)
    • 1.21.0-1 · amd64 · bookworm

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.21.0-1 · arm64 · bookworm

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.23.0-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.23.0-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

  • Source package: [wayland]

    Details (4)
    • 1.21.0-1 · amd64 · bookworm

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.21.0-1 · arm64 · bookworm

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.23.0-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.23.0-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

  • Source package: [wayland]

    Details (4)
    • 1.21.0-1 · all · bookworm

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.21.0-1 · all · bookworm

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.23.0-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.23.0-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

  • Source package: [wayland]

    Details (4)
    • 1.21.0-1 · amd64 · bookworm

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.21.0-1 · arm64 · bookworm

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.23.0-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.23.0-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

  • Source package: [wayland]

    Details (4)
    • 1.21.0-1 · amd64 · bookworm

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.21.0-1 · arm64 · bookworm

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.23.0-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.23.0-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

  • Source package: [wayland]

    Details (4)
    • 1.21.0-1 · amd64 · bookworm

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.21.0-1 · arm64 · bookworm

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.23.0-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

    • 1.23.0-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · bookworm; dsa · wayland · debian · 12

[Debian 13 (Trixie)]

  • Source package: [wayland]

    Details (2)
    • 1.23.1-3 · amd64 · trixie

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · 13

    • 1.23.1-3 · arm64 · trixie

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · 13

  • Source package: [wayland]

    Details (2)
    • 1.23.1-3 · amd64 · trixie

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · 13

    • 1.23.1-3 · arm64 · trixie

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · 13

  • Source package: [wayland]

    Details (2)
    • 1.23.1-3 · amd64 · trixie

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · 13

    • 1.23.1-3 · arm64 · trixie

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · 13

  • Source package: [wayland]

    Details (2)
    • 1.23.1-3 · amd64 · trixie

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · 13

    • 1.23.1-3 · arm64 · trixie

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · 13

  • Source package: [wayland]

    Details (2)
    • 1.23.1-3 · all · trixie

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · 13

    • 1.23.1-3 · all · trixie

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · 13

  • Source package: [wayland]

    Details (2)
    • 1.23.1-3 · amd64 · trixie

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · 13

    • 1.23.1-3 · arm64 · trixie

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · 13

  • Source package: [wayland]

    Details (2)
    • 1.23.1-3 · amd64 · trixie

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · 13

    • 1.23.1-3 · arm64 · trixie

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · 13

  • Source package: [wayland]

    Details (2)
    • 1.23.1-3 · amd64 · trixie

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · 13

    • 1.23.1-3 · arm64 · trixie

      Fixed · Fixed: 1.21.0-1

      dsa · wayland · debian · 13

Observed:

References