---
title: Ruby 4.0.10, 3.4.13 and 3.3.14 fix seven Regexp and string case-conversion bugs; Ruby says PoCs show some can reach remote code execution | ctxsec
url: https://ctxsec.com/items/ruby-4-0-10-3-4-13-3-3-14-seven-regexp-string-case-conversion-vulns-rce-poc-nov-18
description: "The Ruby core team disclosed seven vulnerabilities in the regular-expression engine and in string case conversion (heap overflows, double frees, integer overflows and out-of-bounds reads) and says it knows of PoCs proving some can trigger remote code execution. Fixed versions are 4.0.10, 3.4.13 and 3.3.14, and Ruby strongly recommends upgrading. This follows the Oct 23 Onigmo fixes tied to GitLab's CVEs."
status: "official (ruby-lang.org security advisory, Nov 18, 2026)"
published: 2026-11-18
---

> The Ruby core team disclosed seven vulnerabilities in the regular-expression engine and in string case conversion (heap overflows, double frees, integer overflows and out-of-bounds reads) and says it knows of PoCs proving some can trigger remote code execution. Fixed versions are 4.0.10, 3.4.13 and 3.3.14, and Ruby strongly recommends upgrading. This follows the Oct 23 Onigmo fixes tied to GitLab's CVEs.

[← Cybersecurity News](/news) · [markdown](/items/ruby-4-0-10-3-4-13-3-3-14-seven-regexp-string-case-conversion-vulns-rce-poc-nov-18.md)

official (ruby-lang.org security advisory, Nov 18, 2026)

2026-11-18 · published here

2026-11-19 11:43 AM ET

### Ruby 4.0.10, 3.4.13 and 3.3.14 fix seven Regexp and string case-conversion bugs; Ruby says PoCs show some can reach remote code execution

- **Upgrade** Ruby and rebuild app images; apps on Rails, Sinatra and similar that run regexes or case conversion (`upcase`/`downcase`) on untrusted input are the main exposure.
- **Bundled Ruby:** GitLab, Chef, Puppet and other products ship their own Ruby; watch their release notes.
- See our earlier tip on finding `Regexp.new` with untrusted input.

Sources: [ruby-lang.org: Security advisories: multiple vulnerabilities in Regexp and String case conversion (Nov 18, 2026)](https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/)
