USN-9303-1: Git vulnerabilities

Published Dec 1, 2026
·
Updated

It was discovered that Git did not properly sanitize messages received from remote repositories before displaying them in the terminal. An attacker could possibly use this issue to display misleading information and trick users into executing arbitrary commands. (CVE-2024-52005) It was discovered that Git incorrectly calculated buffer sizes when performing certain three-way merge operations. An attacker could possibly use this issue to trigger a heap buffer overflow, resulting in a denial of service or potentially arbitrary code execution. (CVE-2026-105437) It was discovered that Git incorrectly handled symbolic links when recursively cloning repositories with submodules. An attacker could possibly use this issue to cause malicious Git hooks or configurations to be processed, resulting in arbitrary code execution. (CVE-2026-111760)

Affected Software

6 affected componentsFixes available
All of the following
ubuntu/git<1:2.53.0-1ubuntu1.2
1:2.53.0-1ubuntu1.2
Ubuntu Ubuntu=26.04
All of the following
ubuntu/git<1:2.43.0-1ubuntu7.5
1:2.43.0-1ubuntu7.5
Ubuntu Ubuntu=24.04
All of the following
ubuntu/git<1:2.34.1-1ubuntu1.20
1:2.34.1-1ubuntu1.20
Ubuntu Ubuntu=22.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/git to a version that resolves this vulnerability.

    Fixed in 1:2.53.0-1ubuntu1.2
  2. Upgrade

    Upgrade ubuntu/git to a version that resolves this vulnerability.

    Fixed in 1:2.43.0-1ubuntu7.5
  3. Upgrade

    Upgrade ubuntu/git to a version that resolves this vulnerability.

    Fixed in 1:2.34.1-1ubuntu1.20

Event History

Dec 1, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What user actions create the most immediate exposure?

Exposure arises when users display messages from remote repositories in a terminal, perform certain three-way merge operations, or recursively clone repositories containing submodules. The recursive-clone issue can cause malicious hooks or configuration to be processed.

2

What could an attacker achieve?

The terminal-message issue can mislead users into executing commands. The merge issue can cause a denial of service or potentially arbitrary code execution, while the recursive submodule-clone issue can result in arbitrary code execution.

3

What is required for exploitation?

An attacker would need to supply or control a remote repository involved in the affected Git operation. For the terminal-message issue, successful command execution also depends on tricking the user into acting on misleading terminal output.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203