Ruby bug lets outsiders run code on stock Rails

Veria Labs says it can run commands on a server using a bug in Ruby, the language behind the Rails web framework. The flaw is a one-byte memory overflow, where data spills past its space. Veria says it is the first to show remote code executionAn attack that lets an outsider run their own commands on a machine they do not control. on stock Rails.
The bug sits in how Ruby changes the case of text in some older single-byte character sets. The German letter ß has no single capital form there, so upcasing it writes two letters, SS. The output space is sized for one byte per input letter plus 20 spare bytes, so 21 of these letters overflow it by one byte. UTF-8 text is not affected.
Some answers are still missing. Products that bundle their own copy of Ruby cannot take the fix from Ruby, and some have no fixed release yet. Veria plans to publish a proof of concept on 25 November 2026, or later if major vendors have not shipped a fix.
Upgrade Ruby to 3.3.14, 3.4.13 or 4.0.10. If you run software that ships its own Ruby, install the vendor's fixed release when it appears.
Why it mattersAnyone running Rails on an affected Ruby version should upgrade now, and check whether vendor products bundle their own Ruby.

