Gnome Glib vulnerabilities

26 known vulnerabilities affecting gnome/glib.

Total CVEs
26
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL4HIGH13MEDIUM9

Vulnerabilities

Page 1 of 2
CVE-2025-14512MEDIUMCVSS 6.5fixed in 2.86.32025-12-11
CVE-2025-14512 [MEDIUM] CWE-190 CVE-2025-14512: A flaw was found in glib. This vulnerability allows a heap buffer overflow and denial-of-service (Do A flaw was found in glib. This vulnerability allows a heap buffer overflow and denial-of-service (DoS) via an integer overflow in GLib's GIO (GLib Input/Output) escape_byte_string() function when processing malicious file or remote filesystem attribute values.
cvelistv5nvd
CVE-2025-14087CRITICALCVSS 9.8fixed in 2.86.32025-12-10
CVE-2025-14087 [MEDIUM] CWE-190 CVE-2025-14087: A flaw was found in GLib (Gnome Lib). This vulnerability allows a remote attacker to cause heap corr A flaw was found in GLib (Gnome Lib). This vulnerability allows a remote attacker to cause heap corruption, leading to a denial of service or potential code execution via a buffer-underflow in the GVariant parser when processing maliciously crafted input strings.
cvelistv5nvd
CVE-2025-13601HIGHCVSS 7.7fixed in 2.86.32025-11-26
CVE-2025-13601 [HIGH] CWE-190 CVE-2025-13601: A heap-based buffer overflow problem was found in glib through an incorrect calculation of buffer si A heap-based buffer overflow problem was found in glib through an incorrect calculation of buffer size in the g_escape_uri_string() function. If the string to escape contains a very large number of unacceptable characters (which would need escaping), the calculation of the length of the escaped string could overflow, leading to a potential write off t
nvd
CVE-2025-4056HIGHCVSS 7.5fixed in 2.84.12025-07-28
CVE-2025-4056 [HIGH] CWE-94 CVE-2025-4056: A flaw was found in GLib. A denial of service on Windows platforms may occur if an application attem A flaw was found in GLib. A denial of service on Windows platforms may occur if an application attempts to spawn a program using long command lines.
nvd
CVE-2025-6052HIGHCVSS 7.5≥ 2.75.3, ≤ 2.84.32025-06-13
CVE-2025-6052 [LOW] CWE-190 CVE-2025-6052: A flaw was found in how GLib’s GString manages memory when adding data to strings. If a string is al A flaw was found in how GLib’s GString manages memory when adding data to strings. If a string is already very large, combining it with more input can cause a hidden overflow in the size calculation. This makes the system think it has enough memory when it doesn’t. As a result, data may be written past the end of the allocated memory, leading to crashes
nvd
CVE-2024-52533CRITICALCVSS 9.8fixed in 2.82.12024-11-11
CVE-2024-52533 [CRITICAL] CWE-120 CVE-2024-52533: gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflo gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because SOCKS4_CONN_MSG_LEN is not sufficient for a trailing '\0' character.
nvd
CVE-2024-34397MEDIUMCVSS 5.2fixed in 2.78.5≥ 2.79.0, < 2.80.12024-05-07
CVE-2024-34397 [MEDIUM] CWE-290 CVE-2024-34397: An issue was discovered in GNOME GLib before 2.78.5, and 2.79.x and 2.80.x before 2.80.1. When a GDB An issue was discovered in GNOME GLib before 2.78.5, and 2.79.x and 2.80.x before 2.80.1. When a GDBus-based client subscribes to signals from a trusted system service such as NetworkManager on a shared computer, other users of the same computer can send spoofed D-Bus signals that the GDBus-based client will wrongly interpret as having been sent by
nvd
CVE-2023-32636HIGHCVSS 7.5fixed in 2.74.42023-09-14
CVE-2023-32636 [MEDIUM] CVE-2023-32636: A flaw was found in glib, where the gvariant deserialization code is vulnerable to a denial of servi A flaw was found in glib, where the gvariant deserialization code is vulnerable to a denial of service introduced by additional input validation added to resolve CVE-2023-29499. The offset table validation may be very slow. This bug does not affect any released version of glib but does affect glib distributors who followed the guidance of glib developers to
nvd
CVE-2023-29499HIGHCVSS 7.5fixed in 2.74.42023-09-14
CVE-2023-29499 [MEDIUM] CWE-400 CVE-2023-29499: A flaw was found in GLib. GVariant deserialization fails to validate that the input conforms to the A flaw was found in GLib. GVariant deserialization fails to validate that the input conforms to the expected format, leading to denial of service.
nvd
CVE-2023-32643HIGHCVSS 7.8fixed in 2.75.12023-09-14
CVE-2023-32643 [MEDIUM] CWE-122 CVE-2023-32643: A flaw was found in GLib. The GVariant deserialization code is vulnerable to a heap buffer overflow A flaw was found in GLib. The GVariant deserialization code is vulnerable to a heap buffer overflow introduced by the fix for CVE-2023-32665. This bug does not affect any released version of GLib, but does affect GLib distributors who followed the guidance of GLib developers to backport the initial fix for CVE-2023-32665.
nvd
CVE-2023-32665MEDIUMCVSS 5.5fixed in 2.74.42023-09-14
CVE-2023-32665 [MEDIUM] CWE-400 CVE-2023-32665: A flaw was found in GLib. GVariant deserialization is vulnerable to an exponential blowup issue wher A flaw was found in GLib. GVariant deserialization is vulnerable to an exponential blowup issue where a crafted GVariant can cause excessive processing, leading to denial of service.
nvd
CVE-2023-32611MEDIUMCVSS 5.5fixed in 2.74.22023-09-14
CVE-2023-32611 [MEDIUM] CWE-400 CVE-2023-32611: A flaw was found in GLib. GVariant deserialization is vulnerable to a slowdown issue where a crafted A flaw was found in GLib. GVariant deserialization is vulnerable to a slowdown issue where a crafted GVariant can cause excessive processing, leading to denial of service.
nvd
CVE-2021-3800MEDIUMCVSS 5.5fixed in 2.62.5≥ 2.63.0, < 2.63.62022-08-23
CVE-2021-3800 [MEDIUM] CWE-200 CVE-2021-3800: A flaw was found in glib before version 2.63.6. Due to random charset alias, pkexec can leak content A flaw was found in glib before version 2.63.6. Due to random charset alias, pkexec can leak content from files owned by privileged users to unprivileged ones under the right condition.
nvd
CVE-2021-28153MEDIUMCVSS 5.3fixed in 2.66.82021-03-11
CVE-2021-28153 [MEDIUM] CWE-59 CVE-2021-28153: An issue was discovered in GNOME GLib before 2.66.8. When g_file_replace() is used with G_FILE_CREAT An issue was discovered in GNOME GLib before 2.66.8. When g_file_replace() is used with G_FILE_CREATE_REPLACE_DESTINATION to replace a path that is a dangling symlink, it incorrectly also creates the target of the symlink as an empty file, which could conceivably have security relevance if the symlink is attacker-controlled. (If the path is a symlink
nvd
CVE-2021-27219HIGHCVSS 7.5fixed in 2.66.6≥ 2.67.0, < 2.67.32021-02-15
CVE-2021-27219 [HIGH] CWE-681 CVE-2021-27219: An issue was discovered in GNOME GLib before 2.66.6 and 2.67.x before 2.67.3. The function g_bytes_n 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.
nvd
CVE-2021-27218HIGHCVSS 7.5fixed in 2.66.7≥ 2.67.0, < 2.67.42021-02-15
CVE-2021-27218 [HIGH] CWE-681 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_ta 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.
nvd
CVE-2020-35457HIGHCVSS 7.8fixed in 2.65.32020-12-14
CVE-2020-35457 [HIGH] CWE-190 CVE-2020-35457: GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in g_op GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in g_option_group_add_entries. NOTE: the vendor's position is "Realistically this is not a security issue. The standard pattern is for callers to provide a static list of option entries in a fixed number of calls to g_option_group_add_entries()." The researche
nvd
CVE-2020-6750MEDIUMCVSS 5.9≥ 2.60.0, ≤ 2.62.42020-01-09
CVE-2020-6750 [MEDIUM] CVE-2020-6750: GSocketClient in GNOME GLib through 2.62.4 may occasionally connect directly to a target address ins GSocketClient in GNOME GLib through 2.62.4 may occasionally connect directly to a target address instead of connecting via a proxy server when configured to do so, because the proxy_addr field is mishandled. This bug is timing-dependent and may occur only sporadically depending on network delays. The greatest security relevance is in use cases where a proxy i
nvd
CVE-2019-13012HIGHCVSS 7.5≥ 2.0.0, < 2.59.12019-06-28
CVE-2019-13012 [HIGH] CVE-2019-13012: The keyfile settings backend in GNOME GLib (aka glib2.0) before 2.60.0 creates directories using g_f The keyfile settings backend in GNOME GLib (aka glib2.0) before 2.60.0 creates directories using g_file_make_directory_with_parents (kfsb->dir, NULL, NULL) and files using g_file_replace_contents (kfsb->file, contents, length, NULL, FALSE, G_FILE_CREATE_REPLACE_DESTINATION, NULL, NULL, NULL). Consequently, it does not properly restrict directory (and file) pe
nvd
CVE-2019-12450CRITICALCVSS 9.8≥ 2.15.0, ≤ 2.61.12019-05-29
CVE-2019-12450 [CRITICAL] CWE-276 CVE-2019-12450: file_copy_fallback in gio/gfile.c in GNOME GLib 2.15.0 through 2.61.1 does not properly restrict fil file_copy_fallback in gio/gfile.c in GNOME GLib 2.15.0 through 2.61.1 does not properly restrict file permissions while a copy operation is in progress. Instead, default permissions are used.
nvd