Back to the blog

Ruby fixes seven vulnerabilities in regex and string conversion

Ruby security updates fix seven vulnerabilities in the regex engine and in uppercase and lowercase conversion functions. For six of them, the vendor says it is aware of proofs of concept demonstrating scenarios that could lead to code execution or memory corruption.

Analysis

Updates published by Ruby fix seven vulnerabilities in the regular expression engine and in uppercase/lowercase conversion functions. For six of them, the vendor says it is aware of proofs of concept demonstrating the possibility of arbitrary code execution or memory corruption in specific scenarios. Among these, CVE-2026-132825 concerns insufficient buffer bounds checking when the character «ß» is converted to «SS».

Affected software and versions

SoftwareAffected versionsRelated CVEs
ruby-lang Ruby>= 4.0.0; < 4.0.10CVE-2026-132825
ruby-lang Ruby>= 3.4.0; < 3.4.13CVE-2026-132825
ruby-lang Ruby< 3.3.14CVE-2026-132825