Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, by feeding specially crafted input to `git apply --reject`, a path outside the working tree can be overwritten with partially controlled contents (corresponding to the rejected hunk(s) from the given patch). A fix is available in versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1. As a workaround, avoid using `git apply` with `--reject` when applying patches from an untrusted source. Use `git apply --stat` to inspect a patch before applying; avoid applying one that create a conflict where a link corresponding to the `*.rej` file exists.
Conclusion & alert: CVE-2023-25652 is rated Moderate Risk (60.9/100): CVSS High severity, with medium exploitation likelihood (EPSS 3.56%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-26 | 3.39% | 3.56% | +0.17% |
| 2 | 2026-04-19 | 1.85% | 3.39% | +1.54% |
| 3 | 2026-02-28 | — | 1.85% | — |
Full EPSS history (33 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
high | CVE-2023-25652: 1 source package rows (git); 68 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 61. | https://security.alpinelinux.org/vuln/CVE-2023-25652 |
debian
|
not yet assigned | CVE-2023-25652 not yet assigned priority: Debian including 1 source packages (git), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2023-25652 |
gentoo
|
high | CVE-2023-25652: 1 GLSA(s) (202312-15), 1 atom(s) (dev-vcs/git); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2023-25652 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2023-25652 |
suse
|
high | CVE-2023-25652 severity important: SUSE including 163 source package names (1.20-openssl:git-core-2.35.3-150300.10.27.1, 1.21:git-core-2.35.3-150300.10.27.1, …), 522 product×package rows across 61 product lines (Container bci/golang, Container bci/nodejs, … (61 product lines)): Fixed 467, Known Not Affected 55. | https://www.suse.com/security/cve/CVE-2023-25652/ |
ubuntu
|
medium | CVE-2023-25652 medium priority: Ubuntu including 1 source packages (git), 8 status rows across 8 suites (bionic, focal, jammy, kinetic, lunar, trusty, upstream, xenial): released 6, ignored 1, needs-triage 1. | https://ubuntu.com/security/CVE-2023-25652 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| git-scm | git | < 2.30.9 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.31.0, < 2.31.8 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.32.0, < 2.32.7 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.33.0, < 2.33.8 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.34.0, < 2.34.8 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.35.0, < 2.35.8 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.36.0, < 2.36.6 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.37.0, < 2.37.7 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.38.0, < 2.38.5 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.39.0, < 2.39.3 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | 2.40.0 | cpe:2.3:a:git-scm:git:2.40.0:*:*:*:*:*:*:* |
| fedoraproject | fedora | 37 | cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
| fedoraproject | fedora | 38 | cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |