CVE-2025-4373: Glib: buffer underflow on glib through glib/gstring.c via function g_string_insert_unichar
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.
Security readout for executives and security teams
Plain-English summary
GLib contains an integer-overflow flaw that can make software write before its intended memory buffer. A successful trigger could corrupt data or crash the affected process, but the supplied CVSS assessment indicates high attack complexity, low integrity and availability impact, and no confidentiality impact.
Executive priority
Treat this as a normal-priority patching item, accelerated for exposed or business-critical services. The moderate score and high complexity reduce immediate urgency, but widespread GLib use can increase operational exposure. Do not defer indefinitely because successful triggering may corrupt memory or interrupt services.
Technical view
CVE-2025-4373 affects g_string_insert_unichar() in GLib. A sufficiently large insertion position can overflow, causing a buffer underwrite classified as CWE-124. The supplied CVSS 3.1 score is 4.8: network-reachable, high complexity, no privileges or user interaction, with low integrity and availability impact.
Likely exposure
Exposure exists where affected GLib or Red Hat glib2 packages process input that can reach the vulnerable function with a large insertion position. The bundle identifies affected RHEL 8, 9, and 10 packages, selected lifecycle variants, Insights proxy 1.5, and OpenShift distributed tracing 3.6.0 containers.
Exploitation context
The bundle marks this CVE as absent from KEV and provides no evidence of active exploitation. Network reachability is reflected in the CVSS vector, but exploitation requires high complexity. Actual reachability depends on how applications invoke the affected GLib function; the supplied sources do not establish universal remote exposure.
Researcher notes
The bundle identifies an integer overflow resulting in a buffer underwrite, but does not provide a complete upstream affected-version range or demonstrate code-path reachability in specific applications. The generic glib entry is ambiguous, while Red Hat package and container entries are explicit. No exploit status beyond KEV absence is established.
Mitigation direction
Apply the relevant Red Hat security errata or vendor-provided package updates for each affected platform.
Prioritize internet-facing services that use affected GLib or glib2 packages.
Rebuild or redeploy affected container images using vendor-updated base packages.
Check GNOME, Red Hat, or other relevant vendor guidance for product-specific remediation.
Validation and detection
Inventory installed GLib and glib2 package versions across hosts and container images.
Compare discovered versions and product streams with the affected entries and applicable Red Hat errata.
Identify applications that call g_string_insert_unichar() with externally influenced positions.
Confirm updated packages are active after remediation, including restarted services and rebuilt containers.
Monitor affected processes for crashes or memory-corruption indicators while remediation is pending.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-124: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-124 · source CWE mapping
Buffer Underwrite ('Buffer Underflow')
Buffer Underwrite ('Buffer Underflow') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.