An issue was discovered in GNOME GLib before 2.66.7 and 2.67.x before 2.67.4. If gbytearraynewtake() 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.
{
"sources": [
{
"id": "CVE-2021-27218",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-27218",
"imported": "2025-10-19T21:13:23.539Z",
"published": "2021-02-15T17:15:13.073Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27218",
"modified": "2024-11-21T05:57:37.240Z"
}
],
"license": "CC-BY-4.0"
}