Repository navigation
Ruby 4.0.10 portable binaries
Released by Ruby: 2026-11-18
What's Changed
- Bug #22477: rb_ec_clear_vm_stack() can still clear the VM stack before ec->cfp = NULL on aarch64 - Ruby - Ruby Issue Tracking System
- Bug #22451: Coderange may be set incorrectly when concatenating a string into itself - Ruby - Ruby Issue Tracking System
- Bug #22476: rb_profile_frames() called from a signal handler segfaults while vm_make_env_each() is escaping a chain of frames - Ruby - Ruby Issue Tracking System
- Bug #20655: Calling continuation triggers ensure function of rb_ensure - Ruby - Ruby Issue Tracking System
- JIT: Reject --{y,z}jit-exec-mem-size values that overflow the u32 reservation size by st0012 · Pull Request #19720
- Bug #22512: Overflow in
st_init_existing_table_with_size/Hash.new(capacity:)- Ruby - Ruby Issue Tracking System - Bug #22511: Please backport ee90e8e380 (concurrent set size overcount) to 4.0: fstring table keeps doubling in long-running apps - Ruby - Ruby Issue Tracking System
- Bug #22504: Empty keyword hash mishandled when calling a Method proc through the C API - Ruby - Ruby Issue Tracking System
- Fix: Do not fast_fallback if local_port is explicitly specified by shioimm · Pull Request #15732
- Bug #21512: Socket.tcp_with_fast_fallback('example.com', 80, '127.0.0.1') fails with unknown socket domain: ipv4 (SocketError) - Ruby - Ruby Issue Tracking System
- Bug #22529: Array#fill should respect frozenness from yields - Ruby - Ruby Issue Tracking System
- Bug #22535: Release mode segfault due to half-initialized error in singleton_method - Ruby - Ruby Issue Tracking System
- Bug #22420:
require "strscan"no longer activates the default gem, so a newer installed strscan is ignored and later loaded twice - Ruby - Ruby Issue Tracking System - Bug #22423: String#initialize(encoding:) stores an inflated capacity and writes past the malloc'd buffer on append (rb_str_init termlen double-adjust) - Ruby - Ruby Issue Tracking System
- Bug #22427:
--enable=zjitdoes not enable ZJIT - Ruby - Ruby Issue Tracking System - Bug #22436: Array#zip with a method_missing-based argument leaks a stale block handler (segfault when the next C-called method yields) - Ruby - Ruby Issue Tracking System
- Bug #22449: Out-of-bounds in
Array#samplewhen array modified - Ruby - Ruby Issue Tracking System - Bug #22450: Jump value attaches block in incorrect place under parse.y - Ruby - Ruby Issue Tracking System
- Bug #22458:
Time#strftimeout-of-bound access - Ruby - Ruby Issue Tracking System - Bug #22461: Use-after-free in
Stringformatting with wide character encodings - Ruby - Ruby Issue Tracking System - Bug #22467: IO#readpartial can raise EFAULT during GC.compact in another thread - Ruby - Ruby Issue Tracking System
- Bug #22471: Thread#name= on a terminated thread may dump core - Ruby - Ruby Issue Tracking System
- Bug #22479: File.realdirpath returns a wrong path when GC runs while it resolves a relative symlink - Ruby - Ruby Issue Tracking System
- Bug #22480: Ruby's release tarballs are not POSIX compliant since 2018 - Ruby - Ruby Issue Tracking System
- Bug #22491: The number of captures may change depending on the encoding of the target string - Ruby - Ruby Issue Tracking System
- Bug #22492: String#rindex misses a match with a leading .* in multiline mode - Ruby - Ruby Issue Tracking System
- Bug #22494: Regexp search misses a match when an assertion precedes a leading .* - Ruby - Ruby Issue Tracking System
- Bug #22498: Proc#== does not return true for the same lexical code block - Ruby - Ruby Issue Tracking System
- Bug #22500: Keyword arguments can be freed during argument setup when a method has more than 31 keywords - Ruby - Ruby Issue Tracking System
- Bug #22517: Some String methods return a UTF-16/32 string without room for its terminator - Ruby - Ruby Issue Tracking System
- Bug #22518: String#unpack("m") computes the buffer size with an overflowing multiplication - Ruby - Ruby Issue Tracking System
- Bug #22382: IO#write of a shareable String from multiple Ractors causes use-after-free - Ruby - Ruby Issue Tracking System
- Bug #22541:
Thread#raiseandFiber#raisecan set VM throw data asException#cause, causing a crash. - Ruby - Ruby Issue Tracking System - Bug #22258: Update bundled json to >= 2.19.2 on ruby_4_0 (CVE-2026-33210) - Ruby - Ruby Issue Tracking System
- Bug #22470: Array#find and Array#rfind arity change between versions 3 and 4 - Ruby - Ruby Issue Tracking System
- Bug #21142: Lazy enumerator
.each_with_indexignores.take(0)before it - Ruby - Ruby Issue Tracking System - Bug #22539: Class#new shouldn't call refined initialize methods - Ruby - Ruby Issue Tracking System
- Bug #22389: Hang on GC.compact - Ruby - Ruby Issue Tracking System
- Bug #22495: UTF-32 strings with a byte 0x80 or more in the most significant position are reported as valid - Ruby - Ruby Issue Tracking System
- Bug #22540: Process.spawn leaves the env, umask, and redirections applied in the parent on Windows when chdir: fails - Ruby - Ruby Issue Tracking System
- Bug #21974: Cannot inspect RubyVM::AST for CDECL - Ruby - Ruby Issue Tracking System
- Fix IO::Buffer#each_byte bounds check by afurm · Pull Request #16823
- Skip whitespace in rb_memory_view_parse_item_format fill pass by fuzzyrichie · Pull Request #19807
- Bug #22433: IO#sysread and IO#pread are inconsistent for length 0 and negative numbers - Ruby - Ruby Issue Tracking System
- Bug #21854: ruby-prof breaks on 4.0.1 - Ruby - Ruby Issue Tracking System
rb_fiber_scheduler_blocking_operation_waitcan garbage collectblocking_operationincorrectly. by samuel-williams-shopify · Pull Request #16908- Bug #22409: ASan UAF and Assertion Failed: gc_validate_pc:CFP_PC(cfp) >= iseq_encoded: PC not set when allocating, breaking tracing - Ruby - Ruby Issue Tracking System
- Bug #22543: Segmentation fault when compiling
CONST ||= value,CONST &&= valueorCONST += valueunder# shareable_constant_value: literal(Prism compiler) - Ruby - Ruby Issue Tracking System - Ensure safe handling of hexdump width. by ioquatix · Pull Request #16593
- Bug #22261: ruby-head builds have been failing on aarch64-linux CI in ruby/ruby-dev-builder - Ruby - Ruby Issue Tracking System
- Bug #22333: Assertion Failed: ary_resize_capa:RARRAY_LEN(ary) <= capacity - Ruby - Ruby Issue Tracking System
- Check the result of compile_length_tree() at every call site by mame · Pull Request #19505
- Bug #22557: parse.y segmentation fault parsing malformed nested case - Ruby - Ruby Issue Tracking System
- Bug #22560: parse.y hits UNREACHABLE_RETURN(0) after compile_error in rb_parser_enc_cr_str_buf_cat - Ruby - Ruby Issue Tracking System
- Bug #22556: Clarify
&&=and||=on multi-line - Ruby - Ruby Issue Tracking System - Bug #22537:
IO#gets(nil, limit)stops right after a 0xFF byte - Ruby - Ruby Issue Tracking System - Bug #22597: Regexp named capture names with invalid source encoding - Ruby - Ruby Issue Tracking System
- Bug #22599: parse.y rejects valid retry after a class / class << self definition inside rescue (
Invalid retry after ensure) - Ruby - Ruby Issue Tracking System - Bug #22412: Assertion Failed: vm_ep_in_heap_p_:env->ep == ep - Ruby - Ruby Issue Tracking System
- Bug #22553: Segfault when several Ractors call Kernel#class or #frozen? on objects of many classes - Ruby - Ruby Issue Tracking System
- YJIT: Add frozen guard for struct aset by tekknolagi · Pull Request #15835
- Bug #22410:
IO#external_encoding/IO#internal_encodingsegfault on an uninitialized IO - Ruby - Ruby Issue Tracking System
Note: This list is automatically generated by tool/gen-github-release.rb. Because of this, some commits may be missing.