Bug 2494881 - CVE-2026-58014 mingw-glib2: off-by-one error in glib/gkeyfile.c via "g_key_file_get_locale_string_list" [fedora-all]
Summary: CVE-2026-58014 mingw-glib2: off-by-one error in glib/gkeyfile.c via "g_key_fi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-glib2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["6690ebf4-f2ae-4629-9e6c-0...
Depends On:
Blocks: CVE-2026-58014
TreeView+ depends on / blocked
 
Reported: 2026-06-30 13:01 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-07-17 00:52 UTC (History)
5 users (show)

Fixed In Version: mingw-glib2-2.88.2-2.fc44
Clone Of:
Environment:
Last Closed: 2026-07-17 00:52:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2026-06-30 13:01:15 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A heap-buffer-overflow READ of 1 byte occurs in g_key_file_get_locale_string_list() at gkeyfile.c:2464 when the resolved locale string value is an empty string (""). The function computes len = strlen(value) which yields 0, then accesses value[len - 1]. Since len is gsize(unsigned), len - 1 wraps to SIZE_MAX, causing a read of 1 byte before the heap allocation (under-read). Any application that loads a key file from untrusted input and calls g_key_file_get_locale_string_list() on a key whose value is empty is affected. The key file format is commonly used for .desktop files and application configuration.

Comment 1 Fedora Update System 2026-07-02 17:13:29 UTC
FEDORA-2026-5a55313adb (mingw-glib2-2.88.2-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-5a55313adb

Comment 2 Fedora Update System 2026-07-03 01:26:30 UTC
FEDORA-2026-5a55313adb has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-5a55313adb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-5a55313adb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2026-07-09 01:45:53 UTC
FEDORA-2026-7bf2937528 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-7bf2937528`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-7bf2937528

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-07-17 00:52:40 UTC
FEDORA-2026-7bf2937528 (mingw-glib2-2.88.2-2.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.