RUBY RELEASES 4.0.9, 3.4.12 AND 3.3.13 TO FIX THREE ONIGMO REGEX ENGINE MEMORY CORRUPTION BUGS THAT COULD ENABLE REMOTE CODE EXECUTION
Ruby fixes three regex engine bugs linked to remote code execution risks Ruby has released versions 4.0.9, 3.4.12 and 3.3.13 to address three memory corruption bugs in its Onigmo regular expression engine. ⠀ The flaws involve a double free and two integer overflow conditions. GitLab found that specially crafted regex patterns could trigger the bugs and potentially allow remote code execution. Four GitLab vulnerabilities rely on the underlying issues: • CVE-2026-89078 • CVE-2026-93577 • CVE-2026-97229 • CVE-2026-110264 ⠀ Applications are only exposed when they compile regular expressions from attacker-controlled input. Ruby warns that Regexp.timeout and pattern length limits do not reliably prevent exploitation. Administrators should update to Ruby 4.0.9, 3.4.12 or 3.3.13 and avoid compiling untrusted regex patterns if an immediate upgrade is not possible.