← Back

Glib

glib

Vendor: Gnome • 26 CVEs

CVEs (26)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
2Gnome
Redhat
3Enterprise Linux
GlibOpenshift
Jun 2, 2026
Dec 11, 2025
N/A· v4
6.5 MEDIUM· v3
N/A· v2
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 fil...Show more
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.Show less
2Gnome
Redhat
2Enterprise Linux
Glib
Jun 2, 2026
Dec 10, 2025
N/A· v4
9.8 CRITICAL· v3
N/A· v2
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 pr...Show more
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.Show less
2Gnome
Redhat
29Ceph Storage
Codeready Linux BuilderCodeready Linux Builder For Arm64+26 more
Jun 2, 2026
Nov 26, 2025
N/A· v4
7.7 HIGH· v3
N/A· v2
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 character...Show more
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 the end of the newly allocated string.Show less
1Gnome
1Glib
Jan 8, 2026
Jul 28, 2025
N/A· v4
7.5 HIGH· v3
N/A· v2
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.
1Gnome
1Glib
Jun 2, 2026
Jun 13, 2025
N/A· v4
7.5 HIGH· v3
N/A· v2
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 syste...Show more
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 or memory corruption.Show less
3Debian
GnomeNetapp
4Active Iq Unified Manager
Debian LinuxGlib+1 more
Jun 17, 2025
Nov 11, 2024
N/A· v4
9.8 CRITICAL· v3
N/A· v2
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.
4Debian
FedoraprojectGnome+1 more
4Debian Linux
FedoraGlib+1 more
May 12, 2026
May 7, 2024
N/A· v4
5.2 MEDIUM· v3
N/A· v2
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 u...Show more
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 the trusted system service. This could lead to the GDBus-based client behaving incorrectly, with an application-dependent impact.Show less
1Gnome
1Glib
Nov 21, 2024
Sep 14, 2023
N/A· v4
5.5 MEDIUM· v3
N/A· v2
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.
1Gnome
1Glib
Nov 21, 2024
Sep 14, 2023
N/A· v4
7.8 HIGH· v3
N/A· v2
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 di...Show more
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.Show less
1Gnome
1Glib
Nov 21, 2024
Sep 14, 2023
N/A· v4
7.5 HIGH· v3
N/A· v2
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 sl...Show more
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 backport the initial fix for CVE-2023-29499.Show less
1Gnome
1Glib
Nov 21, 2024
Sep 14, 2023
N/A· v4
5.5 MEDIUM· v3
N/A· v2
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.
1Gnome
1Glib
Nov 21, 2024
Sep 14, 2023
N/A· v4
7.5 HIGH· v3
N/A· v2
A flaw was found in GLib. GVariant deserialization fails to validate that the input conforms to the expected format, leading to denial of service.
3Debian
GnomeNetapp
3Active Iq Unified Manager
Debian LinuxGlib
Nov 21, 2024
Aug 23, 2022
N/A· v4
5.5 MEDIUM· v3
N/A· v2
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.
4Broadcom
DebianFedoraproject+1 more
4Brocade Fabric Operating System Firmware
Debian LinuxFedora+1 more
Nov 21, 2024
Mar 11, 2021
N/A· v4
5.3 MEDIUM· v3
5.0 MEDIUM· v2
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 symlin...Show more
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 to a file that already exists, then the contents of that file correctly remain unchanged.)Show less
5Broadcom
DebianFedoraproject+2 more
7Active Iq Unified Manager
Brocade Fabric Operating System FirmwareCloud Backup+4 more
Nov 21, 2024
Feb 15, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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 poten...Show more
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.Show less
5Broadcom
DebianFedoraproject+2 more
7Active Iq Unified Manager
Brocade Fabric Operating System FirmwareCloud Backup+4 more
Nov 21, 2024
Feb 15, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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 u...Show more
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.Show less
1Gnome
1Glib
Nov 21, 2024
Dec 14, 2020
N/A· v4
7.8 HIGH· v3
4.6 MEDIUM· v2
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...Show more
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 researcher states that this pattern is undocumentedShow less
2Fedoraproject
Gnome
2Fedora
Glib
Nov 21, 2024
Jan 9, 2020
N/A· v4
5.9 MEDIUM· v3
4.3 MEDIUM· v2
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...Show more
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 is used to help with privacy/anonymity, even though there is no technical barrier to a direct connection. NOTE: versions before 2.60 are unaffected.Show less
1Gnome
1Glib
Nov 21, 2024
Jun 28, 2019
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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, l...Show more
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) permissions. Instead, for directories, 0777 permissions are used; for files, default file permissions are used. This is similar to CVE-2019-12450.Show less
6Canonical
DebianFedoraproject+3 more
9Debian Linux
Enterprise LinuxEnterprise Linux Eus+6 more
Nov 21, 2024
May 29, 2019
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
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.