Buffer Underflow Affecting glib2.0 package, versions <2.84.1-1ubuntu0.1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.06% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2504-GLIB20-10109661
  • published1 Jun 2025
  • disclosed6 May 2025

Introduced: 6 May 2025

CVE-2025-4373  (opens in a new tab)
CWE-124  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.04 glib2.0 to version 2.84.1-1ubuntu0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glib2.0 package and not the glib2.0 package as distributed by Ubuntu. See How to fix? for Ubuntu:25.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1