Skip to main content
← All vulnerabilities
CVE-2025-6052

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

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • bootc

    Version range not reported

  • glib2

    Version range not reported

  • glycin-loaders

    Version range not reported

  • loupe

    Version range not reported

  • mingw-glib2

    Version range not reported

  • rpm-ostree

    Version range not reported

  • glib2

    Version range not reported

  • glib2

    Version range not reported

  • glib2

    Version range not reported

  • librsvg2

    Version range not reported

  • mingw-glib2

    Version range not reported

  • bootc

    Version range not reported

  • glib2

    Version range not reported

  • librsvg2

    Version range not reported

  • mingw-glib2

    Version range not reported

References 2

access.redhat.com

bugzilla.redhat.com