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).
## Patch Instructions:
To install this SUSE update use the SUSE recommended installation methods like
YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:
* openSUSE Leap 15.6
zypper in -t patch SUSE-2025-2167=1 openSUSE-SLE-15.6-2025-2167=1
* Basesystem Module 15-SP6
zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP6-2025-2167=1
* Basesystem Module 15-SP7
zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP7-2025-2167=1
* openSUSE Leap 15.6 (noarch)
* gio-branding-upstream-2.78.6-150600.4.16.1
* glib2-lang-2.78.6-150600.4.16.1
* openSUSE Leap 15.6 (aarch64 ppc64le s390x x86_64 i586)
* glib2-devel-debuginfo-2.78.6-150600.4.16.1
* glib2-devel-static-2.78.6-150600.4.16.1
* glib2-tools-debuginfo-2.78.6-150600.4.16.1
* libgio-2_0-0-debuginfo-2.78.6-150600.4.16.1
* libglib-2_0-0-2.78.6-150600.4.16.1
* glib2-debugsource-2.78.6-150600.4.16.1
* libgmodule-2_0-0-debuginfo-2.78.6-150600.4.16.1
* libgio-2_0-0-2.78.6-150600.4.16.1
* glib2-tools-2.78.6-150600.4.16.1
* libgthread-2_0-0-debuginfo-2.78.6-150600.4.16.1
* glib2-tests-devel-debuginfo-2.78.6-150600.4.16.1
* libglib-2_0-0-debuginfo-2.78.6-150600.4.16.1
* libgmodule-2_0-0-2.78.6-150600.4.16.1
* libgobject-2_0-0-2.78.6-150600.4.16.1
* libgobject-2_0-0-debuginfo-2.78.6-150600.4.16.1
* libgthread-2_0-0-2.78.6-150600.4.16.1
* glib2-doc-2.78.6-150600.4.16.1
* glib2-tests-devel-2.78.6-150600.4.16.1
* glib2-devel-2.78.6-150600.4.16.1
* openSUSE Leap 15.6 (x86_64)
*...
Read the Full Advisory* bsc#1242844
* bsc#1244596
## References:
* https://www.suse.com/security/cve/CVE-2025-4373.html
* https://www.suse.com/security/cve/CVE-2025-6052.html
* https://bugzilla.suse.com/show_bug.cgi?id=1242844
* https://bugzilla.suse.com/show_bug.cgi?id=1244596
Get the latest Linux and open source security news straight to your inbox.