Vulnerability · Published May 6, 2025 · Assigned by redhat
CVE-2025-4373Glib: buffer underflow on glib through glib/gstring.c via function g_string_insert_unichar
Medium 4.8
In plain English
A medium-severity security flaw in glib. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.6%top 48.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | glib2 | 2.56.4-166.el8_10 | ALSA-2025:11327 |
| AlmaLinux:9 | glib2 | 2.68.4-16.el9_6.2 | ALSA-2025:11140 |
| AlmaLinux:8 | glib2-devel | 2.56.4-166.el8_10 | ALSA-2025:11327 |
| AlmaLinux:9 | glib2-devel | 2.68.4-16.el9_6.2 | ALSA-2025:11140 |
| AlmaLinux:8 | glib2-doc | 2.56.4-166.el8_10 | ALSA-2025:11327 |
| AlmaLinux:9 | glib2-doc | 2.68.4-16.el9_6.2 | ALSA-2025:11140 |
| AlmaLinux:8 | glib2-fam | 2.56.4-166.el8_10 | ALSA-2025:11327 |
| AlmaLinux:8 | glib2-static | 2.56.4-166.el8_10 | ALSA-2025:11327 |
| AlmaLinux:9 | glib2-static | 2.68.4-16.el9_6.2 | ALSA-2025:11140 |
| AlmaLinux:8 | glib2-tests | 2.56.4-166.el8_10 | ALSA-2025:11327 |
| AlmaLinux:9 | glib2-tests | 2.68.4-16.el9_6.2 | ALSA-2025:11140 |
| Debian:12 | glib2.0 | 2.74.6-2+deb12u7 | DEBIAN-CVE-2025-4373 |
| Debian:13 | glib2.0 | 2.84.1-3 | DEBIAN-CVE-2025-4373 |
| Debian:14 | glib2.0 | 2.84.1-3 | DEBIAN-CVE-2025-4373 |
| Rocky Linux:10 | glib2 | 0:2.80.4-4.el10_0.6 | RLSA-2025:10855 |
| Rocky Linux:8 | glib2 | 0:2.56.4-166.el8_10 | RLSA-2025:11327 |
| Rocky Linux:9 | glib2 | 0:2.68.4-16.el9_6.2 | RLSA-2025:11140 |
| Ubuntu:22.04:LTS | glib2.0 | 2.72.4-0ubuntu2.5 | USN-7532-1 |
| Ubuntu:22.04:LTS | glib2.0 | 2.72.4-0ubuntu2.5 | UBUNTU-CVE-2025-4373 |
| Ubuntu:24.04:LTS | glib2.0 | 2.80.0-6ubuntu3.4 | UBUNTU-CVE-2025-4373 |
| Ubuntu:24.04:LTS | glib2.0 | 2.80.0-6ubuntu3.4 | USN-7532-1 |
Affected products (as reported)
Weakness: CWE-124 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
References
- RHSA-2025:10855 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:11140 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:11327 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:11373 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:11374 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:11662 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:12275 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:13335 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:14988 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:14989 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:14990 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:14991 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-4373 vdb-entry, x_refsource_REDHAT
- RHBZ#2364265 issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/glib/-/issues/3677
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://cert-portal.siemens.com/productcert/html/ssa-089022.html