{"id":"CVE-2025-6052","published":"2025-06-13T15:40:38Z","modified":"2026-06-02T12:59:40Z","title":"Glib: integer overflow in g_string_maybe_expand() leading to potential buffer overflow in glib gstring","vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00544,"percentile":0.4658,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-6052","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2372666","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html","tags":[]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":9.32},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]}],"workarounds":{"items":["Currently, no mitigation is available for this vulnerability."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-13T15:58:19.551063Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-18285","exploited":false,"provenance":"source"}}