CVE-2023-5825
GitLab vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2023-5825) was discovered in GitLab CE/EE affecting versions 16.2 through 16.5.1. The vulnerability was identified in GitLab's CI/CD component functionality, where a low-privileged attacker could trigger a Denial of Service condition. The issue was discovered and reported through GitLab's HackerOne bug bounty program by researcher blakbat, and was subsequently patched in versions 16.3.6, 16.4.2, and 16.5.1 released on October 31, 2023 (GitLab Release).

Technical details

The vulnerability is classified as a medium severity issue with a CVSS v3.1 base score of 6.5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H). The technical root cause involves an infinite loop condition (CWE-835) that occurs when a CI/CD component is pointed to an incorrect path, leading to memory exhaustion (NVD).

Impact

When successfully exploited, the vulnerability causes the server to exhaust all available memory through an infinite loop, resulting in a Denial of Service condition. This can lead to system crashes and service unavailability for GitLab instances (GitLab Release).

Mitigation and workarounds

GitLab has addressed this vulnerability in versions 16.3.6, 16.4.2, and 16.5.1. Organizations running affected versions are strongly recommended to upgrade to the patched versions immediately. GitLab.com was reported to be already running the patched version at the time of the security release (GitLab Release).

Additional resources


SourceThis report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-9222HIGH8.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-11224HIGH7.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 14, 2026
CVE-2025-13772HIGH7.1
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13781MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-3950LOW3.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management