CVE-2021-27218

published 15 Feb 2021 · updated 16 Nov 2026

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 modulo 2**32 causing unintended length truncation.

7.5HighCVSS 7.5EPSS 4%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. No fixed version is recorded.

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 modulo 2**32, causing unintended length truncation.

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-27218 severity on Zeptric[![CVE-2021-27218](https://zeptric.io/badge/cve/CVE-2021-27218.svg)](https://zeptric.io/cve/CVE-2021-27218)