BIT-jre-2025-6052

vendorUSosv

Glib: integer overflow in g_string_maybe_expand() leading to potential buffer overflow in glib gstring

view advisory published 2026-05-08Licence: per source

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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2025-6052UShigh7.5—
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 th…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan