Two security issues were identified in the GNU C Library (glibc) versions up to 2.44. The first involves regcomp and regexec functions potentially reading freed memory and double-freeing heap blocks during regular expression compilation or matching under memory pressure, leading to process crashes. The second issue affects the wide scanf family of functions, which may write an extra null byte past the end of a destination array when converting multibyte strings, possibly corrupting adjacent memory or crashing the process. Both issues affect all architectures supported by glibc. A fix is available in version 2.34-191.oe2203sp4.