---
id: CVE-2026-118237
title: >-
  Out-of-bounds read vulnerability in GitHub Enterprise Server allowed
  disclosure of process memory in the Git service
summary: >-
  An out-of-bounds read vulnerability was identified in GitHub Enterprise Server
  in the Git service (babeld). When proving possession of a host key, babeld's
  SSH implementation sized the session identifier by the current digest length
  rath…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'
cvssSource: cna
cwe:
  - CWE-125
vendor: GitHub
product: Enterprise Server
affected:
  - enterprise_server >= 3.19.0 < 3.19.*
  - enterprise_server >= 3.20.0 < 3.20.*
  - enterprise_server >= 3.21.0 < 3.21.*
  - enterprise_server >= 3.22.0 < 3.22.*
published: '2026-11-03'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T22:51:42.155Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-118237'
references:
  - url: >-
      https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.14
  - url: >-
      https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.10
  - url: >-
      https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.8
  - url: >-
      https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.3
tags:
  - cve.org
epss: 0.00268
epssPercentile: 0.19034
ingestedAt: '2026-11-05T20:33:06.608Z'
---

## Overview

An out-of-bounds read vulnerability was identified in GitHub Enterprise Server in the Git service (babeld). When proving possession of a host key, babeld's SSH implementation sized the session identifier by the current digest length rather than its own. An attacker with an account and SSH access could re-key to an algorithm with a longer hash, causing adjacent process memory to be signed and returned to the client, where a limited amount of it may be recoverable. This vulnerability affected all releases prior to 3.23 and was fixed in versions 3.22.3, 3.21.8, 3.20.10, and 3.19.14. This vulnerability was reported via the GitHub Bug Bounty program.

## Affected

- `enterprise_server >= 3.19.0 < 3.19.*`
- `enterprise_server >= 3.20.0 < 3.20.*`
- `enterprise_server >= 3.21.0 < 3.21.*`
- `enterprise_server >= 3.22.0 < 3.22.*`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
