Skip to content

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

MediumCVSS 4.8 EPSS 0.65%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

36 packages: 31 fixed, 1 partially fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
redhat rhel els All versions No fix listed No fix yet
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.5 No fix listed No fix yet
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.5 No fix listed No fix yet
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.5 No fix listed No fix yet
redhat enterprise linux < 0:2.56.4-166.el8_10; < 0:2.68.4-16.el9_6.2; < 0:2.80.4-4.el10_0.6; All versions 0:2.56.4-166.el8_10, 0:2.68.4-16.el9_6.2, 0:2.80.4-4.el10_0.6 Partially fixed
azure linux glib(Azure Linux 3.0) < 2.78.6-3 2.78.6-3 Fixed
cbl-mariner glib(CBL-Mariner 2.0) < 2.71.0-6; < 2.71.0-7 2.71.0-6, 2.71.0-7 Fixed
debian/glib2.0(Debian 12) < 2.74.6-2+deb12u7; = 2.74.6-2; = 2.74.6-2+deb12u1; = 2.74.6-2+deb12u2 +4 more 2.74.6-2+deb12u7 Fixed
debian/glib2.0(Debian 13) < 2.84.1-3 2.84.1-3 Fixed
debian/glib2.0(Debian 14) < 2.84.1-3 2.84.1-3 Fixed
glib < 2.84.2 2.84.2 Fixed
redhat insights proxy < 1.5.5-1754504343 1.5.5-1754504343 Fixed
redhat openshift distributed tracing < rhosdt-3.6-1753265314; < rhosdt-3.6-1753265330; < rhosdt-3.6-1753265332; < rhosdt-3.6-1753265342 +4 more 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 Fixed
redhat rhel aus < 0:2.56.4-8.el8_2.2; < 0:2.56.4-10.el8_4.2; < 0:2.56.4-158.el8_6.2 0:2.56.4-8.el8_2.2, 0:2.56.4-10.el8_4.2, 0:2.56.4-158.el8_6.2 Fixed
redhat rhel e4s < 0:2.56.4-158.el8_6.2; < 0:2.56.4-162.el8_8; < 0:2.68.4-5.el9_0.2; < 0:2.68.4-7.el9_2.2 0:2.56.4-158.el8_6.2, 0:2.56.4-162.el8_8, 0:2.68.4-5.el9_0.2, 0:2.68.4-7.el9_2.2 Fixed
redhat rhel eus < 0:2.68.4-14.el9_4.3 0:2.68.4-14.el9_4.3 Fixed
redhat rhel eus long life < 0:2.56.4-10.el8_4.2 0:2.56.4-10.el8_4.2 Fixed
redhat rhel tus < 0:2.56.4-158.el8_6.2; < 0:2.56.4-162.el8_8 0:2.56.4-158.el8_6.2, 0:2.56.4-162.el8_8 Fixed
Siemens RUGGEDCOM RST2428P < V3.3 V3.3 Fixed
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family < V3.3 V3.3 Fixed
Siemens SCALANCE XCH328 < V3.3 V3.3 Fixed
Siemens SCALANCE XCM324 < V3.3 V3.3 Fixed
Siemens SCALANCE XCM328 < V3.3 V3.3 Fixed
Siemens SCALANCE XCM332 < V3.3 V3.3 Fixed
Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) < V3.3 V3.3 Fixed
Siemens SCALANCE XRM334 (230 V AC, 12xFO) < V3.3 V3.3 Fixed
Siemens SCALANCE XRM334 (230 V AC, 8xFO) < V3.3 V3.3 Fixed
Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) < V3.3 V3.3 Fixed
Siemens SCALANCE XRM334 (24 V DC, 12xFO) < V3.3 V3.3 Fixed
Siemens SCALANCE XRM334 (24 V DC, 8xFO) < V3.3 V3.3 Fixed

… and 6 more packages.

Affected products

ProductAffected versionsFixed in
cbl-mariner glib(CBL-Mariner:2.0) < 2.71.0-6 2.71.0-6
cbl-mariner glib(CBL-Mariner:2.0) < 2.71.0-7 2.71.0-7
azure linux glib(Azure Linux:3.0) < 2.78.6-3 2.78.6-3
debian/glib2.0(Debian:12) < 2.74.6-2+deb12u7 2.74.6-2+deb12u7
debian/glib2.0(Debian:12) = 2.74.6-2 No fix listed
debian/glib2.0(Debian:12) = 2.74.6-2+deb12u1 No fix listed
debian/glib2.0(Debian:12) = 2.74.6-2+deb12u2 No fix listed
debian/glib2.0(Debian:12) = 2.74.6-2+deb12u3 No fix listed
debian/glib2.0(Debian:12) = 2.74.6-2+deb12u4 No fix listed
debian/glib2.0(Debian:12) = 2.74.6-2+deb12u5 No fix listed
debian/glib2.0(Debian:12) = 2.74.6-2+deb12u6 No fix listed
debian/glib2.0(Debian:13) < 2.84.1-3 2.84.1-3
debian/glib2.0(Debian:14) < 2.84.1-3 2.84.1-3
glib < 2.84.2 2.84.2
redhat enterprise linux < 0:2.80.4-4.el10_0.6 0:2.80.4-4.el10_0.6
redhat enterprise linux < 0:2.56.4-166.el8_10 0:2.56.4-166.el8_10
redhat rhel aus < 0:2.56.4-8.el8_2.2 0:2.56.4-8.el8_2.2
redhat rhel aus < 0:2.56.4-10.el8_4.2 0:2.56.4-10.el8_4.2
redhat rhel eus long life < 0:2.56.4-10.el8_4.2 0:2.56.4-10.el8_4.2
redhat rhel aus < 0:2.56.4-158.el8_6.2 0:2.56.4-158.el8_6.2
redhat rhel e4s < 0:2.56.4-158.el8_6.2 0:2.56.4-158.el8_6.2
redhat rhel tus < 0:2.56.4-158.el8_6.2 0:2.56.4-158.el8_6.2
redhat rhel e4s < 0:2.56.4-162.el8_8 0:2.56.4-162.el8_8
redhat rhel tus < 0:2.56.4-162.el8_8 0:2.56.4-162.el8_8
redhat enterprise linux < 0:2.68.4-16.el9_6.2 0:2.68.4-16.el9_6.2
Show 35 more
ProductAffected versionsFixed in
redhat rhel e4s < 0:2.68.4-5.el9_0.2 0:2.68.4-5.el9_0.2
redhat rhel e4s < 0:2.68.4-7.el9_2.2 0:2.68.4-7.el9_2.2
redhat rhel eus < 0:2.68.4-14.el9_4.3 0:2.68.4-14.el9_4.3
redhat insights proxy < 1.5.5-1754504343 1.5.5-1754504343
redhat openshift distributed tracing < rhosdt-3.6-1753265330 rhosdt-3.6-1753265330
redhat openshift distributed tracing < rhosdt-3.6-1753265394 rhosdt-3.6-1753265394
redhat openshift distributed tracing < rhosdt-3.6-1753265332 rhosdt-3.6-1753265332
redhat openshift distributed tracing < rhosdt-3.6-1753265435 rhosdt-3.6-1753265435
redhat openshift distributed tracing < rhosdt-3.6-1753265342 rhosdt-3.6-1753265342
redhat openshift distributed tracing < rhosdt-3.6-1753269432 rhosdt-3.6-1753269432
redhat openshift distributed tracing < rhosdt-3.6-1753265411 rhosdt-3.6-1753265411
redhat openshift distributed tracing < rhosdt-3.6-1753265314 rhosdt-3.6-1753265314
redhat enterprise linux All versions No fix listed
redhat rhel els All versions No fix listed
Siemens RUGGEDCOM RST2428P < V3.3 V3.3
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family < V3.3 V3.3
Siemens SCALANCE XCH328 < V3.3 V3.3
Siemens SCALANCE XCM324 < V3.3 V3.3
Siemens SCALANCE XCM328 < V3.3 V3.3
Siemens SCALANCE XCM332 < V3.3 V3.3
Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) < V3.3 V3.3
Siemens SCALANCE XRM334 (230 V AC, 12xFO) < V3.3 V3.3
Siemens SCALANCE XRM334 (230 V AC, 8xFO) < V3.3 V3.3
Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) < V3.3 V3.3
Siemens SCALANCE XRM334 (24 V DC, 12xFO) < V3.3 V3.3
Siemens SCALANCE XRM334 (24 V DC, 8xFO) < V3.3 V3.3
Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) < V3.3 V3.3
Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) < V3.3 V3.3
Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) < V3.3 V3.3
Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) < V3.3 V3.3
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.5 No fix listed
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.5 No fix listed
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.5 No fix listed
ubuntu/glib2.0(Ubuntu:22.04) < 2.72.4-0ubuntu2.5 2.72.4-0ubuntu2.5
ubuntu/glib2.0(Ubuntu:24.04) < 2.80.0-6ubuntu3.4 2.80.0-6ubuntu3.4

References