Issue #22461 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 3.3: REQUIRED, 3.4: REQUIRED, 4.0: REQUIRED to 3.3: REQUIRED, 3.4: DONE, 4.0: REQUIRED ruby_3_4 commit:153123a9b5f74b2cde4ff14d1fe47bc17521bd3e merged revision(s) commit:faefcb11050ea61ee011e3b73c929ff406d30b68. ---------------------------------------- Bug #22461: Use-after-free in `String` formatting with wide character encodings https://bugs.ruby-lang.org/issues/22461#change-119787 * Author: nobu (Nobuyoshi Nakada) * Status: Closed * Backport: 3.3: REQUIRED, 3.4: DONE, 4.0: REQUIRED ---------------------------------------- A heap use-after-free bug exists in Ruby's string formatting implementation (`String#%` and `Kernel#sprintf`) when processing wide character encoded strings. -- https://bugs.ruby-lang.org/