Skip to content
High

Ruby regexp memory bugs fixed in alt-ruby packages

Four memory-corruption flaws in Ruby's regexp engine are patched in alt-ruby. Only apps that compile regexps from attacker-controlled text are exposed.

27 Oct 2026 10:05 pm IST Security Luveedu Cloud CloudLinux Blog
Share

Ruby has fixed four memory-corruption bugs in its regular expression engine, and the alt-ruby packages now carry the fix. The affected Ruby versions are 4.0.9, 3.4.12 and 3.3.13, published on 23 October 2026.

The bugs are reached only when an application compiles a regular expression from text an attacker controls. GitLab showed this can lead to remote code execution.

If your code builds regexps from user input, update alt-ruby to the fixed versions. Applications that use fixed patterns are not exposed.

SourceCloudLinux Blog

One account. Every service.

Built for the whole stack, not just the website.

Hosting, domains, email, DNS and security. One account, one support team, no handoffs.

Hosting Shared, cloud and VPS
Domains Register, transfer, renew
Email Business mail and security
DNS and security Anycast, SSL and WAF

Every service under one login.