Security restrictoins bypass in GNOME GLib

Published: 2021-02-15 | Updated: 2021-03-15
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-27218
Exploitation vector Local
Public exploit N/A
Vulnerable software
Gnome GLib
Universal components / Libraries / Libraries used by multiple products

Vendor Gnome Development Team

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Incorrect Conversion between Numeric Types

EUVDB-ID: #VU51455

Risk: Low


CVE-ID: CVE-2021-27218

CWE-ID: CWE-681 - Incorrect Conversion between Numeric Types

Exploit availability: No


The vulnerability allows a local user to bypass implemented security restrictions.

The vulnerability exists due to incorrect conversion between numeric types in Gnome Glib. If g_byte_array_new_take() was called with a buffer of 4GB or more on a 64-bit platform, the length would be truncated modulo 2**32, causing unintended length truncation.


Install updates from vendor's website.

Vulnerable software versions

Gnome GLib: 2.66.0 - 2.67.3

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?