Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2024-52005

High · CVSS 7.5EPSS 0.5% First seen December 01, 2026
Vulnerabilities

Research article

Git Improper Encoding Flaw in Sideband Channel (CVE-2024-52005)

CVECVE-2024-52005
PublishedDecember 01, 2026 19:01 UTC
Research cut-offDecember 01, 2026 18:50 UTC
Sources reviewed5: NVD record (last modified 2026-06-17); CISA KEV catalog; vendor advisory page (github.com); FIRST EPSS (2026-12-01); 1 vendor bulletin

Executive summary

CVE-2024-52005 affects multiple Git versions, including those up to 2.40.4 and several later version ranges up to 2.48.1 [1]. The vulnerability, rated HIGH with a CVSS 3.1 score of 8.8, involves improper handling of terminal control sequences in the sideband channel [1]. The reviewed sources do not report exploitation [2]. The sources do not list a fixed version for CVE-2024-52005 [1].

Key points

  • CVE-2024-52005 is a HIGH severity vulnerability in Git, with a CVSS 3.1 score of 8.8 [1].
  • The flaw involves improper handling of terminal control sequences in the sideband channel [3].
  • The vulnerability requires user interaction and has a low attack complexity [1].
  • The impact includes high confidentiality, integrity, and availability risks [1].
  • The reviewed sources do not report exploitation, and no fixed version is listed [2].

Vulnerability identification

FieldValue
CVE IDCVE-2024-52005 [1]
VendorGit [1]
ProductGit [1]
CWECWE-116 [1], CWE-150 [1]
CVSS 4.07.5 HIGH, scored by security-advisories@github.com (Secondary) [1]
CVSS 3.18.8 HIGH, scored by nvd@nist.gov (Primary) [1]
Published2025-01-15T18:15:24 [1]
Last Modified2026-06-17T08:06:47 [1]
Record StatusAnalyzed [1]

Vulnerability description

Git transmits messages from remote servers through a sideband channel, which are displayed as standard error output. These messages may contain control sequences that terminals can interpret, potentially enabling malicious actions [3]. The flaw involves improper handling of escape sequences in terminal output, which could lead to misleading information or script execution [3]. The issue is tied to how Git processes and displays messages from remote repositories, exposing the terminal to potential manipulation [3].

Attack surface and exploitation prerequisites

The CVSS 3.1 vector indicates the vulnerability requires user interaction (UI:R) and has a low attack complexity (AC:L). The attacker must have network access (AV:N) to exploit this flaw [1].

Impact analysis

The CVSS 3.1 vector shows high impact on confidentiality (C:H), integrity (I:H), and availability (A:H). The description highlights that the flaw could lead to misleading information or script execution, which may allow an attacker to display incorrect data or prompt users to run harmful commands [4].

Affected products and versions

Affected VersionFixed Version
≤ 2.40.4 [1]Not listed
≥ 2.41.0, ≤ 2.41.3 [1]Not listed
≥ 2.42.0, ≤ 2.42.4 [1]Not listed
≥ 2.43.0, ≤ 2.43.6 [1]Not listed
≥ 2.44.0, ≤ 2.44.3 [1]Not listed
≥ 2.45.0, ≤ 2.45.3 [1]Not listed
≥ 2.46.0, ≤ 2.46.3 [1]Not listed
≥ 2.47.0, ≤ 2.47.1 [1]Not listed
≥ 2.48.0, ≤ 2.48.1 [1]Not listed

Exploitation and threat intelligence status

CVE-2024-52005 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-12-01 [2]. The EPSS score for exploitation activity in the next 30 days is 0.0051 (0.51%), with a percentile of 0.4497 [5]. This is a statistical estimate, not evidence of exploitation.

Detection and exposure assessment

Readers can assess exposure by checking if their installed Git version falls within the affected range [1]. No detection steps are provided in the sources.

Remediation

The sources do not list a fixed version for this vulnerability. Users are advised to avoid recursive cloning unless they fully trust the remote repository, as this could increase exposure to the vulnerability [3].

Remediation checklist

  1. Avoid recursive cloning unless fully trusting the remote repository [3].
  2. Monitoring vendor updates is general guidance; the sources do not list a fixed version for CVE-2024-52005 [1].
  3. Review and update Git configurations to minimize terminal output exposure.

Evidence gaps

  • The sources do not describe the affected component's internals.
  • The reviewed sources do not report exploitation.
  • The sources do not mention a workaround.
  • The sources do not describe a complete version range for all affected versions.
  • The sources do not provide detection steps for this vulnerability.

References

  1. CVE-2024-52005 record. NIST National Vulnerability Database (NVD), 2026-06-17. https://nvd.nist.gov/vuln/detail/CVE-2024-52005. Accessed 2026-12-01. CVE record with CVSS scores, CWE, affected versions, and references
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-01. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-01. CISA KEV status indicating the CVE is not listed
  3. Vendor advisory page (github.com). github.com. https://github.com/git/git/security/advisories/GHSA-7jjc-gg6m-3329. Accessed 2026-12-01. Vendor advisory describing the flaw and mitigation advice
  4. USN-9303-1: Git vulnerabilities. Ubuntu USN, 2026-12-01. https://ubuntu.com/security/notices/USN-9303-1. Accessed 2026-12-01. Ubuntu bulletin describing the vulnerability and potential risks
  5. EPSS score for CVE-2024-52005. FIRST, 2026-12-01. https://api.first.org/data/v1/epss?cve=CVE-2024-52005. Accessed 2026-12-01. EPSS score for exploitation probability

Written with AI assistance from the 5 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

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 a…

Excerpt from Ubuntu USN. No official description has been published yet.

Severity breakdown

High · 7.5 CVSS 4.0 base score from the CNA (github.com)

An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.

Attack from
the network (remotely)
Attack complexity
high (only works under specific conditions)
Special conditions
none
Login needed
no
User action needed
yes, a user must deliberately do something
Impact
high on confidentiality, integrity and availability
Impact on other systems
none

Vector CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 8.8 from NVD: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences

Affected and fixed versions

ProductAffected versionsFixed in
git>= 2.48.0, <= 2.48.1, >= 2.47.0, <= 2.47.1, >= 2.46.0, <= 2.46.3 … <= 2.40.4 (9 versions)—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

Frequently asked questions

What is CVE-2024-52005?

CVE-2024-52005 affects multiple Git versions, including those up to 2.40.4 and several later version ranges up to 2.48.1. The vulnerability, rated HIGH with a CVSS 3.1 score of 8.8, involves improper handling of terminal control sequences in the sideband channel. The reviewed sources do not report exploitation. The sources do not list a fixed version for CVE-2024-52005. Weakness type: Improper Encoding or Escaping of Output (CWE-116).

How severe is CVE-2024-52005?

CVE-2024-52005 has a CVSS 4.0 base score of 7.5 (high), from the CNA (github.com). An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.

Is CVE-2024-52005 being exploited?

Not as far as is known: CVE-2024-52005 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2024-52005?

git >= 2.48.0, <= 2.48.1, >= 2.47.0, <= 2.47.1, >= 2.46.0, <= 2.46.3 … <= 2.40.4 (9 versions).

How do I fix CVE-2024-52005?

Avoid recursive cloning unless fully trusting the remote repository. Monitoring vendor updates is general guidance; the sources do not list a fixed version for CVE-2024-52005. Review and update Git configurations to minimize terminal output exposure.

Timeline & sources

References