CVE & CISA-KEV Catalog

CVE-2021-27219

HIGHEPSS 87th pctl
7.5
CVSS v3
NVD

Description

An issue was discovered in GNOME GLib before 2.66.6 and 2.67.x before 2.67.3. The function g_bytes_new 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.

How to fix

Remediation Available
glib2Amazon
Fixed in:0:2.56.1-9.amzn2.0.1
Fixed in:0:2.56.1-9.amzn2.0.1
Fixed in:0:2.56.1-9.amzn2.0.1
glib2-debuginfoAmazon
Fixed in:0:2.56.1-9.amzn2.0.1
Fixed in:0:2.56.1-9.amzn2.0.1
Fixed in:0:2.56.1-9.amzn2.0.1
glib2-develAmazon
Fixed in:0:2.56.1-9.amzn2.0.1
Fixed in:0:2.56.1-9.amzn2.0.1
Fixed in:0:2.56.1-9.amzn2.0.1
glib2-docAmazon
Fixed in:0:2.56.1-9.amzn2.0.1
glib2-famAmazon
Fixed in:0:2.56.1-9.amzn2.0.1
Fixed in:0:2.56.1-9.amzn2.0.1
Fixed in:0:2.56.1-9.amzn2.0.1
glib2-staticAmazon
Fixed in:0:2.56.1-9.amzn2.0.1
Fixed in:0:2.56.1-9.amzn2.0.1
Fixed in:0:2.56.1-9.amzn2.0.1
glib2-testsAmazon
Fixed in:0:2.56.1-9.amzn2.0.1
Fixed in:0:2.56.1-9.amzn2.0.1
Fixed in:0:2.56.1-9.amzn2.0.1
glib2.0Debian
Fixed in:2.66.6-1CVE-2021-27219
Fixed in:2.66.6-1CVE-2021-27219
Fixed in:2.66.6-1CVE-2021-27219
glib2.0Ubuntu
Fixed in:2.48.2-0ubuntu4.7USN-4759-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:2.56.4-0ubuntu0.18.04.7USN-4759-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:2.64.6-1~ubuntu20.04.2USN-4759-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

libglib2.0-0Ubuntu
Fixed in:2.48.2-0ubuntu4.7USN-4759-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:2.56.4-0ubuntu0.18.04.7USN-4759-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:2.64.6-1~ubuntu20.04.2USN-4759-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

2.99%probability of exploitation in 30 days
87thpercentile

Elevated risk: more likely to be exploited than 87% of all known CVEs.

References

Related Vulnerabilities

Other CWE-681 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-34169High7.581%-Fix
CVE-2009-0231High8.837%--
CVE-2016-3074Critical9.837%-Fix
CVE-2008-1721High7.523%-Fix
CVE-2017-7308High7.818%-Fix
CVE-2022-43663High8.114%--

Common questions

How do I fix CVE-2021-27219?

Published advisories record a fix for 10 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2021-27219 being actively exploited?

Not that we know of. CVE-2021-27219 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 3.0% is the estimated probability that it will be exploited in the next 30 days. That is higher than 87% of all scored CVEs.

How severe is CVE-2021-27219?

CVE-2021-27219 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2021-27219 affect?

Published advisories record a fix for glib2 (Amazon), glib2-debuginfo (Amazon), glib2-devel (Amazon), glib2-doc (Amazon), and 6 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2021-27219
CVE-2021-27219 severity badge

Markdown

[![CVE-2021-27219](https://tridentstack.com/cve/badge/CVE-2021-27219.svg)](https://tridentstack.com/cve/CVE-2021-27219)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-27219"><img src="https://tridentstack.com/cve/badge/CVE-2021-27219.svg" alt="CVE-2021-27219"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.