Gnome Glib vulnerabilities
33 known vulnerabilities affecting gnome/glib.
Total CVEs
33
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL5HIGH19MEDIUM9
Vulnerabilities
Page 1 of 2
CVE-2025-14087P3CRITICALCVSS 9.8fixed in 2.86.32025-12-10
CVE-2025-14087 [CRITICAL] 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.
nvd
CVE-2026-58015P3HIGHCVSS 7.5fixed in 2.88.12026-06-30
CVE-2026-58015 [HIGH] CWE-22 CVE-2026-58015: A flaw was found in GLib. The D-Bus client-side implementation of the DBUS_COOKIE_SHA1 SASL authenti
A flaw was found in GLib. The D-Bus client-side implementation of the DBUS_COOKIE_SHA1 SASL authentication mechanism does not validate the cookie_context parameter received from the server. A malicious D-Bus server can supply a cookie_context containing path traversal sequences, causing the client to read an arbitrary file and exfiltrate sensitive data
nvd
CVE-2026-58016P3CRITICALCVSS 9.1fixed in 2.88.1fixed in 2.89.02026-06-30
CVE-2026-58016 [CRITICAL] CWE-191 CVE-2026-58016: A flaw was found in GLib. A state confusion issue exists in g_dbus_node_info_new_for_xml() in the gi
A flaw was found in GLib. A state confusion issue exists in g_dbus_node_info_new_for_xml() in the gio/gdbusintrospection.c file when processing malformed D-Bus introspection XML, specifically with a element nested within other elements like , , or . This issue can cause an unsigned integer overflow and lead to an out-of-bounds read, resulting in a
nvd
CVE-2024-52533P3CRITICALCVSS 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-2019-12450P3CRITICALCVSS 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
CVE-2026-58014P3HIGHCVSS 8.6fixed in 2.88.12026-06-30
CVE-2026-58014 [HIGH] CWE-193 CVE-2026-58014: A flaw was found in GLib. An off-by-one error can occur in the g_key_file_get_locale_string_list fun
A flaw was found in GLib. An off-by-one error can occur in the g_key_file_get_locale_string_list function in the gkeyfile.c file when loading a key file with an empty value. This flaw can cause an out-of-bounds access of 1 byte or a denial of service when the out-of-bounds access crosses a page boundary.
nvd
CVE-2025-13601P3HIGHCVSS 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-2019-13012P3HIGHCVSS 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-2026-58010P3HIGHCVSS 8.2fixed in 2.86.5v2.88.0+1 more2026-06-30
CVE-2026-58010 [HIGH] CWE-126 CVE-2026-58010: A flaw was found in GLib. An off-by-one error can occur in the gvs_tuple_is_normal function in the g
A flaw was found in GLib. An off-by-one error can occur in the gvs_tuple_is_normal function in the glib/gvariant-serialiser.c file when doing an alignment padding check because the bounds check uses > instead of >=, causing an out-of-bounds read of only 1 byte. This issue can cause a minor information disclosure of 1 byte and a denial of service when
nvd
CVE-2026-58012P3HIGHCVSS 8.2fixed in 2.86.5v2.88.0+1 more2026-06-30
CVE-2026-58012 [HIGH] CWE-126 CVE-2026-58012: A flaw was found in GLib. A buffer over-read can occur in the g_regex_replace function when used wit
A flaw was found in GLib. A buffer over-read can occur in the g_regex_replace function when used with the `G_REGEX_RAW` compile flag and case-change replacement escapes because the string_append function processes matched substrings using UTF-8 functions that assume valid UTF-8 input, even when the string is treated as raw bytes. This vulnerability ca
nvd
CVE-2026-58013P3HIGHCVSS 8.2fixed in 2.88.12026-06-30
CVE-2026-58013 [HIGH] CWE-126 CVE-2026-58013: A flaw was found in GLib. A buffer over-read can occur in g_io_channel_read_line_backend() in the gi
A flaw was found in GLib. A buffer over-read can occur in g_io_channel_read_line_backend() in the giochannel.c file when a custom line terminator with a length greater than one is set, causing memcmp to read past the GString buffer. This vulnerability can cause a minor information disclosure of 7 bytes or a denial of service when the buffer over-read
nvd
CVE-2025-6052P3HIGHCVSS 7.5≥ 2.75.3, ≤ 2.84.32025-06-13
CVE-2025-6052 [HIGH] 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-2018-16428P3CRITICALCVSS 9.8v2.56.12018-09-04
CVE-2018-16428 [CRITICAL] CWE-476 CVE-2018-16428: In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer dereference
In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer dereference.
nvd
CVE-2021-27218P3HIGHCVSS 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-2021-27219P3HIGHCVSS 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-2026-58011P3HIGHCVSS 7.5fixed in 2.86.5v2.88.0+1 more2026-06-30
CVE-2026-58011 [HIGH] CWE-125 CVE-2026-58011: A flaw was found in GLib. An out-of-bounds read of only 2 bytes can occur in the g_date_time_get_ymd
A flaw was found in GLib. An out-of-bounds read of only 2 bytes can occur in the g_date_time_get_ymd function in the glib/gdatetime.c file when an invalid GDateTime object produced by the g_date_time_add_full function is processed. This flaw can corrupt the date output and potentially cause logic errors that may lead to a denial of service.
nvd
CVE-2020-35457P3HIGHCVSS 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-2023-32636P3HIGHCVSS 7.5fixed in 2.74.42023-09-14
CVE-2023-32636 [HIGH] 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 b
nvd
CVE-2023-32643P3HIGHCVSS 7.8fixed in 2.75.12023-09-14
CVE-2023-32643 [HIGH] 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-2012-0039P3HIGHCVSS 7.5≤ 2.31.8v1.1.12+255 more2012-01-14
CVE-2012-0039 [HIGH] CWE-310 CVE-2012-0039: GLib 2.31.8 and earlier, when the g_str_hash function is used, computes hash values without restrict
GLib 2.31.8 and earlier, when the g_str_hash function is used, computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table. NOTE: this issue may be disputed by the vendor
nvd
1 / 2Next →