CVE-2025-4373

Glib: buffer underflow on glib through glib/gstring.c via function g_string_insert_unichar

At a glance

Severity
MEDIUM 4.8
EPSS
EPSS 0.64 % · percentile 50 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

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.

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.8CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:Lredhat
CVSS 3.1MEDIUM 4.8CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:LNVD · secalert@redhat.com (Secondary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected products

ProductVersions
glibaffected 0 < 2.84.2
Red Hat · Red Hat Enterprise Linux 10unaffected 0:2.80.4-4.el10_0.6 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:2.56.4-166.el8_10 < *
Red Hat · Red Hat Enterprise Linux 8.2 Advanced Update Supportunaffected 0:2.56.4-8.el8_2.2 < *
Red Hat · Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportunaffected 0:2.56.4-10.el8_4.2 < *
Red Hat · Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onunaffected 0:2.56.4-10.el8_4.2 < *
Red Hat · Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportunaffected 0:2.56.4-158.el8_6.2 < *
Red Hat · Red Hat Enterprise Linux 8.6 Telecommunications Update Serviceunaffected 0:2.56.4-158.el8_6.2 < *
Red Hat · Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsunaffected 0:2.56.4-158.el8_6.2 < *
Red Hat · Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceunaffected 0:2.56.4-162.el8_8 < *
Red Hat · Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsunaffected 0:2.56.4-162.el8_8 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:2.68.4-16.el9_6.2 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:2.68.4-16.el9_6.2 < *
Red Hat · Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsunaffected 0:2.68.4-5.el9_0.2 < *
Red Hat · Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsunaffected 0:2.68.4-7.el9_2.2 < *
Red Hat · Red Hat Enterprise Linux 9.4 Extended Update Supportunaffected 0:2.68.4-14.el9_4.3 < *
Red Hat · Red Hat Insights proxy 1.5unaffected 1.5.5-1754504343 < *
Red Hat · Red Hat OpenShift distributed tracing 3.6.0unaffected rhosdt-3.6-1753265330 < *
Red Hat · Red Hat OpenShift distributed tracing 3.6.0unaffected rhosdt-3.6-1753265394 < *
Red Hat · Red Hat OpenShift distributed tracing 3.6.0unaffected rhosdt-3.6-1753265332 < *

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD