CVE-2026-97229
ruby: integer overflow issue in CI/CD regular expression compiler
Overview
Description
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2 that, under certain conditions, could have allowed an unauthenticated user to execute arbitrary code on the GitLab server via a specially crafted regular expression in a CI/CD configuration, due to insufficient regular expression validation.
Source: OX vulnerability database
Severity
10 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness: CWE-190
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | gitlab | >=19.2.0, <19.2.8>=19.3.0, <19.3.5>=19.4.0, <19.4.2 | 19.2.819.3.519.4.2 |
| Bitnami | ruby | >=3.3.0, <3.3.13>=3.4.0, <3.4.12>=4.0.0, <4.0.8 | 3.3.133.4.124.0.8 |
| Bitnami | ruby-min | >=3.3.0, <3.3.13>=3.4.0, <3.4.12>=4.0.0, <4.0.8 | 3.3.133.4.124.0.8 |
Open a package to see all its vulnerabilities.
Operating systems · 226 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | ruby | 0:3.3.13-0.azl3 |
Red Hat 6 releases · 21 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | ruby +14 | affected | — |
| 7 | openvox-agent | affected | — |
| 8 (ruby:2.5) | ruby +39 | affected | — |
| 8 (ruby:3.3) | ruby +39 | affected | — |
| 9 | rubygem-typeprof | 0:0.15.2-170.el9_8 | RHSA-2026:96067 |
| 9 | rubygem-rss | 0:0.2.9-170.el9_8 | RHSA-2026:96067 |
54 more rows
alma 4 releases · 21 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | rubygem-typeprof | 0.21.9-16.el10_2 |
| 10 | rubygem-rss | 0.3.1-16.el10_2 |
| 10 | rubygem-irb | 1.13.1-16.el10_2 |
| 10 | rubygem-rake | 13.1.0-16.el10_2 |
| 10 | rubygem-power-assert | 2.0.3-16.el10_2 |
| 10 | rubygem-bundler | 2.5.22-16.el10_2 |
28 more rows
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | ruby | 3.4.12-r0 |
| 3.23 | ruby | 3.4.12-r0 |
| 3.24 | ruby | 3.4.12-r0 |
| edge | ruby | 3.4.12-r0 |
amazon linux 1 release · 34 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | ruby3-4-rubygem-rss | 0.3.1-27.amzn2023.0.8 |
| 2023 | ruby4-0-rubygem-rss | 0.3.2-32.amzn2023.0.5 |
| 2023 | ruby3-4-rubygem-typeprof | 0.30.1-27.amzn2023.0.8 |
| 2023 | ruby4-0-rubygem-typeprof | 0.31.1-32.amzn2023.0.5 |
| 2023 | ruby3-4-rubygem-io-console +1 | 0.8.1-27.amzn2023.0.8 |
| 2023 | ruby4-0-rubygem-io-console +1 | 0.8.2-32.amzn2023.0.5 |
28 more rows
chainguard 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| gitlab-runner-19-2 +5 | not affected | |
| ruby-3-3 | 3.3.12-r10 | |
| ruby-3-4 | 3.4.11-r5 | |
| ruby-4-0 | 4.0.7-r6 |
debian 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 12 | ruby3-1 | affected |
| 13 | ruby3-3 | 3.3.13-0+deb13u1 |
| 14 | ruby3-3 | affected |
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby3-1 | affected | |
| ruby3-3 | 3.3.13-0+deb13u1 |
minimos 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| gitlab-cng-19-2 +2 | 19.2.8-r0 | |
| gitlab-cng-19-3 +2 | 19.3.5-r0 | |
| gitlab-cng-19-4 +2 | 19.4.2-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libruby4-0-4-0 +5 | 4.0.9-1.1 | openSUSE-SU-2026:12252-1 |
rocky 4 releases · 23 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | rubygem-typeprof | 0.21.9-16.el10_2 |
| 10 | rubygem-rss | 0.3.1-16.el10_2 |
| 10 | ruby4-0-rubygem-mysql2 | 0.5.7-38.el10_2 |
| 10 | rubygem-io-console | 0.7.1-16.el10_2 |
| 10 | rubygem-irb | 1.13.1-16.el10_2 |
| 10 | ruby4-0-rubygem-pg | 1.6.3-38.el10_2 |
70 more rows
wolfi 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| gitlab-runner-19-2 +1 | not affected | |
| ruby-3-3 | 3.3.12-r10 | |
| ruby-3-4 | 3.4.11-r5 | |
| ruby-4-0 | 4.0.7-r6 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:96120
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:96233
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-97229
- bugzilla.redhat.com https://bugzilla.redhat.com/2539842
- bugzilla.redhat.com https://bugzilla.redhat.com/2550153
- bugzilla.redhat.com https://bugzilla.redhat.com/2558632
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2539842
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2550153
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2558632
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
Show all 27 references
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-110264
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-93577
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-97229
- docs.gitlab.com https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released/
- errata.almalinux.org https://errata.almalinux.org/10/ALSA-2026-96233.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:96120
- github.com https://github.com/rapid7/metasploit-framework/pull/22017
- gitlab.com https://gitlab.com/gitlab-org/gitlab/-/work_items/630686
- hackerone.com https://hackerone.com/reports/4055749
- hackerone.com https://hackerone.com/reports/4058589
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-97229.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-96235.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-97229
- www.cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- www.cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-97229
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-97229
- www.ruby-lang.org https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.