Buffer Underflow Affecting glib2.0 package, versions <2.72.4-0ubuntu2.9


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.14% (4th 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-UBUNTU2204-GLIB20-15131380
  • published6 Feb 2026
  • disclosed27 Jan 2026

Introduced: 27 Jan 2026

CVE-2026-1485  (opens in a new tab)
CWE-124  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 glib2.0 to version 2.72.4-0ubuntu2.9 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:22.04 relevant fixed versions and status.

A flaw was found in Glib's content type parsing logic. This buffer underflow vulnerability occurs because the length of a header line is stored in a signed integer, which can lead to integer wraparound for very large inputs. This results in pointer underflow and out-of-bounds memory access. Exploitation requires a local user to install or process a specially crafted treemagic file, which can lead to local denial of service or application instability.

CVSS Base Scores

version 3.1