CVE-2025-4373
Glib: buffer underflow on glib through glib/gstring.c via function g_string_insert_unichar
Reported by redhat · Published May 6, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| glib | gitlab.gnome.org | 2.84.2 |
| SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | Siemens | 3.3 |
| SCALANCE XCH328 | Siemens | 3.3 |
| SCALANCE XRM334 (24 V DC, 12xFO) | Siemens | 3.3 |
| SCALANCE XCM332 | Siemens | 3.3 |
| RUGGEDCOM RST2428P | Siemens | 3.3 |
| SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) | Siemens | 3.3 |
| SCALANCE XRH334 (24 V DC, 8xFO, CC) | Siemens | 3.3 |
| SCALANCE XCM324 | Siemens | 3.3 |
| SCALANCE XRM334 (24 V DC, 8xFO) | Siemens | 3.3 |
| SCALANCE XRM334 (230 V AC, 8xFO) | Siemens | 3.3 |
| SCALANCE XRM334 (2x230 V AC, 12xFO) | Siemens | 3.3 |
5 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| 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: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-1753265330 |
| Red Hat | Red Hat OpenShift distributed tracing 3.6.0 | rhosdt-3.6-1753265394 |
| Red Hat | Red Hat OpenShift distributed tracing 3.6.0 | rhosdt-3.6-1753265332 |
…and 84 more
Timeline
- May 6, 2025 CVE Published
- May 7, 2025 EPSS Score (30 in total, the first dated here)
- Jun 15, 2025 Coalition ESS Score (28 in total, the first dated here)
- Dec 18, 2025 PoC Published (2 in total, the first dated here)
- Mar 4, 2026 CVE Updated
- Mar 17, 2026 Security Advisory (25 in total, the first dated here)
- Oct 4, 2026 Distribution Patch (21 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-4373
vulnetix vdb fixes CVE-2025-4373
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-4373/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2025:10855 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:11140 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:11327 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:11373 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:11374 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:11662 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:12275 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:13335 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:14988 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:14989 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:14990 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:14991 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2364265 issue-trackingx_refsource_REDHAT
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html url
- https://cert-portal.siemens.com/productcert/html/ssa-089022.html url