GLib: Off-by-one Error
CVE-2026-58014 is a high-severity off-by-one error vulnerability in GLib from GNOME, with a CVSS 3.1 base score of 8.6 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version 2.88.1 as the first without the flaw, so updating GLib to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.56% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update GLib to 2.88.1 or a later version.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
Version data comes from the organisation that assigned the CVE; 16 further products are omitted here. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- LowSome restricted data can be read.
- Integrity
- LowLimited modification of data is possible.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.3 | High | CNA (redhat.com) |
| CVSS 3.1 | 8.6 | High | NVD |
Official 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Off-by-one Error
A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.
How developers prevent this class of flaw
- When copying character arrays or using character manipulation methods, the correct size parameter must be used to account for the null terminator that needs to be added at the end of the array. Some examples of functions susceptible to this weakness in C include strcpy(), strncpy(), strcat(), strncat(), printf(), sprintf(), scanf() and sscanf().
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: poc, automatable: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Other references
- access.redhat.com/errata/RHSA-2026:49512
- access.redhat.com/errata/RHSA-2026:55440
- access.redhat.com/errata/RHSA-2026:57015
- access.redhat.com/errata/RHSA-2026:58981
- access.redhat.com/errata/RHSA-2026:61766
- access.redhat.com/errata/RHSA-2026:61783
- access.redhat.com/errata/RHSA-2026:63135
- access.redhat.com/errata/RHSA-2026:63138
- access.redhat.com/errata/RHSA-2026:63140
- access.redhat.com/errata/RHSA-2026:65762
- access.redhat.com/errata/RHSA-2026:65763
- access.redhat.com/errata/RHSA-2026:65767
- access.redhat.com/errata/RHSA-2026:65768
- access.redhat.com/errata/RHSA-2026:65769
- access.redhat.com/errata/RHSA-2026:65770
Other vulnerabilities in GLib
- 9.1 Critical severity
- 7.5 High severity
- 8.2 High severity
- 8.2 High severity
- 7.5 High severity
- 8.2 High severity
Recent Off-by-one Error vulnerabilities
- 7.1 High severity
- 9.8 Critical severity
- 7.3 High severity
- 7.5 High severity
- 9.8 Critical severity
- 7.8 High severity
Spotted an error? Tell us.