# Multiple Vulnerabilities in GitLab Products (GovCERT.HK A26-11-62) incl. PoC-Reported RCE via Git Heap Overflow CVE-2026-105437

> GovCERT.HK issued a High Threat alert for 15 CVEs fixed in GitLab CE/EE 19.6.2, 19.5.9 and 19.4.11, reporting that PoC code exists for CVE-2026-105437. That CVE is a heap buffer overflow in Git's three-way merge code, which GitLab rates Critical because it could allow command execution in the Gitaly environment.

- **Published:** 2026-11-28T03:48:21Z
- **Last reviewed:** 2026-11-28T03:48:21Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7004
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7004.png
- **ID:** TL-2026-7004
- **Severity:** HIGH (CVSS 7.5)
- **Category:** VULNERABILITY
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 6
- **CVEs:** CVE-2026-16744, CVE-2026-17194, CVE-2026-81336, CVE-2026-105437, CVE-2026-107633, CVE-2026-119452, CVE-2026-129975, CVE-2026-129982, CVE-2026-131867, CVE-2026-132102, CVE-2026-132156, CVE-2026-132794, CVE-2026-132822, CVE-2026-135221, CVE-2026-135636

## Description

GitLab released patch release 19.6.2 / 19.5.9 / 19.4.11 (plus 19.3.10, 19.2.11, 19.1.11, 19.0.12, 18.11.15) on 2026-11-25. GovCERT.HK (A26-11-62, 2026-11-27) and HKCERT (2026-11-26) amplified it. The GovCERT.HK alert lists 15 CVEs and says successful exploitation could lead to remote code execution, denial of service, elevation of privilege, information disclosure or tampering. It states that reports indicate PoC exploit code is available for the RCE CVE-2026-105437, but it names no PoC source. During this research no public PoC repository was located. A HackerOne report (#4044249) is referenced by the CVE record, and its contents were not verified. No source states in-the-wild exploitation, and no actor attribution or network IOCs are published.

CVE-2026-105437 is an upstream Git bug ("Heap corruption during large merges", CWE-122), fixed in Git 2.56.1 and backports 2.55.1, 2.54.1, 2.53.1, 2.52.1, 2.51.3 and 2.50.2 (released 2026-11-10). In libxdiff's three-way merge code (xdl_fill_merge_buffer), the merge output size is accumulated in a 32-bit signed int. The conflict-marker-size attribute, which can be supplied by a committed .gitattributes file, accepts any positive int and is added several times per conflict. A file with many conflicts and a huge marker size can therefore wrap the total to a small positive value. malloc() then succeeds with an undersized buffer, and writes run past the end and before the start of it. A negative total only causes a spurious allocation failure and is not exploitable. Any textual three-way merge can trigger the bug: git merge, rebase, cherry-pick and merge-tree. The oss-security post names git merge-tree as the likely forge target. When a server reads attributes from trees (attr.tree or --attr-source), any user who can push a branch and request a merge can trigger it. The upstream advisory says GitLab could be escalated to remote code execution via the Git process Gitaly spawns for mergeability checks. This is described as a possibility, not an observed exploit. GitLab rates the issue Critical and lists affected GitLab versions as 16.2 before 19.3.8, 19.4 before 19.4.6, and 19.5 before 19.5.4. It was reported via HackerOne by 'taise'. Mend lists CVSS v3 7.5 (AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H) and CVSS v4 7.7 (the vector is reconstructed from the listed components), while GitLab publishes no score on its page.

The other GitLab fixes in the 19.6.2 release are Medium or Low severity: dependency proxy authentication information exposure (CVE-2026-119452, 6.7), on-call rotation API DoS (CVE-2026-132156), Sentry client resource exhaustion DoS (CVE-2026-132822), Service Desk quick-action redaction (CVE-2026-81336), Work Item REST API CI job token scope exposure (CVE-2026-131867), SSRF in the MCP server OAuth token endpoint (CVE-2026-135221), weak hash in the merge request approval reset mechanism (CVE-2026-17194), ReDoS in dependency proxy route matching (CVE-2026-132102), SSRF in the cluster agent URL validator (CVE-2026-16744), incorrect authorization in merge request approval policy (CVE-2026-107633), work items API (CVE-2026-132794) and batch suggestion apply API (CVE-2026-129982), and SSRF in repository import remote Git endpoint validation (CVE-2026-135636, Low). CVE-2026-129975 is a GPGME double free fixed by patching the bundled GPGME, updating the gpgme gem to 2.0.27 and validating OpenPGP input. The release also updates Ruby (regexp/string advisory) and NGINX 1.31.9. GitLab.com is already patched and Dedicated needs no action. Self-managed Linux packages and container images ship the patched Git. Self-compiled installs must update Gitaly and rebuild the Git referenced by git.bin_path. The upstream workaround is to add '* conflict-marker-size=7' to each repository's info/attributes or to disable server-side mergeability checks for untrusted repositories. GitLab published a detection, 'Git merge-tree child process crash', in the gitlab-security-oss/tldr repository. Eleven of the thirteen CVSS-scored table entries require at least low privileges (PR:L), so exposure is highest on self-managed instances that allow user registration or hold untrusted repositories. Per-CVE detail is released 90 days after the patch.

## MITRE ATT&CK

- T1190 Exploit Public-Facing Application
- T1078 Valid Accounts
- T1059 Command and Scripting Interpreter
- T1212 Exploitation for Credential Access
- T1213 Data from Information Repositories
- T1565 Data Manipulation

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**GitLab Gitaly git merge-tree Child Process Crash — CVE-2026-105437 Exploitation Attempt** (`TL-2026-7004-SPL-001`)

Detects a git merge-tree (or merge/rebase/cherry-pick) child process spawned by Gitaly crashing with SIGSEGV/SIGABRT or heap-corruption messages. CVE-2026-105437 is a heap buffer overflow in xdl_fill_merge_buffer (CWE-122) triggered by an oversized conflict-marker-size from a committed .gitattributes; a failed exploit attempt typically crashes the git process Gitaly spawns for the mergeability check. This mirrors GitLab's published 'Git merge-tree child process crash' detection and is the highest-fidelity exploitation signal for self-managed instances before 19.6.2 / 19.5.9 / 19.4.11.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1190, T1499
- **Data sources:** gitaly, gitlab_gitaly_log
- **Severity:** high
- **Confidence:** high

### Splunk SPL

````spl
index=gitlab sourcetype="gitlab:gitaly" earliest=-24h ("merge-tree" OR "xdl_fill_merge_buffer" OR "git merge" OR "rebase" OR "cherry-pick") ("signal: segmentation fault" OR "signal: aborted" OR "SIGSEGV" OR "SIGABRT" OR "malloc(): corrupted" OR "corrupted size" OR "double free")
```CVE-2026-105437 heap overflow in xdl_fill_merge_buffer: crash of the git child spawned by Gitaly```
| eval repo=coalesce('grpc.request.glProjectPath', 'grpc.request.repoPath', "unknown"), grpc_method='grpc.method'
| stats count AS crashes earliest(_time) AS first_seen latest(_time) AS last_seen values(grpc_method) AS grpc_methods values(repo) AS repos BY host
| where crashes>=1
| convert ctime(first_seen) ctime(last_seen)
````

### Microsoft KQL

```kql
Syslog
| where TimeGenerated > ago(24h)
| where ProcessName in~ ("gitaly", "gitaly-git", "git") or SyslogMessage has "gitaly"
| where SyslogMessage has_any ("merge-tree", "xdl_fill_merge_buffer", "git merge", "rebase", "cherry-pick")
| where SyslogMessage has_any ("signal: segmentation fault", "signal: aborted", "SIGSEGV", "SIGABRT", "corrupted size", "double free")
| summarize Crashes = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by Computer, ProcessName
| project Computer, ProcessName, Crashes, FirstSeen, LastSeen
```

### Sigma

```yaml
title: GitLab Gitaly git merge-tree Child Process Crash (CVE-2026-105437)
id: 3b0c1a52-7d4e-4f8a-9a61-0c5e2d7a1b01
status: experimental
description: Detects a git merge-tree/merge/rebase/cherry-pick child process spawned by Gitaly crashing (SIGSEGV/SIGABRT/heap corruption), the expected symptom of an attempt to exploit the xdl_fill_merge_buffer integer wrap in CVE-2026-105437.
references:
    - https://www.openwall.com/lists/oss-security/2026/11/11/10
    - https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-5-4-released/
    - https://www.govcert.gov.hk/en/alerts_detail.php?id=2217
author: Threadlinqs Team
date: 2026/11/28
tags:
    - attack.initial-access
    - attack.t1190
    - attack.impact
    - attack.t1499
    - cve.2026.105437
logsource:
    product: gitlab
    service: gitaly
detection:
    keywords_cmd:
        - 'merge-tree'
        - 'xdl_fill_merge_buffer'
    keywords_crash:
        - 'signal: segmentation fault'
        - 'signal: aborted'
        - 'SIGSEGV'
        - 'SIGABRT'
        - 'corrupted size'
        - 'double free'
    condition: keywords_cmd and keywords_crash
falsepositives:
    - Unrelated git bugs or out-of-memory kills on very large merges
    - Disk or memory pressure on the Gitaly node
level: high

```

**Known false positives:**

- Unrelated git bugs or OOM kills during very large legitimate merges
- Gitaly node under memory or disk pressure
- Security testing of patched instances with the public PoC

**Tuning notes:** Assumes Gitaly JSON logs are indexed as index=gitlab sourcetype=gitlab:gitaly (adjust to your naming). Correlate hits with the pushing user and repository, then inspect the repo's default-branch .gitattributes for huge conflict-marker-size values. Suppress hosts only after confirming they run 19.6.2 / 19.5.9 / 19.4.11 or have '* conflict-marker-size=7' in info/attributes.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- Git Invoked With Attribute-Source Override or Oversized Marker Size — CVE-2026-105437 Trigger Preparation (locked: unlock with TL Creds)
- Repository [indicator] Modified by Non-Gitaly Process — conflict-marker-size Mitigation Tamper or Injection (locked: unlock with TL Creds)
- Outbound Connection From Shell or Download Tool Spawned by Git/Gitaly — Reverse Shell or Payload Staging (locked: unlock with TL Creds)
- Kernel Segfault in git Process on GitLab Host — Memory Corruption Exploitation Indicator (locked: unlock with TL Creds)
- GitLab API Token Created for Another User via Admin Endpoint — Valid Account Abuse and Privilege Escalation (locked: unlock with TL Creds)
- Bulk Repository Download by a Single GitLab Account — Source Code Collection via Valid Accounts (locked: unlock with TL Creds)
- Shell or Download Tool Spawned by Git/Gitaly — Post-Exploitation Command Execution (CVE-2026-105437) (locked: unlock with TL Creds)
- GitLab SSRF Probe — Import, Cluster Agent or MCP OAuth URL Targeting Internal or Metadata Addresses (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sources

- [GovCERT.HK High Threat Security Alert (A26-11-62): Multiple Vulnerabilities in Gitlab Products](https://www.govcert.gov.hk/en/alerts_detail.php?id=2217)
- [HKCERT Security Bulletin: GitLab Multiple Vulnerabilities](https://www.hkcert.org/security-bulletin/gitlab-multiple-vulnerabilities_20261126)
- [GitLab Patch Release: 19.6.2, 19.5.9, 19.4.11, 19.3.10, 19.2.11, 19.1.11, 19.0.12, 18.11.15](https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-6-2-released/)
- [GitLab Critical Patch Release: 19.5.4, 19.4.6, 19.3.8](https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-5-4-released/)
- [Git security vulnerabilities announced (Git 2.56.1)](https://github.blog/security/vulnerability-research/git-security-vulnerabilities-announced-7/)
- [oss-security: Heap buffer overflow in the three-way merge code (CVE-2026-105437)](https://www.openwall.com/lists/oss-security/2026/11/11/10)
- [Mend.io Vulnerability Database: CVE-2026-105437](https://www.mend.io/vulnerability-database/CVE-2026-105437/)
- [Debian Security Tracker: CVE-2026-105437](https://security-tracker.debian.org/tracker/CVE-2026-105437)
- [HackerOne Report #4044249 (referenced by CVE record)](https://hackerone.com/reports/4044249)
- [GitLab Git work item 814 (CVE-2026-105437)](https://gitlab.com/gitlab-org/git/-/work_items/814)
- [NVD: CVE-2026-105437](https://nvd.nist.gov/vuln/detail/CVE-2026-105437)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7004
