CVE-2023-6159

published 26 Jan 2024 · updated 14 Aug 2026

Inefficient Regular Expression Complexity in GitLab

7.5HighCVSS 6.5EPSS 1%2 public exploits

2 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in GitLab 16.6.6, GitLab 16.7.4 and GitLab 16.8.1.

An issue has been discovered in GitLab CE/EE affecting all versions from 12.7 prior to 16.6.6, 16.7 prior to 16.7.4, and 16.8 prior to 16.8.1 It was possible for an attacker to trigger a Regular Expression Denial of Service via a `Cargo.toml` containing maliciously crafted input.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GitLabGitLab>=12.7 <16.6.6, >=16.7 <16.7.4, >=16.8 <16.8.116.6.6, 16.7.4, 16.8.1

Exploit evidence

2 public sources

Vendor advisories

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in GitLab, strongest first

10.0CriticalPublic exploit

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-6159 severity on Zeptric[![CVE-2023-6159](https://zeptric.io/badge/cve/CVE-2023-6159.svg)](https://zeptric.io/cve/CVE-2023-6159)