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

Summary

CVECVE-2025-4373
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-05-06 15:16:05 UTC
Updated2026-05-12 13:17:21 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 4.8 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

EPSS: 0.007420000 probability, percentile 0.730900000 (date 2026-05-12)

Problem Types: CWE-124 | CWE-124 Buffer Underwrite ('Buffer Underflow')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary4.8MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
3.1CNACVSS4.8MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 10 unaffected 0:2.80.4-4.el10_0.6 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:2.56.4-166.el8_10 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support unaffected 0:2.56.4-8.el8_2.2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support unaffected 0:2.56.4-10.el8_4.2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On unaffected 0:2.56.4-10.el8_4.2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support unaffected 0:2.56.4-158.el8_6.2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service unaffected 0:2.56.4-158.el8_6.2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Update Services For SAP Solutions unaffected 0:2.56.4-158.el8_6.2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service unaffected 0:2.56.4-162.el8_8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.8 Update Services For SAP Solutions unaffected 0:2.56.4-162.el8_8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:2.68.4-16.el9_6.2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:2.68.4-16.el9_6.2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.0 Update Services For SAP Solutions unaffected 0:2.68.4-5.el9_0.2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.2 Update Services For SAP Solutions unaffected 0:2.68.4-7.el9_2.2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support unaffected 0:2.68.4-14.el9_4.3 * rpm Not specified
CNA Red Hat Red Hat Insights Proxy 1.5 unaffected sha256:e54a5a5f9d69dd6a03e2bcd845e2202910a188d266d4a79b12c387ceffc36f2d * rpm Not specified
CNA Red Hat Red Hat OpenShift Distributed Tracing 3.6.0 unaffected sha256:a891aa3f77d70d9d7966dfc71ff9087f45deb95d3025072da96a3ec5220db1f3 * rpm Not specified
CNA Red Hat Red Hat OpenShift Distributed Tracing 3.6.0 unaffected sha256:d9ca4a9ec5bc8de23e4550387f822f19949cdfbc4aeeab20e07b206d92f4a426 * rpm Not specified
CNA Red Hat Red Hat OpenShift Distributed Tracing 3.6.0 unaffected sha256:addf7b49ce99777a3bbf12c2e6678b604f3cfaf91feaaeb4192d75e902e46458 * rpm Not specified
CNA Red Hat Red Hat OpenShift Distributed Tracing 3.6.0 unaffected sha256:d4ef54ac8de0eaf22e294dad8852ea8b5c20f85deb19629a3a4e0020851266c3 * rpm Not specified
CNA Red Hat Red Hat OpenShift Distributed Tracing 3.6.0 unaffected sha256:1c4617b035c66b6b34e9b19f618f72a19da5fce644d79e24eb262f14c848bc81 * rpm Not specified
CNA Red Hat Red Hat OpenShift Distributed Tracing 3.6.0 unaffected sha256:8c5dddd29d08fe8234edbbcda055fe6b0f9a7d7a0edfc3cd130797fdf78cce5c * rpm Not specified
CNA Red Hat Red Hat OpenShift Distributed Tracing 3.6.0 unaffected sha256:be3feca3b19ac609e5ef829887b6d03ca3c504163ed0f9e10b2410cdfb175b72 * rpm Not specified
CNA Red Hat Red Hat OpenShift Distributed Tracing 3.6.0 unaffected sha256:3d37f30462f237f5087ef8ac90e39f5cd2cbaf5c143f7cae9d6155eb574726f2 * rpm Not specified
CNA Red Hat Red Hat OpenShift Distributed Tracing 3.6.0 unaffected sha256:8fb68adefecd8ccb94404399ac6c8038c064c85287f4f980a0855da1cbd0dcb7 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 10 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 10 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 10 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 10 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
ADP Siemens RUGGEDCOM RST2428P affected V3.3 custom Not specified
ADP Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family affected V3.3 custom Not specified
ADP Siemens SCALANCE XCH328 affected V3.3 custom Not specified
ADP Siemens SCALANCE XCM324 affected V3.3 custom Not specified
ADP Siemens SCALANCE XCM328 affected V3.3 custom Not specified
ADP Siemens SCALANCE XCM332 affected V3.3 custom Not specified
ADP Siemens SCALANCE XRH334 24 V DC 8xFO CC affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 230 V AC 12xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 230 V AC 8xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 230V AC 2x10G 24xSFP 8xSFP affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 24 V DC 12xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 24 V DC 8xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 24V DC 2x10G 24xSFP 8xSFP affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 2x230 V AC 12xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 2x230 V AC 8xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 2x230V AC 2x10G 24xSFP 8xSFP affected V3.3 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.5 * custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.5 * custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.5 * custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.5 * custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.5 * custom Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2025:10855 [email protected] access.redhat.com
gitlab.gnome.org/GNOME/glib/-/issues/3677 [email protected] gitlab.gnome.org
access.redhat.com/security/cve/CVE-2025-4373 [email protected] access.redhat.com
cert-portal.siemens.com/productcert/html/ssa-089022.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
access.redhat.com/errata/RHSA-2025:12275 [email protected] access.redhat.com
cert-portal.siemens.com/productcert/html/ssa-082556.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
access.redhat.com/errata/RHSA-2025:11662 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:11374 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:11327 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:13335 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:14989 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:11373 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:14988 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:11140 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:14990 [email protected] access.redhat.com
bugzilla.redhat.com/show_bug.cgi [email protected] bugzilla.redhat.com
access.redhat.com/errata/RHSA-2025:14991 [email protected] access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2025-05-06T00:33:30.003ZReported to Red Hat.
CNA2025-05-06T00:00:00.000ZMade public.

Workarounds

CNA: Currently, no mitigation is available for this vulnerability.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report