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.
CVE-2021-27219
Score 7.5 from GitHub Security Advisory (severity: HIGH) published 2022-05-24. NVD baseline CVSS 7.5; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5HIGHmedium confidence
- EG Risk
- 39EG Risk 39/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation3% × 40%Automatability30% × 15%CISA SSVC: Track at low or medium mission impact; Track or Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 3.0%
- EPSS %ILE
- 86th
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track or Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation none (no KEV listing, exploit record or EPSS ≥ 50%) · Automatable unknown (not published for this CVE) · Technical impact partial (CVSS below 9.0). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
February 15, 2021
Last Modified
November 21, 2024
References (14)
- cve@mitrehttps://gitlab.gnome.org/GNOME/glib/-/issues/2319
- cve@mitrehttps://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
- cve@mitrehttps://lists.debian.org/debian-lts-announce/2022/06/msg00006.html
- cve@mitrehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2REA7RVKN7ZHRLJOEGBRQKJIPZQPAELZ/
- cve@mitrehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JJMPNDO4GDVURYQFYKFOWY5HAF4FTEPN/
- cve@mitrehttps://security.gentoo.org/glsa/202107-13
- cve@mitrehttps://security.netapp.com/advisory/ntap-20210319-0004/
- af854a3a-2127-422b-91ae-364da2661108https://gitlab.gnome.org/GNOME/glib/-/issues/2319
- af854a3a-2127-422b-91ae-364da2661108https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2022/06/msg00006.html
- af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2REA7RVKN7ZHRLJOEGBRQKJIPZQPAELZ/
- af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JJMPNDO4GDVURYQFYKFOWY5HAF4FTEPN/
- af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/202107-13
- af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20210319-0004/
Vendor Advisories for CVE-2021-27219(4)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHBA-2021:2854Red Hat Product SecurityHigh
Red Hat Bug Fix Advisory: Migration Toolkit for Containers (MTC) 1.4.6 release advisory
- RHSA-2021:2522Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Virtualization Host security update [ovirt-4.4.6]
- RHSA-2021:2467Red Hat Product SecurityHigh
Red Hat Security Advisory: glib2 security update
- CVE-2021-27219Microsoft Security Response Center (MSRC)High
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.
Patch Availability(15)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libglib2.0-udeb (2.64.6-1~ubuntu20.04.2) @ focal | 2026-05-26 | ubuntu |
| redhat | mingw-glib2-0:2.66.7-2.el8 | 2021-11-09 | redhat |
| redhat | rhmtc/openshift-velero-plugin-rhel8:v1.4.6-4 | 2021-07-21 | redhat |
| redhat | redhat-virtualization-host-0:4.4.6-20210615.0.el8_4 | 2021-06-22 | redhat |
| redhat | redhat-virtualization-host-0:4.3.16-20210615.0.el7_9 | 2021-06-22 | redhat |
| redhat | glib2-0:2.28.8-11.el6_10 | 2021-06-17 | redhat |
| redhat | glib2-0:2.42.2-6.el7_2 | 2021-06-02 | redhat |
| redhat | glib2-0:2.56.1-5.el7_6 | 2021-06-02 | redhat |
| redhat | glib2-0:2.56.1-6.el7_7 | 2021-06-01 | redhat |
| redhat | glib2-0:2.56.4-8.el8_1 | 2021-06-01 | redhat |
| redhat | glib2-0:2.56.4-10.el8_4 | 2021-06-01 | redhat |
| redhat | glib2-0:2.46.2-5.el7_3 | 2021-06-01 | redhat |
| redhat | glib2-0:2.50.3-4.el7_4 | 2021-06-01 | redhat |
| redhat | glib2-0:2.56.4-8.el8_2.1 | 2021-06-01 | redhat |
| redhat | glib2-0:2.56.1-9.el7_9 | 2021-05-31 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(17 across 17 ecosystems)
Alpine:v3.13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib | — |
| — |
Alpine:v3.14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib | — |
| — |
Alpine:v3.15(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib | — |
| — |
Alpine:v3.16(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib | — |
| — |
Alpine:v3.17(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib | — |
| — |
Alpine:v3.18(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib | — |
| — |
Alpine:v3.19(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib | — |
| — |
Alpine:v3.20(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib | — |
| — |
Alpine:v3.21(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib | — |
| — |
Alpine:v3.22(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib | — |
| — |
Alpine:v3.23(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib | — |
| — |
Alpine:v3.24(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib | — |
| — |
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib2.0 | — |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib2.0 | — |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib2.0 | — |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib2.0 | — |
| — |
Debian:9(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glib2.0 | 2.50.3-2, 2.50.3-2+deb9u1, 2.50.3-2+deb9u2 |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(12)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2021:2147IMPORTANT2021-02-04
RHSA-2021:2147 — Important
- Red HatRHSA-2021:2170IMPORTANT2021-02-04
RHSA-2021:2170 — Important
- Red HatRHSA-2021:2171IMPORTANT2021-02-04
RHSA-2021:2171 — Important
- Red HatRHSA-2021:2172IMPORTANT2021-02-04
RHSA-2021:2172 — Important
- Red HatRHSA-2021:2173IMPORTANT2021-02-04
RHSA-2021:2173 — Important
- Red HatRHSA-2021:2174IMPORTANT2021-02-04
RHSA-2021:2174 — Important
- Red HatRHSA-2021:2175IMPORTANT2021-02-04
RHSA-2021:2175 — Important
- Red HatRHSA-2021:2203IMPORTANT2021-02-04
RHSA-2021:2203 — Important
- Red HatRHSA-2021:2204IMPORTANT2021-02-04
RHSA-2021:2204 — Important
- Red HatRHSA-2021:2519IMPORTANT2021-02-04
RHSA-2021:2519 — Important
- Red HatRHSA-2021:4526IMPORTANT2021-02-04
RHSA-2021:4526 — Important
- UbuntuUSN-4759-1MEDIUM
GLib vulnerabilities
Data Freshness Timeline
(refreshed 7× in last 7d / 31× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 183 total refreshes for this CVE.
- 2026-10-09 20:04 UTCEPSS rescore
- 2026-10-08 16:39 UTCEPSS rescore
- 2026-10-07 23:44 UTCEPSS rescore
- 2026-10-06 15:14 UTCEPSS rescore
- 2026-10-05 17:40 UTCEPSS rescore
- 2026-10-03 14:22 UTCEPSS rescore
- 2026-10-03 14:22 UTCEPSS rescore
- 2026-10-02 16:22 UTCEPSS rescore
- 2026-10-01 19:46 UTCEPSS rescore
- 2026-09-30 15:33 UTCEG score recompute
- 2026-09-30 15:00 UTCEPSS rescore
- 2026-09-29 15:15 UTCEPSS rescore
- 2026-09-28 13:47 UTCEPSS rescore
- 2026-09-26 15:54 UTCEPSS rescore
- 2026-09-26 15:54 UTCEPSS rescore
- 2026-09-26 09:25 UTCOSV refresh
- 2026-09-26 00:21 UTCEPSS rescore
- 2026-09-24 14:00 UTCEPSS rescore
- 2026-09-23 13:44 UTCEPSS rescore
- 2026-09-21 20:28 UTCEPSS rescore
- 2026-09-19 15:37 UTCEPSS rescore
- 2026-09-18 19:23 UTCEPSS rescore
- 2026-09-17 19:23 UTCEPSS rescore
- 2026-09-17 19:23 UTCEPSS rescore
- 2026-09-16 14:05 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-15 03:06 UTCEPSS rescore
- 2026-09-15 03:06 UTCEPSS rescore
- 2026-09-13 16:43 UTCEPSS rescore
- 2026-09-12 14:57 UTCEPSS rescore
- 2026-09-11 14:49 UTCEPSS rescore
- 2026-09-11 09:33 UTCEPSS rescore
- 2026-09-08 21:56 UTCEPSS rescore
- 2026-09-07 15:58 UTCEPSS rescore
- 2026-09-06 22:13 UTCOSV refresh
- 2026-09-06 13:44 UTCEPSS rescore
- 2026-09-05 15:25 UTCEPSS rescore
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-04 05:03 UTCEPSS rescore
- 2026-09-04 05:03 UTCEPSS rescore
- 2026-09-02 14:08 UTCEPSS rescore
- 2026-09-01 13:50 UTCEPSS rescore
- 2026-09-01 03:32 UTCEPSS rescore
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-30 01:19 UTCEPSS rescore
- 2026-08-28 21:37 UTCEPSS rescore
- 2026-08-27 14:22 UTCEPSS rescore
- 2026-08-26 14:42 UTCEPSS rescore
- 2026-08-25 13:45 UTCEPSS rescore
- 2026-08-24 14:12 UTCEPSS rescore
- 2026-08-23 00:16 UTCEPSS rescore
- 2026-08-21 23:46 UTCEPSS rescore
- 2026-08-20 22:52 UTCEPSS rescore
- 2026-08-20 08:31 UTCOSV refresh
- 2026-08-19 17:01 UTCEPSS rescore
- 2026-08-18 13:45 UTCEPSS rescore
- 2026-08-17 13:44 UTCEPSS rescore
- 2026-08-16 14:53 UTCEPSS rescore
- 2026-08-16 02:11 UTCEPSS rescore
- 2026-08-16 02:11 UTCEPSS rescore
- 2026-08-15 01:27 UTCEPSS rescore
- 2026-08-13 21:57 UTCEPSS rescore
- 2026-08-12 13:47 UTCEPSS rescore
- 2026-08-11 13:38 UTCEPSS rescore
- 2026-08-09 13:43 UTCEPSS rescore
- 2026-08-08 16:33 UTCEPSS rescore
- 2026-08-07 16:23 UTCEPSS rescore
- 2026-08-06 13:43 UTCEPSS rescore
- 2026-08-05 19:14 UTCEPSS rescore
- 2026-08-05 03:41 UTCOSV refresh
- 2026-08-04 15:06 UTCEPSS rescore
- 2026-08-04 10:34 UTCEPSS rescore
- 2026-08-03 10:33 UTCEPSS rescore
- 2026-08-02 02:24 UTCEPSS rescore
- 2026-08-01 04:13 UTCEPSS rescore
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-30 01:27 UTCEPSS rescore
- 2026-07-28 15:33 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-25 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 01:59 UTCEG score recompute
- 2026-07-22 22:45 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-19 01:59 UTCOSV refresh
- 2026-07-18 10:02 UTCEPSS rescore
- 2026-07-18 10:02 UTCEPSS rescore
- 2026-07-16 17:00 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownAlpine:v3.14:glib · Alpine:v3.19:glib · Debian:9:glib2.0
Same vendor
10 shownredhat:RHSA-2021:2519 · redhat:RHSA-2021:4526 · redhat:RHBA-2021:2854
- CVE-2020-24489EG 8.8HIGH
- CVE-2021-27218EG 7.5EPSS p90HIGH
- CVE-2021-3520EG 9.8CRITICAL
- CVE-2020-36329EG 9.8CRITICAL
- CVE-2020-36328EG 9.8CRITICAL
- CVE-2018-25011EG 9.8CRITICAL
- CVE-2021-3560NVD 7.8EG 9.0 KEVEPSS p98CRITICAL
- CVE-2021-3518EG 8.8EPSS p98HIGH
- CVE-2021-3517EG 8.6EPSS p97HIGH
- CVE-2020-27223NVD 5.2EG 8.5EPSS p100HIGH
Frequently asked(5)
What is CVE-2021-27219?
When was CVE-2021-27219 disclosed?
Is CVE-2021-27219 actively exploited?
What is the CVSS score of CVE-2021-27219?
How do I remediate CVE-2021-27219?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-27219
Is Your Infrastructure Affected by CVE-2021-27219?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.