# CVE-2025-4373: Glib: buffer underflow on glib through glib/gstring.c via function g\_string\_insert\_unichar

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-05-06 · Modified: 2026-11-24
- Aliases: MGASA-2025-0173, SUSE-SU-2025:01880-1, SUSE-SU-2025:02233-1, SUSE-SU-2025:02375-1, UBUNTU-CVE-2025-4373, USN-7532-1, DEBIAN-CVE-2025-4373
- Record: https://cvemate.com/vulnerability/CVE-2025-4373 · JSON: https://cvemate.com/vulnerability/CVE-2025-4373/json

## Description

```text
A flaw was found in GLib, which is vulnerable to an integer overflow in the g_string_insert_unichar() function. When the position at which to insert the character is large, the position will overflow, leading to a buffer underwrite.
```

## Signals

- CVSS: 4.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
- EPSS: 0.712%, percentile 54.94%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian glib2.0 (Debian): \< 2.74.6-2+deb12u7 \| \< 2.84.1-3
- ubuntu glib2.0 (Ubuntu): All versions (No fix recorded) \| \< 2.64.6-1~ubuntu20.04.9 \| \< 2.72.4-0ubuntu2.5 \| \< 2.80.0-6ubuntu3.4
- mageia glib2.0 (Mageia): \< 2.76.3-1.4.mga9
- suse glib2&distro=SUSE Linux Enterprise Micro 5.1 (SUSE Linux Enterprise): \< 2.62.6-150200.3.30.1
- suse glib2&distro=SUSE Linux Enterprise Micro 5.2 (SUSE Linux Enterprise): \< 2.62.6-150200.3.30.1
- suse glib2&distro=SUSE Linux Enterprise Micro 5.3 (SUSE Linux Enterprise): \< 2.70.5-150400.3.23.1
- suse glib2&distro=SUSE Linux Enterprise Micro 5.4 (SUSE Linux Enterprise): \< 2.70.5-150400.3.23.1
- suse glib2&distro=SUSE Linux Enterprise Micro 5.5 (SUSE Linux Enterprise): \< 2.70.5-150400.3.23.1
- suse glib2&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 (SUSE Linux Enterprise): \< 2.48.2-12.46.1

## References (first 20 of 31)

- <https://access.redhat.com/errata/RHSA-2025:10855>
- <https://access.redhat.com/errata/RHSA-2025:11140>
- <https://access.redhat.com/errata/RHSA-2025:11327>
- <https://access.redhat.com/errata/RHSA-2025:11373>
- <https://access.redhat.com/errata/RHSA-2025:11374>
- <https://access.redhat.com/errata/RHSA-2025:11662>
- <https://access.redhat.com/errata/RHSA-2025:12275>
- <https://access.redhat.com/errata/RHSA-2025:13335>
- <https://access.redhat.com/errata/RHSA-2025:14988>
- <https://access.redhat.com/errata/RHSA-2025:14989>
- <https://access.redhat.com/errata/RHSA-2025:14990>
- <https://access.redhat.com/errata/RHSA-2025:14991>
- <https://access.redhat.com/security/cve/CVE-2025-4373>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2364265>
- <https://gitlab.gnome.org/GNOME/glib/-/issues/3677>
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-089022.html>
- <https://advisories.mageia.org/MGASA-2025-0173.html>
- <https://bugs.mageia.org/show_bug.cgi?id=34310>
- <https://ubuntu.com/security/notices/USN-7532-1>

---

Data as of 2026-12-05T06:48:44.745Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
