{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-3782","published":"2022-09-23T16:15:10.143000Z","last_modified":"2026-06-17T04:05:45.153000Z","status":"Modified","cvss":{"version":"3.1","score":6.6,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-190"],"cpes":[{"criteria":"cpe:2.3:a:wayland:wayland:*:*:*:*:*:*:*:*","part":"a","vendor":"wayland","product":"wayland","version_end_excluding":"1.20.91"}],"cpes_truncated":false,"vendors":["wayland"],"products":["wayland/wayland"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00318,"percentile":0.17199,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":40,"links":{"html_es":"/es/cve/CVE-2021-3782/","html_en":"/en/cve/CVE-2021-3782/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3782","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3782"},"untrusted":{"vendor_name":"Wayland","product_name":"Wayland","desc_en":"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.","affected":[],"references":[{"url":"https://gitlab.freedesktop.org/wayland/wayland/-/issues/224","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]}]}}