Issue #22086 has been updated by k0kubun (Takashi Kokubun). Backport changed from 3.3: WONTFIX, 3.4: DONE, 4.0: REQUIRED to 3.3: WONTFIX, 3.4: DONE, 4.0: DONE ruby_4_0 commit:637f3a997e3094d3ab7869a3760812526628c2dc merged revision(s) commit:8ed456afc95ccb23256fe10036cd0d9678ceb245, commit:2510dfee2a6aba9e99664b453e2be69e00eb21a6, commit:3f6d6c0373d2cb005f7cf164414cbb531f42d525 via https://github.com/ruby/ruby/pull/17771. ---------------------------------------- Bug #22086: Backport Marshal overflow fix https://bugs.ruby-lang.org/issues/22086#change-117992 * Author: nobu (Nobuyoshi Nakada) * Status: Closed * Backport: 3.3: WONTFIX, 3.4: DONE, 4.0: DONE ---------------------------------------- GH-17130 * commit:8ed456afc95ccb23256fe10036cd0d9678ceb245 Marshal.load: Fix buffer overflow at overread * commit:2510dfee2a6aba9e99664b453e2be69e00eb21a6 Marshal.load: Fix integer overflow of length * commit:3f6d6c0373d2cb005f7cf164414cbb531f42d525 Marshal.load: Check bignum sign -- https://bugs.ruby-lang.org/