Ruby Releases Fix Seven Security Vulnerabilities

Maintainers issued Ruby 4.0.10, 3.4.13 and 3.3.14 after identifying flaws in regular expression and case-conversion code, some enabling remote code execution.

Updated on Nov. 19, 2026 in Software

Bold flat-color editorial illustration of a single steel block with a hairline fracture sealed by a bright cyan band, set on a plain cream field.
Ruby maintainers released versions 4.0.10, 3.4.13 and 3.3.14 on November 19 to fix seven security flaws, several of which can allow remote code execution. AI Illustration. Upload story photo >

The Ruby maintainers released Ruby 4.0.10, 3.4.13 and 3.3.14 to fix seven security vulnerabilities in the regular expression engine and string case-conversion code. The advisory, published November 19, 2026, at 00:00 UTC, notes that several flaws can allow remote code execution.

Why it matters

Applications that compile attacker-supplied regular expression patterns could be exposed to code execution until they are updated. Ruby maintainers said they know of proof-of-concept demonstrations that achieved code execution in some scenarios, though the advisory describes research demonstrations rather than confirmed attacks on production systems.

The advisory covers seven flaws, including a one-byte write beyond reserved output memory and a double-free during regular expression compilation, across the 3.3, 3.4 and 4.0 release lines. Formal CVE identifiers had not been assigned at publication.

The players

Ruby maintainers

The core developers who maintain the Ruby programming language, an open-source language widely used for web development and scripting.

The details

The flaws sit in the Ruby regular expression engine and string case-conversion code, and several can lead to code execution when an application compiles attacker-supplied patterns. Maintainers described integer overflows, buffer overflows, and out-of-bounds reads and writes, and said the flaws were fixed in the new releases.

Timeline

  1. November 19, 2026, 00:00 UTC: Ruby maintainers publish the security advisory and release 4.0.10, 3.4.13 and 3.3.14.

The Tech Race

Memory-safety flaws in regular expression engines have repeatedly surfaced as a security concern for dynamic languages that let applications compile user-supplied patterns. This advisory adds seven more such flaws to Ruby's regex and case-conversion code, underscoring the risk of processing untrusted input in these components.

Developers running Ruby 3.3, 3.4 or 4.0 applications that compile user-supplied regular expressions should upgrade to the patched releases. Until then, untrusted input passed into pattern compilation or case conversion could expose those systems to code execution.

The takeaway

Any application that accepts user-supplied regular expressions should treat the Ruby 4.0.10, 3.4.13 and 3.3.14 updates as a priority. Verifying which Ruby version is in use is the fastest way to confirm exposure.

Further reading

Explore more Software coverage for context on open-source security patches and developer tools.