Backport upstream commit 49e067570dfa to fix CVE-2026-58012,
a buffer overflow in GRegex's string_append() when using
G_REGEX_RAW mode with case-changing substitutions on truncated
multi-byte UTF-8 sequences. The patch was adapted for glib
2.56.4 compatibility.
CVE: CVE-2026-58012
Upstream patches:
- 49e067570d.patch
Resolves: RHEL-212204
This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.
Assisted-by: Ymir