Description
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.
Published: 2026-06-30
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Validate Input
AI Analysis

Impact

An off‑by‑one condition was discovered in the GLib routine g_key_file_get_locale_string_list. When a key file contains an empty value, the routine performs an out‑of‑bounds memory read or write of a single byte. If the faulty access crosses a memory page boundary, it can trigger a crash that results in a denial of service. The weakness is an implementation bug classified as CWE‑193, which typically leads to reliability and availability problems rather than privilege escalation or data disclosure.

Affected Systems

The flaw affects Red Hat Enterprise Linux distributions 6, 7, 8, 9 and 10, as well as Red Hat Hardened Images, through the bundled GLib library. The vulnerability is triggered by loading malformed key files such as .desktop or .ini that are processed by applications using the g_key_file_get_locale_string_list function.

Risk and Exploitability

The CVSS score of 7.3 reflects a medium to high severity risk. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, indicating no confirmed widespread exploitation yet. However, because the flaw operates on key files that are often loaded from user supplied or network sources, an attacker who can supply a crafted file to a vulnerable application may cause that application to crash. The likely attack vector is local file or possibly remote if an application reads untrusted key files from the network. The exploit would lead to denial of service of the affected application and, in worst cases, could degrade overall system availability if the crash cascades.

Generated by OpenCVE AI on June 30, 2026 at 15:51 UTC.

Remediation

Vendor Workaround

To mitigate this vulnerability, implement input validation to sanitize untrusted key files (such as .desktop or .ini files), specifically rejecting or stripping empty values before calling g_key_file_get_locale_string_list(). Alternatively, restricting the application to only load key files from trusted sources will completely neutralize this issue.


OpenCVE Recommended Actions

  • Apply the latest Red Hat security update that contains the GLib fix for the g_key_file_get_locale_string_list routine.
  • Validate all key files before calling g_key_file_get_locale_string_list: strip or reject empty values in the file data and reject files that are not from trusted sources.
  • If a patch cannot be applied immediately, limit the application to load key files only from a pre‑approved directory or bind‑mount the trusted locations, thereby preventing malicious key files from being parsed.

Generated by OpenCVE AI on June 30, 2026 at 15:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 15 Sep 2026 11:45:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4 cpe:/a:redhat:openshift:4.22::el9
References

Thu, 10 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
References

Wed, 09 Sep 2026 08:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat enterprise Linux Eus
Redhat rhel Eus
Redhat rhel Tus
CPEs cpe:/a:redhat:rhel_eus:9.6::appstream
cpe:/a:redhat:rhel_eus:9.6::crb
cpe:/o:redhat:enterprise_linux_eus:10.0
cpe:/o:redhat:rhel_aus:8.6::baseos
cpe:/o:redhat:rhel_e4s:8.8::baseos
cpe:/o:redhat:rhel_eus:9.6::baseos
cpe:/o:redhat:rhel_eus_long_life:8.6::baseos
cpe:/o:redhat:rhel_tus:8.8::baseos
Vendors & Products Redhat enterprise Linux Eus
Redhat rhel Eus
Redhat rhel Tus
References

Wed, 09 Sep 2026 04:30:00 +0000

Type Values Removed Values Added
First Time appeared Redhat rhel E4s
Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:7 cpe:/a:redhat:rhel_e4s:9.2::appstream
cpe:/a:redhat:rhel_e4s:9.4::appstream
cpe:/o:redhat:rhel_e4s:9.2::baseos
cpe:/o:redhat:rhel_e4s:9.4::baseos
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel E4s
Redhat rhel Els
References

Wed, 09 Sep 2026 03:15:00 +0000

Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel Eus Long Life
CPEs cpe:/o:redhat:rhel_aus:8.4::baseos
cpe:/o:redhat:rhel_eus_long_life:8.4::baseos
Vendors & Products Redhat rhel Aus
Redhat rhel Eus Long Life
References

Tue, 08 Sep 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat cert Manager
CPEs cpe:/a:redhat:cert_manager:1.19::el9
Vendors & Products Redhat cert Manager
References

Tue, 01 Sep 2026 02:45:00 +0000

Type Values Removed Values Added
First Time appeared Redhat discovery
CPEs cpe:/a:redhat:discovery:2::el9
Vendors & Products Redhat discovery
References

Mon, 31 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:8 cpe:/o:redhat:enterprise_linux:8::baseos
References

Mon, 31 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Redhat openshift
CPEs cpe:/a:redhat:openshift:4
Vendors & Products Redhat openshift

Tue, 25 Aug 2026 10:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat rhui
CPEs cpe:/a:redhat:rhui:5::el9
Vendors & Products Redhat rhui
References

Wed, 19 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10.2
References

Mon, 17 Aug 2026 09:30:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/a:redhat:enterprise_linux:9::crb
cpe:/o:redhat:enterprise_linux:9::baseos
References

Mon, 03 Aug 2026 05:30:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8::crb
References

Wed, 01 Jul 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Gnome
Gnome glib
Redhat hardened Images
Vendors & Products Gnome
Gnome glib
Redhat hardened Images

Tue, 30 Jun 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 30 Jun 2026 13:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Glib: off-by-one error in glib/gkeyfile.c via "g_key_file_get_locale_string_list"
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Weaknesses CWE-193
CPEs cpe:/a:redhat:hummingbird:1
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}


Subscriptions

Gnome Glib
Redhat Cert Manager Discovery Enterprise Linux Enterprise Linux Eus Hardened Images Hummingbird Openshift Rhel Aus Rhel E4s Rhel Els Rhel Eus Rhel Eus Long Life Rhel Tus Rhui
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-09-15T11:37:17.143Z

Reserved: 2026-06-26T20:59:47.856Z

Link: CVE-2026-58014

cve-icon Vulnrichment

Updated: 2026-06-30T18:44:59.091Z

cve-icon NVD

Status : Modified

Published: 2026-06-30T13:19:17.580

Modified: 2026-09-15T12:17:51.327

Link: CVE-2026-58014

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-01T10:01:36Z

Weaknesses