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 in GNOME GLib arises from an off-by-one error in the g_key_file_get_locale_string_list function in gkeyfile.c. When processing key files containing empty values, this flaw can cause an out-of-bounds access of one byte, which may lead to a denial of service if the access crosses a memory page boundary. The issue primarily affects applications that load or parse untrusted key files, such as .desktop or .ini files. Red Hat's advisory notes that the vulnerability can cause application crashes and is rated with moderate severity due to the limited impact in production environments. Mitigation includes sanitizing input key files to reject or strip empty values or 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.
Potential Impact
The vulnerability can cause an out-of-bounds memory access of one byte, which may lead to application crashes resulting in denial of service. The crash is reliably reproducible in AddressSanitizer (ASan) builds but less so in production environments. The impact includes potential low confidentiality, integrity, and availability effects, with the primary concern being denial of service through application instability. There is no evidence of known exploits in the wild. The vulnerability affects applications that load untrusted key files, potentially causing crashes when processing empty values in such files.
Mitigation Recommendations
Red Hat advises implementing input validation to sanitize untrusted key files by 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 mitigate the vulnerability. Red Hat has released security updates addressing this issue; applying these official patches is the recommended remediation. Users should refer to the Red Hat advisory RHSA-2026:49512 for details on applying the update. No further action is required if the update is applied.
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
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-58014 in GNOME GLib arises from an off-by-one error in the g_key_file_get_locale_string_list function in gkeyfile.c. When processing key files containing empty values, this flaw can cause an out-of-bounds access of one byte, which may lead to a denial of service if the access crosses a memory page boundary. The issue primarily affects applications that load or parse untrusted key files, such as .desktop or .ini files. Red Hat's advisory notes that the vulnerability can cause application crashes and is rated with moderate severity due to the limited impact in production environments. Mitigation includes sanitizing input key files to reject or strip empty values or 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.
Potential Impact
The vulnerability can cause an out-of-bounds memory access of one byte, which may lead to application crashes resulting in denial of service. The crash is reliably reproducible in AddressSanitizer (ASan) builds but less so in production environments. The impact includes potential low confidentiality, integrity, and availability effects, with the primary concern being denial of service through application instability. There is no evidence of known exploits in the wild. The vulnerability affects applications that load untrusted key files, potentially causing crashes when processing empty values in such files.
Mitigation Recommendations
Red Hat advises implementing input validation to sanitize untrusted key files by 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 mitigate the vulnerability. Red Hat has released security updates addressing this issue; applying these official patches is the recommended remediation. Users should refer to the Red Hat advisory RHSA-2026:49512 for details on applying the update. No further action is required if the update is applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-06-26T20:59:47.856Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- 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/03/2026, 19:48:28 UTC
Last updated: 08/14/2026, 05:51:33 UTC
Views: 79
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.
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.