# CVE-2023-5825: Loop with Unreachable Exit Condition ('Infinite Loop') in GitLab

- Severity: Medium 6.5 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-11-06T10:30:38.334Z
- Modified: 2026-09-08T08:47:43.318Z
- Also known as: BIT-GITLAB-2023-5825
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitLab

## Description

An issue has been discovered in GitLab CE/EE affecting all versions starting from 16.2 before 16.3.6, all versions starting from 16.4 before 16.4.2, all versions starting from 16.5 before 16.5.1. A low-privileged attacker can point a CI/CD Component to an incorrect path and cause the server to exhaust all available memory through an infinite loop and cause Denial of Service.

(As written by CVE List.)

## Affected

- GitLab GitLab: from 16.2 before 16.3.6; from 16.4 before 16.4.2; from 16.5 before 16.5.1; from 16.2.0 before 16.3.6; from 16.4.0 before 16.4.2; 16.5.0
- gitlab (Bitnami): from 16.2.0 before 16.3.6; from 16.4.0 before 16.4.2; from 16.5.0 before 16.5.1

## Every score

- GitLab: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://hackerone.com/reports/2218566> (exploit, permissions-required, technical-description, web)
- <https://gitlab.com/gitlab-org/gitlab/-/issues/428984> (advisory, issue-tracking, permissions-required, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-5825> (web)

## Sources

- CVE List: [CVE-2023-5825](https://www.cve.org/CVERecord?id=CVE-2023-5825), CVE Terms of Use, modified 2026-04-29
- NVD: [CVE-2023-5825](https://nvd.nist.gov/vuln/detail/CVE-2023-5825), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITLAB-2023-5825](https://osv.dev/vulnerability/BIT-GITLAB-2023-5825), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-5825 · Whole record: https://cve.day/CVE-2023-5825.json · Rebuilt by cve.day 2026-11-25T22:58:30.066Z
