{"id":"BIT-jre-2025-6052","summary":"Glib: integer overflow in g_string_maybe_expand() leading to potential buffer overflow in glib gstring","details":"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.","aliases":["BIT-java-2025-6052","BIT-java-min-2025-6052","CVE-2025-6052"],"modified":"2026-05-13T12:18:29.012485Z","published":"2026-05-08T05:47:27.428Z","database_specific":{"cpes":["cpe:2.3:a:bellsoft:libericajre:*:*:*:*:*:*:*:*"],"severity":"High"},"references":[{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-6052"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2372666"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6052"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html"}],"affected":[{"package":{"name":"jre","ecosystem":"Bitnami","purl":"pkg:bitnami/jre"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.8.0"},{"introduced":"1.9.0"},{"fixed":"8.0.481"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/jre/BIT-jre-2025-6052.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}],"schema_version":"1.7.5"}