CVE-2021-3782

MediumCVSS 6.6/10Last modified Jun 17, 2026

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.1 6.6/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Sep 23, 2022
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2021

CVE-2021-378234.9OpenCart 3.0.3.7 allows users to obtain database information or read server files through SQL injection in the background.CVE-2021-37836.1yourls is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')CVE-2021-378329.8A SQL injection vulnerability exists in version 3.0.2 of Hotel Druid when SQLite is being used as the application database. A malicious attaCVE-2021-378336.1A reflected cross-site scripting (XSS) vulnerability exists in multiple pages in version 3.0.2 of the Hotel Druid application that allows foCVE-2021-378394.3Apache Superset up to 1.5.1 allowed for authenticated users to access metadata information related to datasets they have no permission on. TCVE-2021-37847.0Garuda Linux performs an insecure user creation and authentication that allows any user to impersonate the created account. By creating userCVE-2021-378408.8aaPanel through 6.8.12 allows Cross-Site WebSocket Hijacking (CSWH) involving OS commands within WebSocket messages at a ws:// URL for /websCVE-2021-378417.8Docker Desktop before 3.6.0 suffers from incorrect access control. If a low-privileged account is able to access the server running the WindCVE-2021-378427.5metakv in Couchbase Server 7.0.0 uses Cleartext for Storage of Sensitive Information. Remote Cluster XDCR credentials can get leaked in debuCVE-2021-378439.8The resolution SAML SSO apps for Atlassian products allow a remote attacker to login to a user account when only the username is known (i.e.CVE-2021-378453.7An issue was discovered in Citadel through webcit-932. A meddler-in-the-middle attacker can fixate their own session during the cleartext phCVE-2021-378477.5crypto/digest.c in Pengutronix barebox through 2021.07.0 leaks timing information because memcmp is used during digest verification.
CVE-2021-3782: Medium severity, CVSS 6.6 | Vulnix