CVE-2025-4373 json
Glib: buffer underflow on glib through glib/gstring.c via function g_string_insert_unichar
published 2025-05-06 18 mo ago modified 2026-11-05 3 d ago also EUVD-2025-13592
- cvss
- 4.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat Enterprise Linux 10 0:2.80.4-4.el10_0.6
- Red Hat Red Hat Enterprise Linux 8 0:2.56.4-166.el8_10
- Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support 0:2.56.4-8.el8_2.2
- Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 0:2.56.4-10.el8_4.2
- Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On 0:2.56.4-10.el8_4.2
- Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support 0:2.56.4-158.el8_6.2
- Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service 0:2.56.4-158.el8_6.2
- Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions 0:2.56.4-158.el8_6.2
- Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service 0:2.56.4-162.el8_8
- Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions 0:2.56.4-162.el8_8
- Red Hat Red Hat Enterprise Linux 9 0:2.68.4-16.el9_6.2
- Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions 0:2.68.4-5.el9_0.2
- Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions 0:2.68.4-7.el9_2.2
- Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support 0:2.68.4-14.el9_4.3
- Red Hat Red Hat Insights proxy 1.5 1.5.5-1754504343
- Red Hat Red Hat OpenShift distributed tracing 3.6.0 rhosdt-3.6-1753265314, rhosdt-3.6-1753265330, rhosdt-3.6-1753265332, rhosdt-3.6-1753265342, rhosdt-3.6-1753265394, rhosdt-3.6-1753265411, rhosdt-3.6-1753265435, rhosdt-3.6-1753269432
- Siemens RUGGEDCOM RST2428P V3.3
- Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family V3.3
- Siemens SCALANCE XCH328 V3.3
- Siemens SCALANCE XCM324 V3.3
- Siemens SCALANCE XCM328 V3.3
- Siemens SCALANCE XCM332 V3.3
- Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) V3.3
- Siemens SCALANCE XRM334 (230 V AC, 12xFO) V3.3
- Siemens SCALANCE XRM334 (230 V AC, 8xFO) V3.3
- Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) V3.3
- Siemens SCALANCE XRM334 (24 V DC, 12xFO) V3.3
- Siemens SCALANCE XRM334 (24 V DC, 8xFO) V3.3
- Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) V3.3
- Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) V3.3
- glib2.0 Debian 12 2.74.6-2+deb12u7
- glib2.0 Debian 14, Debian 13 2.84.1-3
debian advisories DEBIAN-CVE-2025-4373
- glib2.0 Ubuntu 20.04 LTS 2.64.6-1~ubuntu20.04.9
- glib2.0 Ubuntu 22.04 LTS 2.72.4-0ubuntu2.5
- glib2.0 Ubuntu 24.04 LTS 2.80.0-6ubuntu3.4
ubuntu advisories UBUNTU-CVE-2025-4373
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- glib2 RHEL 8 2.56.4-166.el8_10
- glib2-fam RHEL 8 2.56.4-166.el8_10
- glib2-tests RHEL 8 2.56.4-166.el8_10
- glib2 RHEL 9 2.68.4-16.el9_6.2
- glib2-tests RHEL 9 2.68.4-16.el9_6.2
- glib2 RHEL 10.0 2.80.4-4.el10_0.6
- glib2-tests RHEL 10.0 2.80.4-4.el10_0.6
- glib2 RHEL 8.2 AUS 2.56.4-8.el8_2.2
red hat advisories RHSA-2025:14991RHSA-2025:14989RHSA-2025:14990RHSA-2025:14988RHSA-2025:12275RHSA-2025:11373
- glib2 Linux Micro 6.0 2.76.2-9.1
- glib2 SLE Micro 5.5, SLE Micro 5.4, SLE Micro 5.3 2.70.5-150400.3.23.1
- glib2 Linux Micro 6.1 2.78.6-slfo.1.1_3.1
- glib2 SLE Module for Basesystem 15 SP7, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 2.78.6-150600.4.16.1
- glib2 SLE Micro 5.2, SLE Micro 5.1 2.62.6-150200.3.30.1
- glib2 SLES LTSS Extended Security 12 SP5 2.48.2-12.46.1
suse advisories SUSE-SU-2025:20508-1SUSE-SU-2025:02375-1SUSE-SU-2025:20471-1SUSE-SU-2025:02233-1SUSE-SU-2025:02167-1SUSE-SU-2025:01880-1
- glib2 AlmaLinux 8 2.56.4-166.el8_10
- glib2-fam AlmaLinux 8 2.56.4-166.el8_10
- glib2-tests AlmaLinux 8 2.56.4-166.el8_10
- glib2 AlmaLinux 9 2.68.4-16.el9_6.2
- glib2-tests AlmaLinux 9 2.68.4-16.el9_6.2
almalinux advisories ALSA-2025:11327ALSA-2025:11140
- glib2 Rocky Linux 9 2.68.4-16.el9_6.2
- glib2 Rocky Linux 10 2.80.4-4.el10_0.6
- glib2 Rocky Linux 8 2.56.4-166.el8_10
rocky linux advisories RLSA-2025:11140RLSA-2025:10855RLSA-2025:11327
- glib Azure Linux 3.0 2.78.6-3
- glib CBL-Mariner 2.0 2.71.0-7
azure linux advisories AZL-62286AZL-62295
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-4373 updated cvss 4.8
glib: Buffer Underflow on GLib through glib/gstring.c via function g_string_insert_unichar
-
Red Hat Enterprise Linux 6 glib2 Red Hat Enterprise Linux 7 glib2, glib2-fam, glib2-tests Red Hat Enterprise Linux 8 librsvg2, mingw-glib2, mingw32-glib2, mingw64-glib2, librsvg2-tools Red Hat Enterprise Linux 9 bootc, librsvg2, mingw-glib2, mingw32-glib2, mingw64-glib2, librsvg2-tools, +1 more Red Hat Enterprise Linux 10 bootc, loupe, mingw-glib2, mingw32-glib2, mingw64-glib2, glycin-loadersaffected: workaround, no fix available “Currently, no mitigation is available for this vulnerability.”
-
Red Hat CodeReady Linux Builder EUS (v.9.4) glib2-static 2.68.4-14.el9_4.3, glib2-debuginfo 2.68.4-14.el9_4.3, glib2-debugsource 2.68.4-14.el9_4.3, glib2-devel-debuginfo 2.68.4-14.el9_4.3, glib2-tests-debuginfo 2.68.4-14.el9_4.3fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:11374
-
Red Hat Enterprise Linux AppStream (v. 9) glib2-tests 2.68.4-16.el9_6.2fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:11140
-
Red Hat Enterprise Linux AppStream (v. 10) glib2-tests 2.80.4-4.el10_0.6fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:10855
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) glib2-tests 2.68.4-5.el9_0.2fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:12275
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) glib2-tests 2.68.4-7.el9_2.2fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:11373
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) glib2-tests 2.68.4-14.el9_4.3fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:11374
-
Red Hat Enterprise Linux BaseOS (v. 8) glib2 2.56.4-166.el8_10, glib2-fam 2.56.4-166.el8_10, glib2-tests 2.56.4-166.el8_10fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:11327
show 17 moreshow fewer
-
Red Hat Enterprise Linux BaseOS (v. 9) glib2 2.68.4-16.el9_6.2fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:11140
-
Red Hat Enterprise Linux BaseOS (v. 10) glib2 2.80.4-4.el10_0.6fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:10855
-
Red Hat Enterprise Linux BaseOS AUS (v. 8.2) glib2 2.56.4-8.el8_2.2, glib2-fam 2.56.4-8.el8_2.2, glib2-tests 2.56.4-8.el8_2.2fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:14991
-
Red Hat Enterprise Linux BaseOS AUS (v.8.4) glib2 2.56.4-10.el8_4.2, glib2-fam 2.56.4-10.el8_4.2, glib2-tests 2.56.4-10.el8_4.2fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:14990
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) glib2 2.56.4-158.el8_6.2, glib2-fam 2.56.4-158.el8_6.2, glib2-tests 2.56.4-158.el8_6.2 Red Hat Enterprise Linux BaseOS E4S (v.8.6) glib2 2.56.4-158.el8_6.2, glib2-fam 2.56.4-158.el8_6.2, glib2-tests 2.56.4-158.el8_6.2fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:14988
-
Red Hat Enterprise Linux BaseOS E4S (v.8.8) glib2 2.56.4-162.el8_8, glib2-fam 2.56.4-162.el8_8, glib2-tests 2.56.4-162.el8_8fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:14989
-
Red Hat Enterprise Linux BaseOS E4S (v.9.0) glib2 2.68.4-5.el9_0.2fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:12275
-
Red Hat Enterprise Linux BaseOS E4S (v.9.2) glib2 2.68.4-7.el9_2.2fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:11373
-
Red Hat Enterprise Linux BaseOS EUS (v.9.4) glib2 2.68.4-14.el9_4.3fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:11374
-
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) glib2 2.56.4-10.el8_4.2, glib2-fam 2.56.4-10.el8_4.2, glib2-tests 2.56.4-10.el8_4.2fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:14990
-
Red Hat Enterprise Linux BaseOS TUS (v.8.6) glib2 2.56.4-158.el8_6.2, glib2-fam 2.56.4-158.el8_6.2, glib2-tests 2.56.4-158.el8_6.2fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:14988
-
Red Hat Enterprise Linux BaseOS TUS (v.8.8) glib2 2.56.4-162.el8_8, glib2-fam 2.56.4-162.el8_8, glib2-tests 2.56.4-162.el8_8fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:14989
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) glib2-static 2.68.4-16.el9_6.2, glib2-debuginfo 2.68.4-16.el9_6.2, glib2-debugsource 2.68.4-16.el9_6.2, glib2-devel-debuginfo 2.68.4-16.el9_6.2, glib2-tests-debuginfo 2.68.4-16.el9_6.2fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:11140
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) glib2-doc 2.80.4-4.el10_0.6, glib2-static 2.80.4-4.el10_0.6, glib2-debuginfo 2.80.4-4.el10_0.6, glib2-debugsource 2.80.4-4.el10_0.6, glib2-devel-debuginfo 2.80.4-4.el10_0.6, glib2-tests-debuginfo 2.80.4-4.el10_0.6fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:10855
-
Red Hat Enterprise Linux CRB (v. 8) glib2-doc 2.56.4-166.el8_10, glib2-static 2.56.4-166.el8_10, glib2-debuginfo 2.56.4-166.el8_10, glib2-debugsource 2.56.4-166.el8_10, glib2-fam-debuginfo 2.56.4-166.el8_10, glib2-devel-debuginfo 2.56.4-166.el8_10, +1 morefixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:11327
-
Red Hat Insights proxy 1.5 insights-proxy 1.5.5-1754504343fixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:13335
-
Red Hat OpenShift distributed tracing 3.6.0 rhosdt rhosdt-3.6-1753265314, rhosdt rhosdt-3.6-1753265330, rhosdt rhosdt-3.6-1753265332, rhosdt rhosdt-3.6-1753265342, rhosdt rhosdt-3.6-1753265394, rhosdt rhosdt-3.6-1753265411, +2 morefixed: vendor fix “Currently, no mitigation is available for this vulnerability.” RHSA-2025:11662
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-25-162-05 updated cvss 4.8
Siemens SIMATIC S7-1500 CPU family
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.5affected: mitigation, no fix available
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-26-043-06 updated cvss 4.8
Siemens SINEC OS
-
Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) < 3.3affected: fixed in V3.3 support.industry.siemens.com
-
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family < 3.3affected: fixed in V3.3
-
Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) < 3.3 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) < 3.3 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) < 3.3 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) < 3.3 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) < 3.3 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) < 3.3affected: fixed in V3.3 support.industry.siemens.com
+8 more productsfewer
Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) < 3.3 Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-4AR3) < 3.3 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) < 3.3 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) < 3.3 Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-3AR3) < 3.3
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.65% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L |
Affected products
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support
- Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
- Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service
- Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support
- Red Hat Red Hat Insights proxy 1.5
- Red Hat Red Hat OpenShift distributed tracing 3.6.0
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
- Siemens RUGGEDCOM RST2428P
- Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family
- Siemens SCALANCE XCH328
- Siemens SCALANCE XCM324
- Siemens SCALANCE XCM328
- Siemens SCALANCE XCM332
- Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC)
- Siemens SCALANCE XRM334 (230 V AC, 12xFO)
- Siemens SCALANCE XRM334 (230 V AC, 8xFO)
- Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+)
- Siemens SCALANCE XRM334 (24 V DC, 12xFO)
- Siemens SCALANCE XRM334 (24 V DC, 8xFO)
- Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+)
- Siemens SCALANCE XRM334 (2x230 V AC, 12xFO)
- Siemens SCALANCE XRM334 (2x230 V AC, 8xFO)
- Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+)
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-124 Buffer Underwrite
References
-
access.redhat.com
/errata/RHSA-2025:10855
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:11140
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:11327
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:11373
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:11374
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:11662
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:12275
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:13335
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:14988
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:14989
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:14990
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:14991
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2025-4373
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2364265
issue-tracking
- gitlab.gnome.org /GNOME/glib/-/issues/3677
- cert-portal.siemens.com /productcert/html/ssa-082556.html
- cert-portal.siemens.com /productcert/html/ssa-089022.html
Sources
- CVE List CVE-2025-4373
- NVD CVE-2025-4373
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.