Ruby Fixes Seven Memory-Safety Flaws, Five With Proof-of-Concept RCE
Vulnerability Disclosure · 6 sources · Updated 2h ago · First seen Nov 19, 2026

Ruby maintainers released 4.0.10, 3.4.13, and 3.3.14 to fix seven memory-safety vulnerabilities in regular expression processing and string case conversion: three critical, three high, and one moderate. Five have proof-of-concept exploits demonstrating remote code execution, one has demonstrated attacker-controlled memory corruption, and another can disclose memory or crash a process. The advisories report no attacks exploiting these flaws. Exposure depends on how applications process attacker-controlled patterns or strings; one scenario involves a fixed regular expression with a case-insensitive backreference. CVE identifiers had been requested but were not yet assigned at publication.
Among the critical flaws, ruby2ßhell (GHSA-34m4-m9fh-gqp5) causes a one-byte heap buffer overflow during case conversion in certain legacy encodings; UTF-8 strings do not trigger it. Researchers reported unauthenticated network exposure in default Ruby on Rails and classic-style Sinatra applications, with vulnerable runtimes also bundled in identified releases of GitLab, GitHub Enterprise Server, Mastodon, OpenProject, Discourse, and Chatwoot. Administrators should prioritize exposed applications, update the Ruby runtime actually loaded by each service, including bundled copies, and restart processes or rebuild and redeploy containers. Updating gems or frameworks alone is insufficient. Ruby 3.2 and older branches are unsupported and will not receive fixes, requiring migration to a patched, supported release.


