Summary
It was discovered that GLib's GDBus authentication mechanism failed to
enforce length limitations on data lines read from a client. An
unauthenticated attacker could exploit this to cause a denial of service
via resource exhaustion. (CVE-2026-15588)
It was discovered that the xdgmime library in GLib had a heap-based
buffer overflow. An attacker-controlled MIME magic file could cause an
out-of-bounds write on little-endian systems. (CVE-2026-16118)
It was discovered that GLib had an off-by-one error in the GVariant
serialiser. An attacker could use this to cause an out-of-bounds read,
leading to information disclosure or a denial of service.
(CVE-2026-58010)
It was discovered that GLib had an out-of-bounds read in GDateTime. An
attacker could use this to corrupt date output and cause a denial of
service. (CVE-2026-58011)
It was discovered that GLib's g_regex_replace() function had a buffer
over-read when used with the G_REGEX_RAW flag. An attacker could use
this to cause information disclosure or a denial of service.
(CVE-2026-58012)
It was discovered that GLib's GIOChannel had a buffer over-read when
using a custom line terminator. An attacker could use this to cause
information disclosure or a denial of service. (CVE-2026-58013)
It was discovered that GLib's GKeyFile had an off-by-one error when
loading a key file with an empty value. An attacker could use this to
cause an out-of-bounds access or a denial of service. (CVE-2026-58014)
It was discovered that GLib's DBUS_COOKIE_SHA1 authentication mechanism
failed to validate the cookie_context parameter. A malicious D-Bus
server could use this to read arbitrary files from the client.
(CVE-2026-58015)
It was discovered that GLib's D-Bus introspection XML parser had a
state confusion issue. An attacker could use this to cause an
out-of-bounds read and denial of service. (CVE-2026-58016)
Fixed packages 7
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · 22.04 LTS 22.04:LTS | glib2.0 | 2.72.4-0ubuntu2.10 |
| Ubuntu · 24.04 LTS 24.04:LTS | glib2.0 | 2.80.0-6ubuntu3.9 |
| Ubuntu · 26.04 LTS 26.04:LTS | glib2.0 | 2.88.0-1ubuntu0.1 |
| Ubuntu · Pro 14.04 LTS Pro:14.04:LTS | glib2.0 | 2.40.2-0ubuntu1.1+esm8 |
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | glib2.0 | 2.48.2-0ubuntu4.8+esm6 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | glib2.0 | 2.56.4-0ubuntu0.18.04.9+esm6 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | glib2.0 | 2.64.6-1~ubuntu20.04.9+esm2 |
Vulnerabilities 9
-
High 7.5
Glib: integer underflow in gio/gdbusintrospection.c via "g_dbus_node_info_new_for_xml"
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 `node` element nested within other elements like `method`, `…
-
High 7.3
Glib: off-by-one error in glib/gkeyfile.c via "g_key_file_get_locale_string_list"
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…
-
High 7.1
Xdgmime: heap-based buffer overflow in _xdg_mime_magic_parse_magic_line() in xdgmimemagic.c
A flaw was found in xdgmime. A heap-based buffer overflow can be triggered in _xdg_mime_magic_parse_magic_line() in the xdgmimemagic.c file on little-endian systems when an attacker-controlled MIME magic file in a user-writable XDG data location (e.g., in the…
-
Medium 6.5
Glib: buffer over-read in glib/gvariant-serialiser.c via gvs_tuple_is_normal()
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 byt…
-
Medium 6.5
Glib: out-of-bounds read in glib/gdatetime.c:g_date_time_get_ymd via invalid gdatetime
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 d…
-
Medium 6.5
Glib: buffer over-read in g_regex_replace() via glib/gregex.c:string_append() and g_utf8_next_char()
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…
-
Medium 6.5
Glib: buffer over-read in glib/giochannel.c via "g_io_channel_read_line_backend"
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 cau…
-
Medium 5.9
Glib: path traversal in glib/gio/gdbusauthmechanismsha1.c via keyring_lookup_entry and mechanism_client_data_receive
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 …
-
Medium 5.3
Gdbusserver: glib2: gdbusserver pre-authentication dos via unbounded sasl line buffering
A denial-of-service and resource exhaustion vulnerability exists within the `GDBus` component of GLib. The `gdbusauth` authentication mechanism fails to enforce proper length limitations on data lines read from a client. An unauthenticated local or remote att…
References
-
report
https://ubuntu.com/security/CVE-2026-15588
-
report
https://ubuntu.com/security/CVE-2026-16118
-
report
https://ubuntu.com/security/CVE-2026-58010
-
report
https://ubuntu.com/security/CVE-2026-58011
-
report
https://ubuntu.com/security/CVE-2026-58012
-
report
https://ubuntu.com/security/CVE-2026-58013
-
report
https://ubuntu.com/security/CVE-2026-58014
-
report
https://ubuntu.com/security/CVE-2026-58015
-
report
https://ubuntu.com/security/CVE-2026-58016