Glib: integer overflow in g_string_maybe_expand() leading to potential buffer overflow in glib gstring
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 10 | affected | — |
| Red Hat | Red Hat Enterprise Linux 10 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 10 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 10 | affected | — |
| Red Hat | Red Hat Enterprise Linux 10 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 6 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 7 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 8 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 8 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 8 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 9 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 9 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 9 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 9 | affected | — |
No data.
No data available yet.
Vendor Workaround
Currently, no mitigation is available for this vulnerability.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-18285 | 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. |
Ubuntu USN |
USN-7942-1 | GLib vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.544% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Gnome
Gnome glib |
|
| CPEs | cpe:2.3:a:gnome:glib:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Gnome
Gnome glib |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Glib: integer overflow in g_string_maybe_expand() leading to potential buffer overflow in glib gstring | |
| First Time appeared |
Redhat
Redhat enterprise Linux |
|
| Weaknesses | CWE-190 | |
| CPEs | cpe:/o:redhat:enterprise_linux:10 cpe:/o:redhat:enterprise_linux:6 cpe:/o:redhat:enterprise_linux:7 cpe:/o:redhat:enterprise_linux:8 cpe:/o:redhat:enterprise_linux:9 |
|
| Vendors & Products |
Redhat
Redhat enterprise Linux |
|
| References |
| |
| Metrics |
cvssV3_1
|