Privilege escalation in GNOME GLib

Published: 2021-02-15 | Updated: 2021-03-15
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-27219
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) Integer overflow

EUVDB-ID: #VU51456

Risk: Low


CVE-ID: CVE-2021-27219

CWE-ID: CWE-190 - Integer Overflow or Wraparound

Exploit availability: No


The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to integer overflow within the g_bytes_new() function on 64-bit platforms due to an implicit cast from 64 bits to 32 bits. A local user can run a specially crafted program to trigger an integer overflow and execute arbitrary code with elevated privileges.


Install updates from vendor's website.

Vulnerable software versions

Gnome GLib: 2.66.0 - 2.67.2

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?