From: "k0kubun (Takashi Kokubun) via ruby-core" Date: 2026-11-16T17:42:31+00:00 Subject: [ruby-core:127508] [Ruby Bug#22461] Use-after-free in `String` formatting with wide character encodings Issue #22461 has been updated by k0kubun (Takashi Kokubun). Backport changed from 3.3: REQUIRED, 3.4: DONE, 4.0: REQUIRED to 3.3: REQUIRED, 3.4: DONE, 4.0: DONE ruby_4_0 commit:59250b6db4e33351beb923cac50039f9badaab8a 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-119976 * Author: nobu (Nobuyoshi Nakada) * Status: Closed * Backport: 3.3: REQUIRED, 3.4: DONE, 4.0: DONE ---------------------------------------- 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/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/