p PatchFirst

CVE-2025-6052

CVE-2025-6052 · Glib: integer overflow in g_string_maybe_expand() leading to potential buffer overflow in glib gstring

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 3.7 · Low · EPSS 0.5% · Fix available

Published
Updated

Stack: system

Affected products and versions

Original sources

Check your server →