CVE-2026-58014: Off-by-one Error in GNOME GLib
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.
AI Analysis
Technical Summary
The vulnerability CVE-2026-58014 is an off-by-one error in the GLib library's g_key_file_get_locale_string_list function within gkeyfile.c. When a key file containing an empty value is loaded, this flaw can cause a 1-byte out-of-bounds memory access, which may lead to a denial of service if the access crosses a page boundary. This affects applications that parse untrusted key files, typically .desktop or .ini files. The issue can cause application crashes due to undefined behavior from the out-of-bounds access. Red Hat's advisory notes that the vulnerability can be mitigated by sanitizing input to reject or strip empty values before calling the vulnerable function or by restricting key file loading to trusted sources. Red Hat has released security updates for affected packages, including mingw-glib2 for Red Hat Enterprise Linux 8. The CVSS v3.1 base score is 7.3 (high severity) with network attack vector, low attack complexity, no privileges required, and impacts on confidentiality, integrity, and availability rated as low.
Potential Impact
The vulnerability can cause an out-of-bounds memory access of one byte, potentially leading to application crashes or denial of service if the access crosses a page boundary. This results in instability and possible resource consumption issues. The impact on confidentiality and integrity is low, but the denial of service impact is rated low to moderate depending on environment. There are no known exploits in the wild. The vulnerability affects applications that load or parse untrusted key files, which could be leveraged to cause crashes or service interruptions.
Mitigation Recommendations
Red Hat advises mitigating this vulnerability by implementing input validation to sanitize untrusted key files, specifically rejecting or stripping empty values before invoking g_key_file_get_locale_string_list(). Alternatively, restricting applications to load key files only from trusted sources will fully neutralize the issue. Red Hat has released security updates addressing this vulnerability; applying these official fixes is recommended. Patch status is confirmed as fixed in updated Red Hat packages. Users should refer to Red Hat advisories and apply the available updates accordingly.
CVE-2026-58014: Off-by-one Error in GNOME GLib
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.
CVSS v3.1
Score 7.3high
Affected software
GNOME
GLib
Red Hat
Red Hat Enterprise Linux 10
Red Hat
Red Hat Enterprise Linux 10.0 Extended Update Support
Red Hat
Red Hat Enterprise Linux 7 Extended Lifecycle Support
Red Hat
Red Hat Enterprise Linux 8
Red Hat
Red Hat Enterprise Linux 8
Red Hat
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
Red Hat
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
Red Hat
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
Red Hat
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
Red Hat
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
Red Hat
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9
Red Hat
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9.6 Extended Update Support
Red Hat
Red Hat OpenShift Container Platform 4.22
Red Hat
Cert Manager support for Red Hat OpenShift release 1.19
Red Hat
Cert Manager support for Red Hat OpenShift release 1.19
Red Hat
Cert Manager support for Red Hat OpenShift release 1.19
Red Hat
Cert Manager support for Red Hat OpenShift release 1.20
Red Hat
Cert Manager support for Red Hat OpenShift release 1.20
Red Hat
Cert Manager support for Red Hat OpenShift release 1.20
Red Hat
Cert Manager support for Red Hat OpenShift release 1.20
Red Hat
Cert Manager support for Red Hat OpenShift release 1.20
Red Hat
Cert Manager support for Red Hat OpenShift release 1.20
Red Hat
Cert Manager support for Red Hat OpenShift release 1.20
Red Hat
Cert Manager support for Red Hat OpenShift release 1.20
Red Hat
Red Hat Discovery 2
Red Hat
Red Hat Discovery 2
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Enterprise Linux 10
Red Hat
Red Hat Enterprise Linux 6
Red Hat
Red Hat Enterprise Linux 9
Red Hat
Red Hat Hardened Images
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-58014 is an off-by-one error in the GLib library's g_key_file_get_locale_string_list function within gkeyfile.c. When a key file containing an empty value is loaded, this flaw can cause a 1-byte out-of-bounds memory access, which may lead to a denial of service if the access crosses a page boundary. This affects applications that parse untrusted key files, typically .desktop or .ini files. The issue can cause application crashes due to undefined behavior from the out-of-bounds access. Red Hat's advisory notes that the vulnerability can be mitigated by sanitizing input to reject or strip empty values before calling the vulnerable function or by restricting key file loading to trusted sources. Red Hat has released security updates for affected packages, including mingw-glib2 for Red Hat Enterprise Linux 8. The CVSS v3.1 base score is 7.3 (high severity) with network attack vector, low attack complexity, no privileges required, and impacts on confidentiality, integrity, and availability rated as low.
Potential Impact
The vulnerability can cause an out-of-bounds memory access of one byte, potentially leading to application crashes or denial of service if the access crosses a page boundary. This results in instability and possible resource consumption issues. The impact on confidentiality and integrity is low, but the denial of service impact is rated low to moderate depending on environment. There are no known exploits in the wild. The vulnerability affects applications that load or parse untrusted key files, which could be leveraged to cause crashes or service interruptions.
Mitigation Recommendations
Red Hat advises mitigating this vulnerability by implementing input validation to sanitize untrusted key files, specifically rejecting or stripping empty values before invoking g_key_file_get_locale_string_list(). Alternatively, restricting applications to load key files only from trusted sources will fully neutralize the issue. Red Hat has released security updates addressing this vulnerability; applying these official fixes is recommended. Patch status is confirmed as fixed in updated Red Hat packages. Users should refer to Red Hat advisories and apply the available updates accordingly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-06-26T20:59:47.856Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-58014","vendor":"Red Hat"}]
Threat ID: 6a43c34927e9c79719d5bd65
Added to database: 06/30/2026, 13:23:21 UTC
Last enriched: 08/17/2026, 13:25:36 UTC
Last updated: 09/29/2026, 18:20:13 UTC
Views: 114
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.