Ruby 4.0.10, 3.4.13 and 3.3.14 fix seven vulnerabilities in Ruby's regular expression engine and string case conversion; Ruby says it is aware of PoCs that prove some can be used to trigger remote code execution
The Ruby project published security advisories for seven vulnerabilities in Ruby's regular expression engine and in the case conversion of strings, and released Ruby 4.0.10, 3.4.13 and 3.3.14 to fix them (source: Ruby).
The advisory is posted 18 Nov 2026 and shows 'Originally published at 2026-11-19 00:00:00 (UTC)', which is 08:00 AWST on 19 November.
Ruby says it is aware of PoCs that prove some of the flaws can be used to trigger remote code execution, and strongly recommends upgrading (source: Ruby). The flaws include a one-byte heap-based buffer overflow and an integer overflow in the case conversion of strings, where Ruby says changing the case of a crafted string may allow remote code execution, and a double free and a heap buffer overflow in regular expression compilation, which Ruby says may allow remote code execution in applications that compile attacker-controlled patterns (source: Ruby).
Ruby says CVE identifiers have been requested but not yet assigned, so the advisory uses GitHub Security Advisory identifiers (GHSA-34m4-m9fh-gqp5, GHSA-7x2q-68qv-6p8x, GHSA-87fm-7w84-j2px, GHSA-wpqw-5qxg-m68r, GHSA-3p8q-wmhx-vm2w, GHSA-7whj-cfh7-xgm4, GHSA-pvgc-g7gj-pv6h) (source: Ruby).
Ruby says Ruby 3.2 and earlier have reached end of life and will not receive these fixes (source: Ruby). The advisory does not say the flaws are being exploited.
- Product
- Ruby (CRuby) — regular expression engine and String case conversion
- Versions
- Affected: Ruby 3.3.13 and earlier, 3.4.0 through 3.4.12, 4.0.0 through 4.0.9. Fixed: 4.0.10, 3.4.13, 3.3.14. Per ruby-lang.org, as of 19 Nov.
- CVSS
- Not given in the Ruby advisory
- Exploited in Australia?
- unknown
- Patch to
- Upgrade to Ruby 4.0.10, 3.4.13 or 3.3.14 (per Ruby). Ruby 3.2 and earlier are end of life and will not receive these fixes.
