{"id":"ALPINE-CVE-2021-27218","details":"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.","modified":"2026-09-15T08:17:46.632379230Z","published":"2021-02-15T17:15:13.073Z","upstream":["CVE-2021-27218"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-27218"}],"affected":[{"package":{"name":"glib","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/glib?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.67.0"},{"fixed":"2.66.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-27218.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}