verialabs.com·19 november 2026
Ruby2Shell (GHSA-34m4-m9fh-gqp5)

vulnerability
heap overflow
Remote Code Execution
Ruby
string conversion
Vulnerability
verialabs.com
A critical heap overflow vulnerability in Ruby's string case conversion allows unauthenticated remote code execution. The flaw exists in single-byte encodings where upcasing the character 'ß' writes two bytes into an output buffer that only bounds-checks one byte. Affected deployments and self-hosted software must upgrade to fixed Ruby versions 3.3.14, 3.4.13, or 4.0.10. UTF-8 strings are not affected by this issue. A proof of concept will be published one week after the advisory release.