https://seclists.org/oss-sec/2026/q4/360: Ruby gexp compilation fixes lated to GitLab's CVE's

Published Oct 23, 2026
·
Updated

Affected Software

1 affected component
Ruby Ruby<4.0.9, <3.4.12, <3.3.13

Frequently Asked Questions

1

Which deployments are realistically exposed to these bugs?

Applications that compile regular expressions supplied by users are exposed, particularly where untrusted patterns are passed to Ruby's Regexp.new. GitLab is specifically identified because it compiles user-provided patterns such as those in CI configuration.

2

What does an attacker need to do to exploit the issue?

An attacker needs a way to supply a specially crafted regular-expression pattern that the target application will compile. The reported issue occurs during regular-expression compilation and can corrupt memory, which GitLab determined could be turned into remote code execution on its servers.

3

What versions contain the Ruby fixes?

Ruby 4.0.9, 3.4.12, and 3.3.13 contain fixes for the underlying regular-expression engine bugs. GitLab also addressed the issues in its own releases by patching the Ruby version it ships.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203