Use After Free Affecting wayland package, versions [,1.21.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-WAYLAND-10078491
  • published8 May 2025
  • disclosed30 Jul 2022
  • creditDemi Marie Obenour

Introduced: 30 Jul 2022

CVE-2021-3782  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade wayland to version 1.21.0 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free when 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.

CVSS Base Scores

version 3.1