cve.bz

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

4.8 mediumEPSS 0.9%Fix available

Medium (4.8) in red hat. EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
EPSS
0.9% (up from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-05-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-124 Buffer Underwrite (Buffer Underrun)
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:2.80.4-4.el10_0.6
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:2.56.4-166.el8_10
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support: fixed in 0:2.56.4-8.el8_2.2
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:2.56.4-10.el8_4.2
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On: fixed in 0:2.56.4-10.el8_4.2
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: fixed in 0:2.56.4-158.el8_6.2
  • Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service: fixed in 0:2.56.4-158.el8_6.2
  • Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions: fixed in 0:2.56.4-158.el8_6.2
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Azure Linux, Alpaquita: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-4373 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-4373?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-4373?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-4373 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
glibbefore 2.84.2

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:2.80.4-4.el10_0.6
Red Hat Enterprise Linux 80:2.56.4-166.el8_10
Red Hat Enterprise Linux 8.2 Advanced Update Support0:2.56.4-8.el8_2.2
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:2.56.4-10.el8_4.2
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:2.56.4-10.el8_4.2
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:2.56.4-158.el8_6.2
Red Hat Enterprise Linux 8.6 Telecommunications Update Service0:2.56.4-158.el8_6.2
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions0:2.56.4-158.el8_6.2
Red Hat Enterprise Linux 8.8 Telecommunications Update Service0:2.56.4-162.el8_8
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:2.56.4-162.el8_8
Red Hat Enterprise Linux 90:2.68.4-16.el9_6.2
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions0:2.68.4-5.el9_0.2
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:2.68.4-7.el9_2.2
Red Hat Enterprise Linux 9.4 Extended Update Support0:2.68.4-14.el9_4.3
Red Hat Insights proxy 1.51.5.5-1754504343
Red Hat OpenShift distributed tracing 3.6.0rhosdt-3.6-1753265330
Red Hat OpenShift distributed tracing 3.6.0rhosdt-3.6-1753265394
Red Hat OpenShift distributed tracing 3.6.0rhosdt-3.6-1753265332
Red Hat OpenShift distributed tracing 3.6.0rhosdt-3.6-1753265435
Red Hat OpenShift distributed tracing 3.6.0rhosdt-3.6-1753265342
Red Hat OpenShift distributed tracing 3.6.0rhosdt-3.6-1753269432
Red Hat OpenShift distributed tracing 3.6.0rhosdt-3.6-1753265411
Red Hat OpenShift distributed tracing 3.6.0rhosdt-3.6-1753265314

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11glib2.02.66.8-1+deb11u7DLA-4412-1
Debian12glib2.02.74.6-2+deb12u7DEBIAN-CVE-2025-4373
Debian13, 14glib2.02.84.1-3DEBIAN-CVE-2025-4373
Ubuntu20.04:LTSglib2.02.64.6-1~ubuntu20.04.9UBUNTU-CVE-2025-4373 USN-7532-1
Ubuntu22.04:LTSglib2.02.72.4-0ubuntu2.5UBUNTU-CVE-2025-4373 USN-7532-1
Ubuntu24.04:LTSglib2.02.80.0-6ubuntu3.4UBUNTU-CVE-2025-4373 USN-7532-1
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTSglib2.0no fix listedUBUNTU-CVE-2025-4373
Red Hatenterprise_linux:8::baseosglib2, glib2-fam, glib2-devel and 6 more0:2.56.4-166.el8_10RHSA-2025:11327
Red Hatenterprise_linux:8::crbglib2-doc, glib2-static, glib2-debuginfo and 4 more0:2.56.4-166.el8_10RHSA-2025:11327
Red Hatenterprise_linux:9::appstreamglib2-doc, glib2-devel, glib2-tests and 4 more0:2.68.4-16.el9_6.2RHSA-2025:11140
Red Hatenterprise_linux:9::baseosglib2, glib2-debuginfo, glib2-debugsource and 2 more0:2.68.4-16.el9_6.2RHSA-2025:11140
Red Hatenterprise_linux:9::crbglib2-static, glib2-debuginfo, glib2-debugsource and 2 more0:2.68.4-16.el9_6.2RHSA-2025:11140
Red Hatenterprise_linux:10.0glib2, glib2-doc, glib2-devel and 6 more0:2.80.4-4.el10_0.6RHSA-2025:10855
Red Hatrhel_aus:8.2::baseosglib2, glib2-fam, glib2-devel and 6 more0:2.56.4-8.el8_2.2RHSA-2025:14991
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseosglib2, glib2-fam, glib2-devel and 6 more0:2.56.4-10.el8_4.2RHSA-2025:14990
Red Hatrhel_aus:8.6::baseos, rhel_e4s:8.6::baseos, rhel_tus:8.6::baseosglib2, glib2-fam, glib2-devel and 6 more0:2.56.4-158.el8_6.2RHSA-2025:14988
Red Hatrhel_e4s:8.8::baseos, rhel_tus:8.8::baseosglib2, glib2-fam, glib2-devel and 6 more0:2.56.4-162.el8_8RHSA-2025:14989
Red Hatrhel_e4s:9.0::appstreamglib2-doc, glib2-devel, glib2-tests and 4 more0:2.68.4-5.el9_0.2RHSA-2025:12275
Red Hatrhel_e4s:9.0::baseosglib2, glib2-debuginfo, glib2-debugsource and 2 more0:2.68.4-5.el9_0.2RHSA-2025:12275
5 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2glib22.62.6-150200.3.30.1SUSE-SU-2025:01880-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Micro 5.5glib22.70.5-150400.3.23.1SUSE-SU-2025:02375-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7glib22.78.6-150600.4.16.1SUSE-SU-2025:02167-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5glib22.48.2-12.46.1SUSE-SU-2025:02233-1
SUSELinux Micro 6.0glib22.76.2-9.1SUSE-SU-2025:20508-1
SUSELinux Micro 6.1glib22.78.6-slfo.1.1_3.1SUSE-SU-2025:20471-1
openSUSELeap 15.6glib2, glib2-doc2.78.6-150600.4.16.1SUSE-SU-2025:02167-1
AlmaLinux8glib2, glib2-doc, glib2-fam and 3 more2.56.4-166.el8_10ALSA-2025:11327
AlmaLinux9glib2, glib2-doc, glib2-devel and 2 more2.68.4-16.el9_6.2ALSA-2025:11140
Rocky Linux8glib20:2.56.4-166.el8_10RLSA-2025:11327
Rocky Linux9glib20:2.68.4-16.el9_6.2RLSA-2025:11140
Rocky Linux10glib20:2.80.4-4.el10_0.6RLSA-2025:10855
Azure Linux2glib2.71.0-7AZL-62295
Azure Linux3glib2.78.6-3AZL-62286
Alpaquita23glib2.74.7-r3BELL-CVE-2025-4373
Alpaquitastreamglib2.84.2-r0BELL-CVE-2025-4373

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

An integer overflow leading to a buffer underwrite was found in GLib, affecting the glib2 package and other components in Red Hat Enterprise Linux and Fedora; Red Hat rates this flaw Moderate severity. The flaw is in the g_string_insert_unichar() function: when a GLib-based application inserts a character at a very large position within a GString, the position value overflows and the character is written before the start of the string's buffer, corrupting memory outside the intended buffer. Exploitation requires an attacker to influence the insertion position passed by a vulnerable application; successful exploitation could result in limited data corruption or an application crash. The Red Hat severity assessment (Moderate, CVSS 3.1 score 4.8) is consistent with the CVE.org rating. In Red Hat Enterprise Linux, the glib2 package is affected and a fix is being pursued through the standard update process for the affected streams. Additional Red Hat Enterprise Linux components affected by the same flaw, along with the glib2 package in the RHEL 6 and RHEL 7 extended lifecycle support streams, currently have their fixes deferred to a future update; those products remain affected in the meantime, leaving the residual risk that an application passes an attacker-influenced insertion position to g_string_insert_unichar(). Fedora is also affected, with remediation delegated to the Fedora community maintainers.

Red Hat's mitigation

Currently, no mitigation is available for this vulnerability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10glib2-0:2.80.4-4.el10_0.6Fixed 2025-07-14RHSA-2025:10855
Red Hat Enterprise Linux 8glib2-0:2.56.4-166.el8_10Fixed 2025-07-16RHSA-2025:11327
Red Hat Enterprise Linux 8.2 Advanced Update Supportglib2-0:2.56.4-8.el8_2.2Fixed 2025-09-02RHSA-2025:14991
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportglib2-0:2.56.4-10.el8_4.2Fixed 2025-09-02RHSA-2025:14990
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onglib2-0:2.56.4-10.el8_4.2Fixed 2025-09-02RHSA-2025:14990
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportglib2-0:2.56.4-158.el8_6.2Fixed 2025-09-02RHSA-2025:14988
Red Hat Enterprise Linux 8.6 Telecommunications Update Serviceglib2-0:2.56.4-158.el8_6.2Fixed 2025-09-02RHSA-2025:14988
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsglib2-0:2.56.4-158.el8_6.2Fixed 2025-09-02RHSA-2025:14988
Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceglib2-0:2.56.4-162.el8_8Fixed 2025-09-02RHSA-2025:14989
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsglib2-0:2.56.4-162.el8_8Fixed 2025-09-02RHSA-2025:14989
Red Hat Enterprise Linux 10bootcFix deferred
Red Hat Enterprise Linux 10glycin-loadersFix deferred
Red Hat Enterprise Linux 10loupeFix deferred
Red Hat Enterprise Linux 10mingw-glib2Fix deferred
Red Hat Enterprise Linux 6glib2Fix deferred
Red Hat Enterprise Linux 7glib2Fix deferred
Red Hat Enterprise Linux 8librsvg2Fix deferred
Red Hat Enterprise Linux 8mingw-glib2Fix deferred
Red Hat Enterprise Linux 9bootcFix deferred
Red Hat Enterprise Linux 9librsvg2Fix deferred
15 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-4373.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-043-06Siemens SINEC OS2026-01-28Energy, Critical Manufacturing, Transportation Systems, Water and WastewaterRUGGEDCOM RST2428P (6GK6242-6PA00), SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family, SCALANCE XCH328 (6GK5328-4TS01-2EC2) and 13 morenone listed
ICSA-25-162-05Siemens SIMATIC S7-1500 CPU family2025-06-10EnergySIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON