CVE-2025-6052
published low CVSS 3.1 · 3.7Glib: integer overflow in g_string_maybe_expand() leading to potential buffer overflow in glib gstring
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 9, 10 | bootc | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 10 | glib2 | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 10 | glycin-loaders | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 10 | loupe | Unaffected | Not required | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1069 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP6 | glib2-develaarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | glib2-develppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
Show 105 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 9, 10 | mingw-glib2 | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 10 | rpm-ostree | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 6, 7, 8, 9 | glib2 | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 8, 9 | librsvg2 | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 8 | mingw-glib2 | Unaffected | Not required | redhat |
| Siemens | — | RUGGEDCOM RST2428P0 to < V4.0 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC CN 41000 to < V5.0 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| SUSE / openSUSE | SLE-15-SP6 | glib2-devels390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | glib2-develx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | glib2-langnoarch | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | glib2-toolsaarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | glib2-toolsppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | glib2-toolss390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | glib2-toolsx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgio-2_0-0aarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgio-2_0-0ppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgio-2_0-0s390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgio-2_0-0x86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgio-2_0-0-32bitx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libglib-2_0-0aarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libglib-2_0-0ppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libglib-2_0-0s390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libglib-2_0-0x86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libglib-2_0-0-32bitx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgmodule-2_0-0aarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgmodule-2_0-0ppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgmodule-2_0-0s390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgmodule-2_0-0x86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgmodule-2_0-0-32bitx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgobject-2_0-0aarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgobject-2_0-0ppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgobject-2_0-0s390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgobject-2_0-0x86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgobject-2_0-0-32bitx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgthread-2_0-0aarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgthread-2_0-0ppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgthread-2_0-0s390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP6 | libgthread-2_0-0x86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | glib2-develaarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | glib2-develppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | glib2-devels390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | glib2-develx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | glib2-langnoarch | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | glib2-toolsaarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | glib2-toolsppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | glib2-toolss390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | glib2-toolsx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgio-2_0-0aarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgio-2_0-0ppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgio-2_0-0s390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgio-2_0-0x86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgio-2_0-0-32bitx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libglib-2_0-0aarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libglib-2_0-0ppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libglib-2_0-0s390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libglib-2_0-0x86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libglib-2_0-0-32bitx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgmodule-2_0-0aarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgmodule-2_0-0ppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgmodule-2_0-0s390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgmodule-2_0-0x86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgmodule-2_0-0-32bitx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgobject-2_0-0aarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgobject-2_0-0ppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgobject-2_0-0s390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgobject-2_0-0x86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgobject-2_0-0-32bitx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgthread-2_0-0aarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgthread-2_0-0ppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgthread-2_0-0s390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | SLE-15-SP7 | libgthread-2_0-0x86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | gio-branding-upstreamnoarch | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-develaarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-develppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-devels390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-develx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-devel-32bitx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-devel-staticaarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-devel-staticppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-devel-statics390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-devel-staticx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-docaarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-docppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-docs390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-docx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-langnoarch | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-tests-develaarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-tests-develppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-tests-devels390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-tests-develx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-toolsaarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-toolsppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-toolss390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-toolsx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | glib2-tools-32bitx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libgio-2_0-0aarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libgio-2_0-0ppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libgio-2_0-0s390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libgio-2_0-0x86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libgio-2_0-0-32bitx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libglib-2_0-0aarch64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libglib-2_0-0ppc64le | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libglib-2_0-0s390x | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libglib-2_0-0x86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libglib-2_0-0-32bitx86_64 | Advisory build | 2.78.6-150600.4.16.1 | SUSE-SU-2025:02167-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.7 / 10
- Severity
- low
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
| Siemens | RUGGEDCOM RST2428P | 0 to < V4.0 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC CN 4100 | 0 to < V5.0 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-190 Integer Overflow or Wraparound
References
4- https://access.redhat.com/security/cve/CVE-2025-6052
- RHBZ#2372666 https://bugzilla.redhat.com/show_bug.cgi?id=2372666
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html
Provider assertions
3redhat · cna
Glib: integer overflow in g_string_maybe_expand() leading to potential buffer overflow in glib gstring
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d2217d6112fb5e63d23ffecd33e0a9b0ba90121aadf53a892ecc80a94c27f840
- Ingested
- 23 Sep 2026, 08:57:29 UTC
- Source record
- Official CVE record