CVE-2025-6052 Details
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.
An integer overflow vulnerability has been identified in the GLib library, specifically in the GString management function g_string_maybe_expand(). This flaw occurs when very large strings are appended with additional data, causing the internal size calculation to incorrectly estimate available memory. As a result, data may be written beyond the allocated memory bounds, leading to memory corruption or application crashes. This vulnerability affects GLib versions 2.75.3 prior to 2.84.3.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 13, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-032379.html | siemens-SADP | |
| https://cert-portal.siemens.com/productcert/html/ssa-253495.html | siemens-SADP | |
| https://access.redhat.com/security/cve/CVE-2025-6052 | [email protected] | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2372666 | [email protected] | Issue TrackingThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gnome glib | >= 2.75.3, <= 2.84.3 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 2, 2026 | CVE Modified | siemens-SADP |
| May 12, 2026 | CVE Modified | siemens-SADP |
| Aug 20, 2025 | Reanalysis | [email protected] |
| Aug 20, 2025 | Initial Analysis | [email protected] |
| Jun 13, 2025 | New CVE Received | [email protected] |