GitLab Patches Git Heap Overflow That Could Enable Command Execution in Gitaly
Vulnerability Disclosure · 7 sources · Updated 6d ago · First seen Nov 10, 2026

GitLab released Community Edition and Enterprise Edition versions 19.5.4, 19.4.6, and 19.3.8 to address CVE-2026-105437, a heap-based buffer overflow in bundled Git. Size calculations for very large merge results can overflow, producing an undersized buffer and out-of-bounds heap writes; under certain conditions, the flaw could allow arbitrary command execution within GitLab’s Gitaly environment. GitLab credited researcher taise with reporting the vulnerability through its HackerOne bug bounty program. Amazon Linux rates the vulnerability Important, with a CVSS v3 score of 7.5, and lists fixes as pending for Amazon Linux 2, Amazon Linux 2023, and Amazon Linux 2027 Preview.
GitLab strongly recommends immediately upgrading affected self-managed installations; GitLab.com and GitLab Dedicated are already patched and require no customer action. Official GitLab Linux packages and container images include patched Git, while self-compiled deployments require additional steps to rebuild the Git binaries used by Gitaly and GitLab or install appropriately patched distribution packages. The releases contain no new migrations and should not require downtime for multi-node deployments, although Omnibus packages restart services by default during upgrades.


