Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilityproof-of-concept-releaseinternet-facing-service-vulnerabilitywidely-deployed-product-advisory

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 Fixes Seven Memory-Safety Flaws, Five With Proof-of-Concept RCE

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.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

7 events · Oct 23, 2026 – Nov 19, 2026
  1. Reported Nov 19, 20267h ago

    CISA adds earlier GitLab vulnerability to its known-exploited catalog

    CISA added the earlier GitLab vulnerability used in the attempted attack against Alpine Linux to its Known Exploited Vulnerabilities catalog.

    Ruby Releases Fixes for 7 Regex and String Flaws, Warns 5 Have Proof-of-Concept RCE
  2. Reported Nov 19, 20267h ago

    Earlier GitLab vulnerability used in attempted attack against Alpine Linux

    One of the GitLab vulnerabilities associated with the earlier Ruby regex bugs was used in an attempted attack against Alpine Linux's GitLab server. This did not establish exploitation of the seven newly disclosed Ruby flaws.

    Ruby Releases Fixes for 7 Regex and String Flaws, Warns 5 Have Proof-of-Concept RCE
  3. Reported Nov 19, 20267h ago

    Veria Labs details ruby2ßhell and identifies exposed frameworks and bundled runtimes

    Veria Labs disclosed details of GHSA-34m4-m9fh-gqp5, named ruby2ßhell, reporting unauthenticated reachability in default Rails and classic-style Sinatra applications when affected legacy encodings are processed; UTF-8 does not trigger the flaw. Researchers also identified affected Ruby runtimes bundled with specified releases of GitLab, GitHub Enterprise Server, Mastodon, OpenProject, Discourse, and Chatwoot, without establishing exploitation in the wild.

    ruby2ßhell: Critical One-Byte Heap Overflow in Ruby Could Allow Remote Code Execution Attacks
  4. Reported Nov 19, 202616h ago

    Metasploit proposes Ruby 3.4.13 upgrade; compatibility issues remain

    A Metasploit Framework pull request proposed upgrading its Ruby runtime to security release 3.4.13. Review identified Windows setup and PacketFu ARP packet construction compatibility issues; the change required additional testing, with no confirmed deployment or resolution of those issues.

    Upgrade Framework Ruby to 3.4.13 by dwelch-r7 · Pull Request #22162 · rapid7/metasploit-framework
  5. Nov 19, 202616h ago

    Ruby publishes advisories reporting code-execution proofs of concept for five flaws

    Ruby published security advisories covering seven memory-safety flaws, classified as three critical, three high, and one moderate, with proof-of-concept remote code execution reported for five. The advisories did not publish exploit code or report attacks exploiting these flaws; CVE identifiers remained pending.

    Ruby Patches 7 Security Vulnerabilities, Including Buffer Overflow and RCE Flaws
  6. Nov 18, 20262d ago

    Ruby releases fixes for seven string and regex vulnerabilities

    Ruby released versions 3.3.14, 3.4.13, and 4.0.10 to fix two string case-conversion vulnerabilities and five regular expression vulnerabilities, including ruby2ßhell. Unsupported Ruby 3.2 and older branches did not receive fixes.

    Ruby Patches 7 Security Vulnerabilities, Including Buffer Overflow and RCE Flaws
  7. Oct 23, 202628d ago

    Ruby patches separate regex bugs linked to critical GitLab vulnerabilities

    Ruby released versions 4.0.9, 3.4.12, and 3.3.13 to address regular expression compilation bugs discovered by GitLab that underlay four critical GitLab vulnerabilities. These bugs were distinct from the seven vulnerabilities disclosed in November.

    Ruby Releases Fixes for 7 Regex and String Flaws, Warns 5 Have Proof-of-Concept RCE
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

6 linked
ChatwootOpenprojectGitlabDiscourseRubyGithub Enterprise Server

Organizations

6 linked
ChatwootOpenprojectGitLabGitHubDiscourseMastodon
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.