Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2021-3782 Details

Description

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://gitlab.freedesktop.org/wayland/wayland/-/issues/224 CVEExploitIssue TrackingPatchThird Party Advisory
https://gitlab.freedesktop.org/wayland/wayland/-/issues/224 [email protected]ExploitIssue TrackingPatchThird Party Advisory

Weakness Enumeration

CWE-IDCWE NameSource
CWE-190Integer Overflow or Wraparound[email protected]
CWE-190Integer Overflow or Wraparound[email protected]

Affected Products

ProductVersions
wayland wayland
< 1.20.91

CPE

  • cpe:2.3:a:wayland:wayland:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

9 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2021-3782
NVD Published Date:
Sep 23, 2022
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2021-3782 Details - Not Deferred