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