Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-3782

23
FAUCET Score

CVE-2021-3782 is a medium-severity vulnerability affecting Wayland, specifically its wl_shm buffer pool. It stems from an integer overflow in the internal reference count, which can occur on LP64 systems if a client creates a large number of buffer objects or forces the server to create many external references. This overflow can lead to a use-after-free condition on the wl_shm_pool tracking structure, potentially allowing for memory manipulation or a limited 4-byte memory leak. The vulnerability has a CVSS score of 6.6 (Medium), indicating a local attack vector with low attack complexity and low privileges required. Its potential impact includes low confidentiality and integrity, but high availability impact. Despite its potential, there is no evidence of active exploitation, nor are there any public exploit codes available in Metasploit, Nuclei, or ExploitDB. Community discussion and media coverage are also minimal, suggesting a low level of public awareness or concern.

Impacted Technologies

VendorProductVersion(s)CPE
< 1.20.91CPE matchmatch criteria
cpe:2.3:a:wayland:wayland:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

6.6MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
HIGH
Exploitability Score
1.8
Impact Score
4.7
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.30%
Probability of exploitation in next 30 days
EPSS Percentile
22.0%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0030 is in the 78th percentile among its peer group of 15,940 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.0 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (7)

microsoftpatch availablevia msrc
Product: cm1 wayland 1.21.0-1 on CBL Mariner 1.0Fixed in: 1.21.0-1
microsoftpatch availablevia msrc
Product: cbl2 wayland 1.21.0-1 on CBL Mariner 2.0Fixed in: 1.21.0-1
microsoftpatch availablevia msrc
Product: 18856-16820Fixed in: 1.21.0-1
microsoftpatch availablevia msrc
Product: 18857-16823Fixed in: 1.21.0-1
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: wayland-0:1.21.0-1.el8
View patch
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: wayland
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: wayland

Vendor Advisories (2)

microsoft2022-Sep/CVE-2021-3782Moderate

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.

Sep 13, 2022
redhatCVE-2021-3782Moderate

wayland: libwayland-server wl_shm reference-count overflow

Jul 30, 2022

References

gitlab.freedesktop.org / wayland/wayland/-/issues/224
ExploitIssue TrackingPatchThird Party Advisory