cve.bz

CVE-2026-97229 GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound Vulnerability

10.0 criticalKEVExploitEPSS 69%

Critical (10.0) in GitLab Community Edition and Enterprise Edition. In CISA KEV since 2026-10-29. EPSS 69% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

10.0 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
69% (unchanged from 65% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2026-10-29, due 2026-11-01
CISA's assessment (SSVC)
Exploitation: active · Automatable: yes · Technical impact: total, assessed 2026-10-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-97229 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-97229?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-97229?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-97229 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-97229

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-97229](https://cve.bz/cve/badge/CVE-2026-97229.svg)](https://cve.bz/cve/CVE-2026-97229)

HTML:

<a href="https://cve.bz/cve/CVE-2026-97229"><img src="https://cve.bz/cve/badge/CVE-2026-97229.svg" alt="CVE-2026-97229"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
GitLabfrom 19.2 before 19.2.8
GitLabfrom 19.3 before 19.3.5
GitLabfrom 19.4 before 19.4.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12ruby3.1no fix listedDEBIAN-CVE-2026-97229
Debian13ruby3.33.3.13-0+deb13u1DEBIAN-CVE-2026-97229
Debian14ruby3.3no fix listedDEBIAN-CVE-2026-97229
Ubuntu16.04:LTSgitlabno fix listedUBUNTU-CVE-2026-97229
Red Hatenterprise_linux:9::appstreamruby, ruby-doc, ruby-libs and 7 more0:3.3.13-10.module+el9.8.0+25291+d44bc40fRHSA-2026:96068
Red Hatenterprise_linux:9::appstreamruby, ruby-doc, ruby-libs and 7 more0:4.0.9-36.module+el9.8.0+25290+d0128763RHSA-2026:96120
Red Hatenterprise_linux:9::appstreamruby, ruby-libs, ruby-devel and 4 more0:3.0.7-170.el9_8RHSA-2026:96067
Red Hatenterprise_linux:9::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:3.0.0-170.el9_8RHSA-2026:96067
Red Hatenterprise_linux:9::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:3.1.5-10.module+el9.8.0+25291+d44bc40fRHSA-2026:96068
Red Hatenterprise_linux:9::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:4.0.1-36.module+el9.8.0+25290+d0128763RHSA-2026:96120
Red Hatenterprise_linux:9::appstreamrubygem-bundler0:2.2.33-170.el9_8RHSA-2026:96067
Red Hatenterprise_linux:9::appstreamrubygem-bundler0:2.5.22-10.module+el9.8.0+25291+d44bc40fRHSA-2026:96068
Red Hatenterprise_linux:9::appstreamrubygem-io-console, rubygem-io-console-debuginfo0:0.5.7-170.el9_8RHSA-2026:96067
Red Hatenterprise_linux:9::appstreamrubygem-io-console, rubygem-io-console-debuginfo0:0.7.1-10.module+el9.8.0+25291+d44bc40fRHSA-2026:96068
Red Hatenterprise_linux:9::appstreamrubygem-io-console, rubygem-io-console-debuginfo0:0.8.2-36.module+el9.8.0+25290+d0128763RHSA-2026:96120
Red Hatenterprise_linux:9::appstreamrubygem-irb0:1.13.1-10.module+el9.8.0+25291+d44bc40fRHSA-2026:96068
71 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedruby4.04.0.9-1.1openSUSE-SU-2026:12252-1
AlmaLinux9ruby, ruby-doc, ruby-libs and 2 more3.0.7-170.el9_8ALSA-2026:96067
AlmaLinux9rubygem-bigdecimal3.0.0-170.el9_8ALSA-2026:96067
AlmaLinux9rubygem-bundler2.2.33-170.el9_8ALSA-2026:96067
AlmaLinux9rubygem-io-console0.5.7-170.el9_8ALSA-2026:96067
AlmaLinux9rubygem-irb1.3.5-170.el9_8ALSA-2026:96067
AlmaLinux9rubygem-json2.5.1-170.el9_8ALSA-2026:96067
AlmaLinux9rubygem-minitest5.14.2-170.el9_8ALSA-2026:96067
AlmaLinux9rubygem-mysql2, rubygem-mysql2-doc0.5.5-3.module_el9.7.0+184+e2e36072ALSA-2026:96068
AlmaLinux9rubygem-mysql2, rubygem-mysql2-doc0.5.7-1.module_el9.8.0+232+50f6dd36ALSA-2026:96120
AlmaLinux9rubygem-pg, rubygem-pg-doc1.5.4-2.module_el9.7.0+245+447713a2ALSA-2026:96068
AlmaLinux9rubygem-pg, rubygem-pg-doc1.6.3-1.module_el9.8.0+232+50f6dd36ALSA-2026:96120
AlmaLinux9rubygem-power_assert1.2.1-170.el9_8ALSA-2026:96067
30 more for AlmaLinux in the JSON.
Rocky Linux9ruby0:3.0.7-170.el9_8RLSA-2026:96067
Rocky Linux9rubygem-mysql20:0.5.5-3.module+el9.7.0+40032+36e56d0dRLSA-2026:96068
Rocky Linux9rubygem-mysql20:0.5.7-1.module+el9.8.0+40094+ce01217cRLSA-2026:96120
Rocky Linux9rubygem-pg0:1.5.4-2.module+el9.7.0+40188+314ad260.0.1RLSA-2026:96068
Rocky Linux9rubygem-pg0:1.6.3-1.module+el9.8.0+40094+ce01217cRLSA-2026:96120
Rocky Linux10ruby0:3.3.13-16.el10_2RLSA-2026:96235
Rocky Linux10ruby4.00:4.0.9-38.el10_2RLSA-2026:96233
Alpinev3.21ruby3.3.13-r0ALPINE-CVE-2026-97229
Alpinev3.22, v3.23, v3.24ruby3.4.12-r0ALPINE-CVE-2026-97229
Azure Linux3ruby3.3.13-0AZL-111074
Alpaquita23ruby3.3.13-r0BELL-CVE-2026-97229
Alpaquita25, streamruby3.4.12-r0BELL-CVE-2026-97229

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

Red Hat has rated the impact of these flaws as Moderate for the Ruby packages shipped in Red Hat Enterprise Linux. The Ruby packages provide a language interpreter and standard library and do not accept external input on their own; these flaws are reachable only when an application compiles a regular expression constructed from attacker-controlled input.

Upstream Ruby has published a security advisory for these issues and scopes the flaws narrowly, stating that they "are reached only when an application compiles a regular expression from a string that an attacker controls, for example by passing it to Regexp.new, Regexp.union or Regexp.compile", and that "applications that only use regular expressions written by their own developers are not affected". Upstream further notes that Ruby "has generally considered it unsafe to compile and use a regular expression created from untrusted input".

The CVE identifiers for these flaws were assigned by GitLab, where the issues were originally reported and where remote code execution was demonstrated against GitLab's own application. Ruby did not request separate identifiers and has asked downstream distributors to track these issues under GitLab's CVE IDs.

Red Hat's mitigation

To mitigate this vulnerability, do not compile regular expressions from untrusted sources. Standard safeguards such as Regexp.timeout or limiting the length of the input pattern do not protect against this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9ruby-0:3.0.7-170.el9_8Fixed 2026-11-09RHSA-2026:96067
Red Hat Enterprise Linux 9ruby:3.3-9080020261105110750.9Fixed 2026-11-09RHSA-2026:96068
Red Hat Enterprise Linux 9ruby:4.0-9080020261105110139.9Fixed 2026-11-09RHSA-2026:96120
Red Hat Satellite 6.16 for RHEL 8openvox-agent-0:8.32.0-1.el8satFixed 2026-11-05RHSA-2026:95655
Red Hat Satellite 6.16 for RHEL 8python-pyyaml-0:6.0.1-1.el8pcFixed 2026-11-05RHSA-2026:95655
Red Hat Satellite 6.16 for RHEL 9openvox-agent-0:8.32.0-1.el9satFixed 2026-11-05RHSA-2026:95655
Red Hat Satellite 6.16 for RHEL 9python-pyyaml-0:6.0.1-1.el9pcFixed 2026-11-05RHSA-2026:95655
Red Hat Satellite 6.17 for RHEL 9openvox-agent-0:8.32.0-1.el9satFixed 2026-11-05RHSA-2026:95656
Red Hat Satellite 6.18 for RHEL 9openvox-agent-0:8.32.0-1.el9satFixed 2026-11-05RHSA-2026:95657
Red Hat Satellite 6.19 for RHEL 9openvox-agent-0:8.32.0-1.el9satFixed 2026-11-05RHSA-2026:95652
Red Hat Hardened Imagesruby3-4-main-3.4.12-33.1.hum1Fixed 2026-10-23RHSA-2026:88861
Red Hat Enterprise Linux 10rubyAffected
Red Hat Enterprise Linux 10ruby4.0Affected
Red Hat Enterprise Linux 6rubyAffected
Red Hat Enterprise Linux 7rubyAffected
Red Hat Enterprise Linux 8ruby:2.5/rubyAffected
Red Hat Enterprise Linux 8ruby:3.3/rubyAffected
Red Hat Hardened Imageshi/rubyNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Not affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Not affected
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-97229.

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

  • jburgess-r7/CVE-2026-97229-PoC Harbor Check: matches CVE 65 stars, Python, created
    GitLab CI lint integer-overflow RCE PoC for CVE-2026-97229, validated against the official 19.4.1 CE amd64 image
  • gandli/cve-2026-97229-lab Harbor Check: matches CVE 2 stars, C, created
    CVE-2026-97229 GitLab CI lint regex integer overflow RCE — InstaBox version matrix reproduction & libruby gadget reverse engineering
  • Noshadi-sec/CVE-2026-97229 Harbor Check: matches CVE 1 star, Python, created
    CVE-2026-97229 an external exploit for GitLab CI lint regex RCE. It is used only against a live GitLab target with permission. It creates a…
  • emc-kk/cve-2026-97229-lab Harbor Check: matches CVE 0 stars, C, created
    CVE-2026-97229 lab — Onigmo repeat integer overflow RCE (GitLab CE 19.2–19.4)
  • AmpedWasTaken/CVE-2026-97229-GitLab-CI-CD-Regex-Compiler-RCE 1 star, Python, created
    CVE-2026-97229 — GitLab CI/CD Regex Compiler RCE
3 more

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON