synced 14 MIN AGO
01 Record

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

UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector

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
  • CWE-681Incorrect Conversion between Numeric TypesBase
  • CWE-190Integer Overflow or WraparoundBase
Data version
5.2
Document digest
034f9d399e4573c10fecc40b1b528e765e6106623b4c7f62611f83788f0e489a

05 Affected products

VendorProductVersionsPlatforms
debiandebian_linuxNot specified—
fedoraprojectfedoraNot specified—
gnomeglibNot specified—
netappactive_iq_unified_managerNot specified—
netappcloud_backupNot specified—
netappe-series_performance_analyzerNot specified—
redhatenterprise_linuxNot specified—

06 References

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.