Buffer Over-read Affecting glib2.0 package, versions <2.88.0-1ubuntu0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.85% (57th 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-UBUNTU2604-GLIB20-17766244
  • published5 Sept 2026
  • disclosed30 Jun 2026

Introduced: 30 Jun 2026

CVE-2026-58013  (opens in a new tab)
CWE-126  (opens in a new tab)

How to fix?

Upgrade Ubuntu:26.04 glib2.0 to version 2.88.0-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:26.04 relevant fixed versions and status.

A flaw was found in GLib. A buffer over-read can occur in g_io_channel_read_line_backend() in the giochannel.c file when a custom line terminator with a length greater than one is set, causing memcmp to read past the GString buffer. This vulnerability can cause a minor information disclosure of 7 bytes or a denial of service when the buffer over-read crosses a page boundary.

References

CVSS Base Scores

version 3.1