Off-by-one Error Affecting glib2 package, versions <0:2.68.4-16.el9_6.7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.49% (41st 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-RHEL9-GLIB2-19725481
  • published13 Sept 2026
  • disclosed7 Apr 2026

Introduced: 7 Apr 2026

CVE-2026-58014  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade RHEL:9 glib2 to version 0:2.68.4-16.el9_6.7 or higher.
This issue was patched in RHSA-2026:65763.

NVD Description

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

A flaw was found in GLib. An off-by-one error can occur in the g_key_file_get_locale_string_list function in the gkeyfile.c file when loading a key file with an empty value. This flaw can cause an out-of-bounds access of 1 byte or a denial of service when the out-of-bounds access crosses a page boundary.

CVSS Base Scores

version 3.1