Seven vulnerabilities in Ruby prompted the language's maintainers to release versions 4.0.10, 3.4.13 and 3.3.14. The security announcement, whose history records its original publication on November 19, 2026, reports proof-of-concept exploits capable of triggering remote code execution in some scenarios.
The flaws affect the regular-expression engine, which searches text for patterns, and string case conversion. They do not mean every Ruby application has identical exposure: what matters is whether and how dangerous input reaches the affected operations.
A small memory error with serious consequences
One individual advisory, GHSA-34m4-m9fh-gqp5, is rated critical. It describes a one-byte write beyond the intended memory boundary during case conversion in certain encodings, including ISO-8859-1 and Windows-1252. It credits Stephan Lipp of Ada Logics and Anthropic with reporting the issue.
Affected branches include 3.3 through 3.3.13, 3.4.0–3.4.12 and 4.0.0–4.0.9. Ruby 3.3 is receiving security maintenance, while 3.2 and earlier are end-of-life and will not receive these fixes.
Updates within the supported branches allow remediation without moving every application to Ruby 4. The advisory's severity concerns the interpreter and vulnerable processing paths; it does not announce a confirmed attack against a named service.
Our sources
- Security advisories: multiple vulnerabilities in Regexp and String case conversion ↗Ruby · 19 November 2026 · Checked 21 November 2026
- GHSA-34m4-m9fh-gqp5 ↗Ruby / GitHub Security Advisory · 19 November 2026 · Checked 21 November 2026
- Ruby 4.0.10 Released ↗Ruby · 18 November 2026 · Checked 21 November 2026
AI tools assist our editors. Articles are published after human approval. Practical examples are ΠΕΡΑ analysis unless stated otherwise. How we work



