Patch Ruby for Ruby2ßhell; Mustache 1.1.3 fixes RCE
Also: two nginx HTTP/2 RCEs, and Ruby 3.3 moves to legacy maintenance.
If your Rails app faces the internet, today's job is a Ruby upgrade and a redeploy. Everything else here is smaller.
The main thing

Ruby2ßhell: a one-byte overflow in upcase
Ruby shipped 4.0.10, 3.4.13 and 3.3.14 on Nov. 18 to fix seven memory-safety bugs in Regexp and in string case conversion. The core team says it knows of PoCs that turn some of them into remote code execution. One has a name and a website: Ruby2ßhell, GHSA-34m4-m9fh-gqp5, which its researchers bill as pre-authentication RCE on stock Rails, reachable in the default configuration of common Ruby web frameworks.
The bug itself is small, which is the unsettling part. Most of Ruby's single-byte encodings have no capital ß, so upcasing one writes two bytes, SS. The loop only bounds-checks one of them. The output buffer is the input length plus 20 bytes, and each ß adds a byte, so 21 of them write one byte past the end: an S (0x53) when upcasing, an s (0x73) when case-folding. The attacker picks the buffer size through the input length. That loop sits in several ISO-8859 and Windows-125x encodings.
What reaches it: upcase, swapcase, downcase(:fold) and casecmp? on strings in those encodings. UTF-8 strings take a different code path and aren't affected. That limits the exposure but doesn't remove it: the report says your own code is exposed if it upcases strings that arrive in a legacy encoding, and you probably don't know every place that happens.
The other six:
- GHSA-87fm-7w84-j2px, an integer overflow in case conversion that becomes a heap overflow.
- GHSA-7x2q-68qv-6p8x (double free) and GHSA-3p8q-wmhx-vm2w (heap overflow), both in regexp compilation.
- GHSA-7whj-cfh7-xgm4, a heap overflow in
Regexp#to_s. - GHSA-wpqw-5qxg-m68r and GHSA-pvgc-g7gj-pv6h, out-of-bounds reads in case-insensitive matching. For the second, the advisory says matching a crafted string can leak memory or crash the process.
The regexp RCEs need an attacker-controlled pattern, so if you build regexps from user input, you have the most exposure. CVE identifiers have been requested but not assigned, so track the GHSA ids for now.
- Affected: Ruby 3.3.13 and earlier, 3.4.0 through 3.4.12, 4.0.0 through 4.0.9. Last month's patch releases are on that list.
- Fixed: 4.0.10, 3.4.13, 3.3.14. Upstream fix for the ß bug: ruby/ruby@d582f8f.
- Ruby 3.2 and earlier: end of life, no fix coming.
- Workarounds: none in the advisory.
- Public PoC: the Ruby2ßhell researchers say they'll publish one in a week.
If you run self-hosted Ruby software, the report says the latest releases of some popular products still bundle an affected Ruby, so install the vendor's fixed release when it ships.
What to do today: bump .ruby-version and your base images, rebuild, redeploy, and confirm with ruby -v inside the running container, not on your laptop.
Patch check

Mustache 1.1.3 fixes a 9.8 template RCE (GHSA-5hrj-7fc3-cmx9, CVE-2026-130001, Nov. 18). In mustache 1.1.2 and earlier, anyone who controls the template string can chain built-in methods into arbitrary code execution. It doesn't depend on configuration or on what objects you pass in; the advisory says exploitation was proven with mustache as the only gem. The irony is that Mustache is often recommended as the safe template language for user-written templates, and those are exactly the apps exposed. If users can edit templates in your app (email builders, notification text), upgrade to 1.1.3 today. Full PoCs are coming later.
nginx has two unauthenticated HTTP/2 RCEs, which matters if nginx sits in front of your Puma. Wiz says CVE-2026-123633 and CVE-2026-123007 are both rated 9.2 (CVSS 4.0), both need HTTP/2 enabled, and the second goes back to nginx 1.9.5. Fixes are in F5's Nov. 18 security release; if you can't update yet, Wiz says to turn off HTTP/2 temporarily. As a Hacker News commenter points out, nginx -s reload doesn't load the new binary, so restart. Distro packages may also backport fixes without changing the version string.
Plan your next upgrade

Ruby 3.3 gets bug fixes, not just security patches. Starting with 3.3.14, the 3.3 branch receives backports for bugs the core team judges need them, not only security fixes, and the phase is renamed from security maintenance to legacy maintenance. The support period hasn't moved: official support for 3.3 still ends at the end of March 2027. (The security advisory posted the same day still calls it the security maintenance phase, so expect the wording to catch up.)
For upgrade planning, the change makes staying on 3.3 a bit more comfortable through the winter, not longer. Today's releases make the other deadline concrete: anything on 3.2 or older just missed seven fixes and won't get them. If that's you, the move to a supported branch is now a security task, and 3.3 is the one with an end date in March 2027.
Upgrade Ruby and redeploy today, then mustache, then restart nginx.