{"containers":{"cna":{"affected":[{"product":"wayland","vendor":"n/a","versions":[{"status":"affected","version":"wayland 1.20.91"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","description":"(CWE-190|CWE-911)->CWE-416","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2022-09-23T15:26:59.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"tags":["x_refsource_MISC"],"url":"https://gitlab.freedesktop.org/wayland/wayland/-/issues/224"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2021-3782","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"wayland","version":{"version_data":[{"version_value":"wayland 1.20.91"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"(CWE-190|CWE-911)->CWE-416"}]}]},"references":{"reference_data":[{"name":"https://gitlab.freedesktop.org/wayland/wayland/-/issues/224","refsource":"MISC","url":"https://gitlab.freedesktop.org/wayland/wayland/-/issues/224"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T17:09:08.931Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://gitlab.freedesktop.org/wayland/wayland/-/issues/224"}]},{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.6,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-05-22T18:20:59.707899Z","id":"CVE-2021-3782","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-05-22T18:21:26.824Z"}}]},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2021-3782","datePublished":"2022-09-23T15:26:59.000Z","dateReserved":"2021-09-09T00:00:00.000Z","dateUpdated":"2025-05-22T18:21:26.824Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}