CVE-2021-27219: Integer Overflow

Published Feb 4, 2021
·
Updated

An integer wraparound was discovered in glib due to passing a 64 bit sized value to function gmemdup() which accepts a 32 bits number as argument. An attacker may abuse this flaw when an application linked against the glib library uses gbytesnew() function or possibly other functions that use gmemdup() underneath and accept a 64 bits argument as size. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Other sources

An issue was discovered in GNOME GLib before 2.66.6 and 2.67.x before 2.67.3. The function gbytesnew has an integer overflow on 64-bit platforms due to an implicit cast from 64 bits to 32 bits. The overflow could potentially lead to memory corruption.

GNOME GLib could allow a remote attacker to cause a denial of service, caused by an integer overflow in the gbytesnew function. An attacker could exploit this vulnerability to corrupt memory and cause a denial of service.

IBM

Affected Software

25 affected componentsFixes available
redhat/glib2<0:2.28.8-11.el6_10
0:2.28.8-11.el6_10
redhat/glib2<0:2.56.1-9.el7_9
0:2.56.1-9.el7_9
redhat/glib2<0:2.42.2-6.el7_2
0:2.42.2-6.el7_2
redhat/glib2<0:2.46.2-5.el7_3
0:2.46.2-5.el7_3
redhat/glib2<0:2.50.3-4.el7_4
0:2.50.3-4.el7_4
redhat/glib2<0:2.56.1-5.el7_6
0:2.56.1-5.el7_6
redhat/glib2<0:2.56.1-6.el7_7
0:2.56.1-6.el7_7
redhat/mingw-glib2<0:2.66.7-2.el8
0:2.66.7-2.el8
redhat/glib2<0:2.56.4-10.el8_4
0:2.56.4-10.el8_4
redhat/glib2<0:2.56.4-8.el8_1
0:2.56.4-8.el8_1
redhat/glib2<0:2.56.4-8.el8_2.1
0:2.56.4-8.el8_2.1
redhat/redhat-virtualization-host<0:4.3.16-20210615.0.el7_9
0:4.3.16-20210615.0.el7_9
redhat/redhat-virtualization-host<0:4.4.6-20210615.0.el8_4
0:4.4.6-20210615.0.el8_4
redhat/glib<2.67.3
2.67.3
redhat/glib<2.66.6
2.66.6
IBM Security Verify Access<=10.0.0
Gnome GLib<2.66.6
Gnome GLib>=2.67.0<2.67.3
Fedoraproject Fedora=33
Fedoraproject Fedora=34
NetApp Active Iq Unified Manager Vmware Vsphere
NetApp Cloud Backup
NetApp E-series Performance Analyzer
Broadcom Brocade Fabric Operating System Firmware
Debian Debian Linux=9.0

Event History

Feb 4, 2021
CVE Published
12:00 AM
Feb 15, 2021
CVE Published
via MITRE·04:27 PM
Data Sourced
via MITRE·04:27 PM
Description
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 CVE-2021-27219?

CVE-2021-27219 is a vulnerability in GNOME GLib that could allow a remote attacker to cause a denial of service.

2

What is the severity of CVE-2021-27219?

The severity of CVE-2021-27219 is critical, with a severity value of 9.8.

3

How do I fix CVE-2021-27219?

To fix CVE-2021-27219, update to version 2.67.3 of the glib library or the appropriate version for your operating system.

4

Where can I find more information about CVE-2021-27219?

You can find more information about CVE-2021-27219 in the GitLab issue and the Red Hat bugzilla.

5

What are the CWEs associated with CVE-2021-27219?

The CWEs associated with CVE-2021-27219 are CWE-190, CWE-787, and CWE-681.

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