CVEfocus › CVE database › CVE-2025-4373

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

CVSS 4.8 MediumEPSS 0.9% (higher than 57% of CVEs)Published 2025-05-06Updated 2026-11-24Assigner: redhat

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.

CWE-124

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

36Fixed
40Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04glib2.0Not affected
vulnerable_code_not_present
Ubuntu 25.10glib2.0Not affected
vulnerable_code_not_present
Ubuntu 24.04glib2.0Fixed2.80.0-6ubuntu3.4UBUNTU-CVE-2025-4373
Ubuntu 22.04glib2.0Fixed2.72.4-0ubuntu2.5UBUNTU-CVE-2025-4373
Ubuntu 20.04glib2.0Fixed2.64.6-1~ubuntu20.04.9UBUNTU-CVE-2025-4373
Ubuntu 18.04glib2.0Fix pendingUBUNTU-CVE-2025-4373
Ubuntu 16.04glib2.0Fix pendingUBUNTU-CVE-2025-4373
Ubuntu 14.04glib2.0Fix pendingUBUNTU-CVE-2025-4373
Debian 14glib2.0Fixed2.84.1-3DEBIAN-CVE-2025-4373
Debian 13glib2.0Fixed2.84.1-3DEBIAN-CVE-2025-4373
Debian 12glib2.0Fixed2.74.6-2+deb12u7DEBIAN-CVE-2025-4373
Red Hat Enterprise Linux 10bootcFix pending
Fix deferred
Red Hat Enterprise Linux 10glib2Fixed0:2.80.4-4.el10_0.6RHSA-2025:10855
Red Hat Enterprise Linux 10glib2-develFixed0:2.80.4-4.el10_0.6RHSA-2025:10855
Red Hat Enterprise Linux 10glib2-docFixed0:2.80.4-4.el10_0.6RHSA-2025:10855
Red Hat Enterprise Linux 10glib2-staticFixed0:2.80.4-4.el10_0.6RHSA-2025:10855
Red Hat Enterprise Linux 10glib2-testsFixed0:2.80.4-4.el10_0.6RHSA-2025:10855
Red Hat Enterprise Linux 10glycin-loadersFix pending
Fix deferred
Red Hat Enterprise Linux 10loupeFix pending
Fix deferred
Red Hat Enterprise Linux 10mingw-glib2Fix pending
Fix deferred
Red Hat Enterprise Linux 10mingw32-glib2Fix pending
Fix deferred
Red Hat Enterprise Linux 10mingw32-glib2-staticFix pending
Fix deferred
Red Hat Enterprise Linux 10mingw64-glib2Fix pending
Fix deferred
Red Hat Enterprise Linux 10mingw64-glib2-staticFix pending
Fix deferred
Red Hat Enterprise Linux 10system-reinstall-bootcFix pending
Fix deferred
Red Hat Enterprise Linux 9bootcFix pending
Fix deferred
Red Hat Enterprise Linux 9glib2Fixed0:2.68.4-16.el9_6.2RHSA-2025:11140
Red Hat Enterprise Linux 9glib2-develFixed0:2.68.4-16.el9_6.2RHSA-2025:11140
Red Hat Enterprise Linux 9glib2-docFixed0:2.68.4-16.el9_6.2RHSA-2025:11140
Red Hat Enterprise Linux 9glib2-staticFixed0:2.68.4-16.el9_6.2RHSA-2025:11140
Red Hat Enterprise Linux 9glib2-testsFixed0:2.68.4-16.el9_6.2RHSA-2025:11140
Red Hat Enterprise Linux 9librsvg2Fix pending
Fix deferred
Red Hat Enterprise Linux 9librsvg2-develFix pending
Fix deferred
Red Hat Enterprise Linux 9librsvg2-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 9mingw-glib2Fix pending
Fix deferred
Red Hat Enterprise Linux 9mingw32-glib2Fix pending
Fix deferred
Red Hat Enterprise Linux 9mingw32-glib2-staticFix pending
Fix deferred
Red Hat Enterprise Linux 9mingw64-glib2Fix pending
Fix deferred
Red Hat Enterprise Linux 9mingw64-glib2-staticFix pending
Fix deferred
Red Hat Enterprise Linux 9system-reinstall-bootcFix pending
Fix deferred
Red Hat Enterprise Linux 8glib2Fixed0:2.56.4-166.el8_10RHSA-2025:11327
Red Hat Enterprise Linux 8glib2-develFixed0:2.56.4-166.el8_10RHSA-2025:11327
Red Hat Enterprise Linux 8glib2-docFixed0:2.56.4-166.el8_10RHSA-2025:11327
Red Hat Enterprise Linux 8glib2-famFixed0:2.56.4-166.el8_10RHSA-2025:11327
Red Hat Enterprise Linux 8glib2-staticFixed0:2.56.4-166.el8_10RHSA-2025:11327
Red Hat Enterprise Linux 8glib2-testsFixed0:2.56.4-166.el8_10RHSA-2025:11327
Red Hat Enterprise Linux 8librsvg2Fix pending
Fix deferred
Red Hat Enterprise Linux 8librsvg2-develFix pending
Fix deferred
Red Hat Enterprise Linux 8librsvg2-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw-glib2Fix pending
Fix deferred
Red Hat Enterprise Linux 8mingw32-glib2Fix pending
Fix deferred
Red Hat Enterprise Linux 8mingw32-glib2-staticFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw64-glib2Fix pending
Fix deferred
Red Hat Enterprise Linux 8mingw64-glib2-staticFix pending
Fix deferred
Red Hat Enterprise Linux 7glib2Fix pending
Fix deferred
Red Hat Enterprise Linux 7glib2-develFix pending
Fix deferred
Red Hat Enterprise Linux 7glib2-docFix pending
Fix deferred
Red Hat Enterprise Linux 7glib2-famFix pending
Fix deferred
Red Hat Enterprise Linux 7glib2-staticFix pending
Fix deferred
Red Hat Enterprise Linux 7glib2-testsFix pending
Fix deferred
Red Hat Enterprise Linux 6glib2Fix pending
Fix deferred
Red Hat Enterprise Linux 6glib2-develFix pending
Fix deferred
Red Hat Enterprise Linux 6glib2-docFix pending
Fix deferred
Red Hat Enterprise Linux 6glib2-staticFix pending
Fix deferred
AlmaLinux 9glib2Fixed2.68.4-16.el9_6.2ALSA-2025:11140
AlmaLinux 9glib2-develFixed2.68.4-16.el9_6.2ALSA-2025:11140
AlmaLinux 9glib2-docFixed2.68.4-16.el9_6.2ALSA-2025:11140
AlmaLinux 9glib2-staticFixed2.68.4-16.el9_6.2ALSA-2025:11140
AlmaLinux 9glib2-testsFixed2.68.4-16.el9_6.2ALSA-2025:11140
AlmaLinux 8glib2Fixed2.56.4-166.el8_10ALSA-2025:11327
AlmaLinux 8glib2-develFixed2.56.4-166.el8_10ALSA-2025:11327
AlmaLinux 8glib2-docFixed2.56.4-166.el8_10ALSA-2025:11327
AlmaLinux 8glib2-famFixed2.56.4-166.el8_10ALSA-2025:11327
AlmaLinux 8glib2-staticFixed2.56.4-166.el8_10ALSA-2025:11327
AlmaLinux 8glib2-testsFixed2.56.4-166.el8_10ALSA-2025:11327
Rocky Linux 10glib2Fixed0:2.80.4-4.el10_0.6RLSA-2025:10855
Rocky Linux 9glib2Fixed0:2.68.4-16.el9_6.2RLSA-2025:11140
Rocky Linux 8glib2Fixed0:2.56.4-166.el8_10RLSA-2025:11327

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.