CVE-2026-58012
Publication date 30 June 2026
Last updated 1 July 2026
Ubuntu priority
Cvss 3 Severity Score
Description
A flaw was found in GLib. A buffer over-read can occur in the g_regex_replace function when used with the `G_REGEX_RAW` compile flag and case-change replacement escapes because the string_append function processes matched substrings using UTF-8 functions that assume valid UTF-8 input, even when the string is treated as raw bytes. This vulnerability can cause a minor information disclosure of 1-5 bytes and a denial of service when the buffer over-read crosses a page boundary.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| glib2.0 | 26.04 LTS resolute |
Needs evaluation
|
| 25.10 questing |
Needs evaluation
|
|
| 24.04 LTS noble |
Needs evaluation
|
|
| 22.04 LTS jammy |
Needs evaluation
|
|
| 20.04 LTS focal |
Needs evaluation
|
|
| 18.04 LTS bionic |
Needs evaluation
|
|
| 16.04 LTS xenial |
Needs evaluation
|
|
| 14.04 LTS trusty |
Needs evaluation
|
Severity score breakdown
CVSS version: CVSS v3.0
Base score
6.5 · Medium
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
References
Other references
- https://www.cve.org/CVERecord?id=CVE-2026-58012
- https://gitlab.gnome.org/GNOME/glib/-/work_items/3918
- https://gitlab.gnome.org/GNOME/glib/-/merge_requests/5132 (2.89.0)
- https://gitlab.gnome.org/GNOME/glib/-/merge_requests/5134 (2.88.1)
- https://gitlab.gnome.org/GNOME/glib/-/merge_requests/5135 (2.86.5)
- https://access.redhat.com/security/cve/CVE-2026-58012
- https://bugzilla.redhat.com/show_bug.cgi?id=2492247
- https://gitlab.gnome.org/GNOME/glib/-/issues/3918