Description
Git is a source code management tool. When cloning from a server (or fetching, or pushing), informational or error messages are transported from the remote Git process to the client via the so-called "sideband channel". These messages will be prefixed with "remote:" and printed directly to the standard error output. Typically, this standard error output is connected to a terminal that understands ANSI escape sequences, which Git did not protect against. Most modern terminals support control sequences that can be used by a malicious actor to hide and misrepresent information, or to mislead the user into executing untrusted scripts. As requested on the git-security mailing list, the patches are under discussion on the public mailing list. Users are advised to update as soon as possible. Users unable to upgrade should avoid recursive clones unless they are from trusted sources.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| git | git | >= 2.48.0, <= 2.48.1, >= 2.47.0, <= 2.47.1, >= 2.46.0, <= 2.46.3, >= 2.45.0, <= 2.45.3, >= 2.44.0, <= 2.44.3, >= 2.43.0, <= 2.43.6, >= 2.42.0, <= 2.42.4, >= 2.41.0, <= 2.41.3, <= 2.40.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | git | No fix yet | — |
| Debian 13 | git | No fix yet | — |
| Debian 12 | git | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | git | No fix yet | — |
| Ubuntu 26.04 LTS | git | No fix yet | — |
| Ubuntu 25.10 | git | No fix yet | — |
| Ubuntu 24.04 LTS | git | No fix yet | — |
| Ubuntu 22.04 LTS | git | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | git | No fix yet | — |
| Ubuntu Pro 18.04 LTS | git | No fix yet | — |
| Ubuntu Pro 16.04 LTS | git | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | git +14 | 2.47.1-2.el10_0 | RHSA-2025:7482 |
| RHEL 9 | git +14 | 2.47.1-2.el9_6 | RHSA-2025:7409 |
| RHEL 8 | git +14 | 2.43.5-3.el8_10 | RHSA-2025:8414 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.4 EUS | git +14 | 2.43.5-1.el9_4.1 | RHSA-2025:7640 |
| RHEL 9.2 EUS | git +14 | 2.39.5-1.el9_2.1 | RHSA-2025:7641 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | git +14 | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| AlmaLinux 9 | git +14 | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux 8 | git +14 | 2.43.5-3.el8_10 | ALSA-2025:8414 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | git | 2.47.1-2.el10_0 | RLSA-2025:7482 |
| Rocky Linux 9 | git | 2.47.1-2.el9_6 | RLSA-2025:7409 |
| Rocky Linux 8 | git | 2.43.5-3.el8_10 | RLSA-2025:8414 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | git +16 | 2.47.1-1.amzn2023.0.3 | ALAS2023-2025-1014 |
| Amazon Linux 2 | git +16 | 2.47.1-1.amzn2.0.3 | ALAS2-2025-2884 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | git | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | git | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | git +14 | 2.47.1-2.el10_0 | ELSA-2025-7482 |
| Oracle Linux 9 | git +14 | 2.47.1-2.el9_6 | ELSA-2025-7409 |
| Oracle Linux 8 | git +14 | 2.43.5-3.el8_10 | ELSA-2025-8414 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | git-email | 2.49.0-r0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
andrewd-cg/cve-2024-52005-poc ★ 0 · Dec 29, 2025
Proof-of-Concept for CVE-2024-52005: ANSI escape sequence injection in Git. Demonstrates incorrect 'not_affected' VEX claims in hardened container images.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 17
- ALSA-2025:7482 Moderate: git security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:7409 Moderate: git security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:8414 Moderate: git security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2025:8414 Red Hat Security Advisory: git security update Red Hat Security Advisories (RHSA) · Jun 3, 2026
- RHSA-2025:7641 Red Hat Security Advisory: git security update Red Hat Security Advisories (RHSA) · Jun 3, 2026
- RHSA-2025:7640 Red Hat Security Advisory: git security update Red Hat Security Advisories (RHSA) · Jun 3, 2026
- RHSA-2025:7482 Red Hat Security Advisory: git security update Red Hat Security Advisories (RHSA) · Jun 3, 2026
- RHSA-2025:7409 Red Hat Security Advisory: git security update Red Hat Security Advisories (RHSA) · Jun 3, 2026
- RLSA-2025:7409 Moderate: git security update Rocky Linux Security Advisories · Oct 7, 2025
- RLSA-2025:7482 Moderate: git security update Rocky Linux Security Advisories · Oct 3, 2025
- RLSA-2025:8414 Moderate: git security update Rocky Linux Security Advisories · Jul 29, 2025
- WID-SEC-2025-0106 git: Schwachstelle ermöglicht Darstellen falscher Informationen BSI CERT-Bund (WID) · Jul 15, 2025
- ELSA-2025-7482 Moderate: git security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jun 27, 2025
- ALAS2-2025-2884 Moderate: git security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 12, 2025
- ALAS2023-2025-1014 Moderate: git security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 10, 2025
- ELSA-2025-8414 Moderate: git security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jun 3, 2025
- ELSA-2025-7409 Moderate: git security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 21, 2025