CVE-2021-3782: Integer Overflow

Published Sep 23, 2022
·
Updated

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 wlshm 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 wlshmpool 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 Software

1 affected component
Wayland Wayland<1.20.91

Event History

Sep 23, 2022
CVE Published
via MITRE·03:26 PM
Data Sourced
via MITRE·03:26 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-3782?

CVE-2021-3782 is classified as a high-severity vulnerability due to its potential to cause buffer overflow issues.

2

How do I fix CVE-2021-3782?

To fix CVE-2021-3782, you should upgrade to Wayland version 1.20.91 or later.

3

What software is affected by CVE-2021-3782?

CVE-2021-3782 affects Wayland versions prior to 1.20.91.

4

What type of vulnerability is CVE-2021-3782?

CVE-2021-3782 is a buffer overflow vulnerability related to the reference count management in the Wayland buffer pool.

5

Can CVE-2021-3782 lead to security breaches?

Yes, CVE-2021-3782 can lead to security breaches due to the possibility of exploiting the buffer overflow.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203