Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | glib2.0 | 2.84.3-1 | — |
| Debian 13 | glib2.0 | 2.84.3-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | glib2.0 | 2.86.0-2ubuntu0.1 | USN-7942-1 |
| Ubuntu 24.04 LTS | glib2.0 | 2.80.0-6ubuntu3.6 | USN-7942-1 |
| Ubuntu 22.04 LTS | glib2.0 | 2.72.4-0ubuntu2.7 | USN-7942-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | glib2 | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SLES 15 SP6 | glib2 | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 6.1 | glib2 | 2.78.6-slfo.1.1_4.1 | SUSE-SU-2025:20673-1 |
| SLE Micro 6.0 | glib2 | 2.76.2-9.1 | SUSE-SU-2025:20508-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | glib2 | 2.84.3-1.1 | openSUSE-SU-2025:15221-1 |
| openSUSE Leap 15.6 | glib2 +1 | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | glib2 +4 | 2.82.2-766.amzn2023 | ALAS2023-2025-1069 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | glib | 2.78.6-3 | — |
Advisories 13
- WID-SEC-2026-0164 Oracle Java SE: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 3, 2026
- ICSA-26-188-05 Siemens SINEC OS CISA ICS & IT advisories · Jul 7, 2026
- SSA-253495 SSA-253495: Multiple Vulnerabilities in SINEC OS before V4.0 Siemens ProductCERT · Jun 2, 2026
- ICSA-26-134-10 Siemens SIMATIC CISA ICS & IT advisories · May 14, 2026
- NCSC-2026-0147 Kwetsbaarheden verholpen in Siemens-producten NCSC-NL (Netherlands) · May 13, 2026
- SSA-032379 SSA-032379: Multiple Vulnerabilities in SIMATIC CN 4100 Before V5.0 Siemens ProductCERT · May 12, 2026
- USN-7942-1 glib2.0 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- openSUSE-SU-2025:15221-1 gio-branding-upstream-2.84.3-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20673-1 Security update for glib2 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20508-1 Security update for glib2 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02167-1 Security update for glib2 SUSE / openSUSE Security Updates · Feb 4, 2026
- NCSC-2026-0030 Kwetsbaarheden verholpen in Oracle Java NCSC-NL (Netherlands) · Jan 21, 2026
- ALAS2023-2025-1069 Important: glib2 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 10, 2025
References
- https://access.redhat.com/security/cve/CVE-2025-6052 vdb-entry
- RHBZ#2372666 issue-tracking