CVE-2021-27218
An issue was discovered in GNOME GLib before 2.66.7 and 2.67.x before 2.67.4. If g_byte_array_new_take() was called with a buffer of 4GB or more on a 64-bit platform, the length would be truncated
02 Description
An issue was discovered in GNOME GLib before 2.66.7 and 2.67.x before 2.67.4. If g_byte_array_new_take() was called with a buffer of 4GB or more on a 64-bit platform, the length would be truncated
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 4.08% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 90.3% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-14.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-02-15 16:27Z5 YR AGO
- Last updated
- 2026-10-14 11:34Z15 DAYS AGO
- Reserved
- 2021-02-15
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.2
- Document digest
- 034f9d399e4573c10fecc40b1b528e765e6106623b4c7f62611f83788f0e489a
05 Affected products
06 References
- gitlab.gnome.orghttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/1942
- gitlab.gnome.orghttps://gitlab.gnome.org/GNOME/glib/-/merge_requests/1944
- lists.apache.org[mina-dev] 20210225 [jira] [Created] (FTPSERVER-500) Security vulnerability in common/lib/log4j-1.2.17.jarhttps://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
- lists.fedoraproject.orgFEDORA-2021-7c71cda8dahttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2REA7RVKN7ZHRLJOEGBRQKJIPZQPAELZ/
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20210319-0004/
- lists.fedoraproject.orgFEDORA-2021-7b5e2e6844https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JJMPNDO4GDVURYQFYKFOWY5HAF4FTEPN/
- lists.apache.org[bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- lists.apache.org[bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- security.gentoo.orgGLSA-202107-13https://security.gentoo.org/glsa/202107-13
- lists.debian.org[debian-lts-announce] 20220606 [SECURITY] [DLA 3044-1] glib2.0 security updatehttps://lists.debian.org/debian-lts-announce/2022/06/msg00006.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-398330.html
07 Fixed in
AlmaLinux 8
- glib2-doc Fixed in 2.56.4-10.el8_4.1
- glib2-static Fixed in 2.56.4-10.el8_4.1
- mingw32-glib2 Fixed in 2.66.7-2.el8
- mingw32-glib2-static Fixed in 2.66.7-2.el8
- mingw64-glib2 Fixed in 2.66.7-2.el8
- mingw64-glib2-static Fixed in 2.66.7-2.el8
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- glib2 Fixed in 2.66.7-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- glib2-doc Fixed in 2.56.4-10.el8_4.1
- glib2-static Fixed in 2.56.4-10.el8_4.1
- mingw32-glib2 Fixed in 2.66.7-2.el8
- mingw32-glib2-static Fixed in 2.66.7-2.el8
- mingw64-glib2 Fixed in 2.66.7-2.el8
- mingw64-glib2-static Fixed in 2.66.7-2.el8
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- glib2.0 Fixed in 2.66.7-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- glib2.0 Fixed in 2.66.7-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- glib2.0 Fixed in 2.66.7-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- glib2.0 Fixed in 2.48.2-0ubuntu4.7
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- glib2.0 Fixed in 2.56.4-0ubuntu0.18.04.7
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- glib2.0 Fixed in 2.64.6-1~ubuntu20.04.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- glib2.0 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.