Summary
This update for glib2 fixes the following issues:
- CVE-2025-6052: Fixed integer overflow in g_string_maybe_expand() leads to potential buffer overflow in GString (bsc#1244596).
- CVE-2025-4373: Fixed buffer underflow through glib/gstring.c via function g_string_insert_unichar (bsc#1242844).
Fixed packages 4
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 15.6 | glib2 | 2.78.6-150600.4.16.1 |
| openSUSE · Leap 15.6 | glib2-doc | 2.78.6-150600.4.16.1 |
| SUSE · SLES 15 SP6 Linux Enterprise Module for Basesystem 15 SP6 | glib2 | 2.78.6-150600.4.16.1 |
| SUSE · SLES 15 SP7 Linux Enterprise Module for Basesystem 15 SP7 | glib2 | 2.78.6-150600.4.16.1 |
Vulnerabilities 2
-
Medium 4.8
Glib: buffer underflow on glib through glib/gstring.c via function g_string_insert_unichar
A flaw was found in GLib, which is vulnerable to an integer overflow in the g_string_insert_unichar() function. When the position at which to insert the character is large, the position will overflow, leading to a buffer underwrite.
-
Low 3.7
Glib: integer overflow in g_string_maybe_expand() leading to potential buffer overflow in glib gstring
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 do…