# CVE-2025-4373: Glib: buffer underflow on glib through glib/gstring.c via function g_string_insert_unichar

- Severity: Medium 4.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2025-05-06T14:48:39.264Z
- Modified: 2026-11-24T11:17:03.197Z
- Weaknesses: CWE-124
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- glib: before 2.84.2
- glib2: no versions given (not affected: from 0:2.80.4-4.el10_0.6 before *; from 0:2.56.4-166.el8_10 before *; from 0:2.56.4-8.el8_2.2 before *; from 0:2.56.4-10.el8_4.2 before *; from 0:2.56.4-158.el8_6.2 before *; from 0:2.56.4-162.el8_8 before *; from 0:2.68.4-16.el9_6.2 before *; from 0:2.68.4-5.el9_0.2 before *; from 0:2.68.4-7.el9_2.2 before *; from 0:2.68.4-14.el9_4.3 before *)
- insights-proxy/insights-proxy-container-rhel9: no versions given (not affected: from 1.5.5-1754504343 before *)
- rhosdt/jaeger-agent-rhel8: no versions given (not affected: from rhosdt-3.6-1753265330 before *)
- rhosdt/jaeger-all-in-one-rhel8: no versions given (not affected: from rhosdt-3.6-1753265394 before *)
- rhosdt/jaeger-collector-rhel8: no versions given (not affected: from rhosdt-3.6-1753265332 before *)
- rhosdt/jaeger-es-index-cleaner-rhel8: no versions given (not affected: from rhosdt-3.6-1753265435 before *)
- rhosdt/jaeger-es-rollover-rhel8: no versions given (not affected: from rhosdt-3.6-1753265342 before *)
- rhosdt/jaeger-ingester-rhel8: no versions given (not affected: from rhosdt-3.6-1753265332 before *)
- rhosdt/jaeger-operator-bundle: no versions given (not affected: from rhosdt-3.6-1753269432 before *)
- rhosdt/jaeger-query-rhel8: no versions given (not affected: from rhosdt-3.6-1753265411 before *)
- rhosdt/jaeger-rhel8-operator: no versions given (not affected: from rhosdt-3.6-1753265314 before *)
- bootc: no versions given
- glycin-loaders: no versions given
- loupe: no versions given
- mingw-glib2: no versions given
- librsvg2: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2025:10855> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:11140> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:11327> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:11373> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:11374> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:11662> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:12275> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:13335> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:14988> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:14989> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:14990> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:14991> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2025-4373> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2364265> (issue-tracking)
- <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>

## Sources

- CVE List: [CVE-2025-4373](https://www.cve.org/CVERecord?id=CVE-2025-4373), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2025-4373](https://nvd.nist.gov/vuln/detail/CVE-2025-4373), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2025-4373 · Whole record: https://cve.day/CVE-2025-4373.json · Rebuilt by cve.day 2026-11-25T22:58:57.660Z
