Published: 15 February 2021
An issue was discovered in GNOME GLib before 2.66.6 and 2.67.x before 2.67.3. The function g_bytes_new has an integer overflow on 64-bit platforms due to an implicit cast from 64 bits to 32 bits. The overflow could potentially lead to memory corruption.
CVSS 3 base score: 7.5
see gnome bug for multiple regression fixes solved in 2.66.7 Upstream fixed this in 2.67 by adding a new g_memdup2() function and deprecating g_memdup(). For the 2.66 stable release, they added g_memdup2(), but in a private manner so that internal uses of g_memdup() could be switched, but this won't fix external applications.