# CVE-2021-27219

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-02-15 · Modified: 2026-10-14
- Aliases: ALPINE-CVE-2021-27219, RHSA-2021:2147, RHSA-2021:2170, RHSA-2021:2171, RHSA-2021:2172, RHSA-2021:2173, RHSA-2021:2174, RHSA-2021:2175, RHSA-2021:2203, RHSA-2021:2204, RHSA-2021:2467, UBUNTU-CVE-2021-27219, DEBIAN-CVE-2021-27219
- Record: https://cvemate.com/vulnerability/CVE-2021-27219 · JSON: https://cvemate.com/vulnerability/CVE-2021-27219/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 3.1%, percentile 88.167%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected (first 20 of 21)

- alpine glib (Alpine Linux): ≥ 2.67.0, \< 2.66.6-r0 \| \< 2.66.6-r0
- broadcom brocade\_fabric\_operating\_system\_firmware: na
- debian glib2.0 (Debian): \< 2.66.6-1
- ubuntu glib2.0 (Ubuntu): All versions (No fix recorded) \| \< 2.48.2-0ubuntu4.7 \| \< 2.56.4-0ubuntu0.18.04.7 \| \< 2.64.6-1~ubuntu20.04.2
- debian debian\_linux: 9.0
- fedoraproject fedora: 33 \| 34
- gnome glib: \< 2.66.6 \| ≥ 2.67.0, \< 2.67.3
- netapp active\_iq\_unified\_manager: na
- netapp cloud\_backup: na
- netapp e-series\_performance\_analyzer: na
- redhat glib2 (Red Hat): \< 0:2.56.1-9.el7\_9 \| \< 0:2.56.4-10.el8\_4 \| \< 0:2.56.4-8.el8\_2.1 \| \< 0:2.56.4-8.el8\_1 \| \< 0:2.46.2-5.el7\_3 \| \< 0:2.50.3-4.el7\_4 \| \< 0:2.56.1-6.el7\_7 \| \< 0:2.42.2-6.el7\_2 \| \< 0:2.56.1-5.el7\_6 \| \< 0:2.28.8-11.el6\_10
- redhat glib2-debuginfo (Red Hat): \< 0:2.56.1-9.el7\_9 \| \< 0:2.56.4-10.el8\_4 \| \< 0:2.56.4-8.el8\_2.1 \| \< 0:2.56.4-8.el8\_1 \| \< 0:2.46.2-5.el7\_3 \| \< 0:2.50.3-4.el7\_4 \| \< 0:2.56.1-6.el7\_7 \| \< 0:2.42.2-6.el7\_2 \| \< 0:2.56.1-5.el7\_6 \| \< 0:2.28.8-11.el6\_10
- redhat glib2-debugsource (Red Hat): \< 0:2.56.4-10.el8\_4 \| \< 0:2.56.4-8.el8\_2.1 \| \< 0:2.56.4-8.el8\_1
- redhat glib2-devel (Red Hat): \< 0:2.56.1-9.el7\_9 \| \< 0:2.56.4-10.el8\_4 \| \< 0:2.56.4-8.el8\_2.1 \| \< 0:2.56.4-8.el8\_1 \| \< 0:2.46.2-5.el7\_3 \| \< 0:2.50.3-4.el7\_4 \| \< 0:2.56.1-6.el7\_7 \| \< 0:2.42.2-6.el7\_2 \| \< 0:2.56.1-5.el7\_6 \| \< 0:2.28.8-11.el6\_10
- redhat glib2-devel-debuginfo (Red Hat): \< 0:2.56.4-10.el8\_4 \| \< 0:2.56.4-8.el8\_2.1 \| \< 0:2.56.4-8.el8\_1
- redhat glib2-doc (Red Hat): \< 0:2.56.1-9.el7\_9 \| \< 0:2.56.4-10.el8\_4 \| \< 0:2.56.4-8.el8\_2.1 \| \< 0:2.56.4-8.el8\_1 \| \< 0:2.46.2-5.el7\_3 \| \< 0:2.50.3-4.el7\_4 \| \< 0:2.56.1-6.el7\_7 \| \< 0:2.42.2-6.el7\_2 \| \< 0:2.56.1-5.el7\_6 \| \< 0:2.28.8-11.el6\_10
- redhat glib2-fam (Red Hat): \< 0:2.56.1-9.el7\_9 \| \< 0:2.56.4-10.el8\_4 \| \< 0:2.56.4-8.el8\_2.1 \| \< 0:2.56.4-8.el8\_1 \| \< 0:2.46.2-5.el7\_3 \| \< 0:2.50.3-4.el7\_4 \| \< 0:2.56.1-6.el7\_7 \| \< 0:2.42.2-6.el7\_2 \| \< 0:2.56.1-5.el7\_6
- redhat glib2-fam-debuginfo (Red Hat): \< 0:2.56.4-10.el8\_4 \| \< 0:2.56.4-8.el8\_2.1 \| \< 0:2.56.4-8.el8\_1
- redhat glib2-static (Red Hat): \< 0:2.56.1-9.el7\_9 \| \< 0:2.56.4-10.el8\_4 \| \< 0:2.56.4-8.el8\_2.1 \| \< 0:2.56.4-8.el8\_1 \| \< 0:2.50.3-4.el7\_4 \| \< 0:2.56.1-6.el7\_7 \| \< 0:2.56.1-5.el7\_6 \| \< 0:2.28.8-11.el6\_10
- redhat glib2-tests (Red Hat): \< 0:2.56.1-9.el7\_9 \| \< 0:2.56.4-10.el8\_4 \| \< 0:2.56.4-8.el8\_2.1 \| \< 0:2.56.4-8.el8\_1 \| \< 0:2.50.3-4.el7\_4 \| \< 0:2.56.1-6.el7\_7 \| \< 0:2.56.1-5.el7\_6

## References (first 20 of 38)

- <https://gitlab.gnome.org/GNOME/glib/-/issues/2319>
- <https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2REA7RVKN7ZHRLJOEGBRQKJIPZQPAELZ/>
- <https://security.netapp.com/advisory/ntap-20210319-0004/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JJMPNDO4GDVURYQFYKFOWY5HAF4FTEPN/>
- <https://security.gentoo.org/glsa/202107-13>
- <https://lists.debian.org/debian-lts-announce/2022/06/msg00006.html>
- <https://security.alpinelinux.org/vuln/CVE-2021-27219>
- <https://access.redhat.com/errata/RHSA-2021:2147>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1929858>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_2147.json>
- <https://access.redhat.com/security/cve/CVE-2021-27219>
- <https://www.cve.org/CVERecord?id=CVE-2021-27219>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-27219>
- <https://access.redhat.com/errata/RHSA-2021:2170>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1953553>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_2170.json>
- <https://access.redhat.com/errata/RHSA-2021:2171>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_2171.json>

---

Data as of 2026-12-05T08:25:03.161Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
