CVE Vulnerabilities

CVE-2025-12983

Memory Allocation with Excessive Size Value

Published: Nov 15, 2025 | Modified: Nov 19, 2025
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 16.9 before 18.3.6, 18.4 before 18.4.4, and 18.5 before 18.5.2 that could have allowed an authenticated attacker to cause a denial of service condition by submitting specially crafted markdown content with nested formatting patterns.

Weakness

The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.

Affected Software

Name Vendor Start Version End Version
Gitlab Gitlab 16.9.0 (including) 18.3.6 (excluding)
Gitlab Gitlab 18.4.0 (including) 18.4.4 (excluding)
Gitlab Gitlab 18.5.0 (including) 18.5.2 (excluding)
Gitlab Ubuntu esm-apps/xenial *

Potential Mitigations

References