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.
CVE-2023-25652
Score elevated to 8.1 because EPSS predicts 52% probability of exploitation within the next 30 days (top 1.2% of all CVEs). NVD baseline CVSS 7.5 retained for reference. Confidence: see factors.
- High exploitation likelihood — EPSS 52%
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 8.1(high)
- EG Risk
- 72(Track)EG Risk 72/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity81% × 45%Exploitation52% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 52%
- EPSS %ILE
- 99%
- KEV
- Not listed
Published
April 25, 2023
Last Modified
November 4, 2025
References (21)
- security-advisories@githubhttp://www.openwall.com/lists/oss-security/2023/04/25/2
- security-advisories@githubhttps://github.com/git/git/commit/18e2b1cfc80990719275d7b08e6e50f3e8cbc902
- security-advisories@githubhttps://github.com/git/git/commit/668f2d53613ac8fd373926ebe219f2c29112d93e
- security-advisories@githubhttps://github.com/git/git/security/advisories/GHSA-2hvf-7c8p-28fx
- security-advisories@githubhttps://lists.debian.org/debian-lts-announce/2024/06/msg00018.html
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/[email protected]/message/BSXOGVVBJLYX26IAYX6PJSYQB36BREWH/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/[email protected]/message/PI7FZ4NNR5S5J5K6AMVQBH2JFP6NE4L7/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/[email protected]/message/RKOXOAZ42HLXHXTW6JZI4L5DAIYDTYCU/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/[email protected]/message/YFZWGQKB6MM5MNF2DLFTD7KS2KWPICKL/
- security-advisories@githubhttps://security.gentoo.org/glsa/202312-15
- af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2023/04/25/2
- af854a3a-2127-422b-91ae-364da2661108https://github.com/git/git/commit/18e2b1cfc80990719275d7b08e6e50f3e8cbc902
- af854a3a-2127-422b-91ae-364da2661108https://github.com/git/git/commit/668f2d53613ac8fd373926ebe219f2c29112d93e
- af854a3a-2127-422b-91ae-364da2661108https://github.com/git/git/security/advisories/GHSA-2hvf-7c8p-28fx
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00018.html
Patch Availability(11)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | git-email (1:2.37.2-1ubuntu1.5) @ kinetic | 2026-05-25 | ubuntu |
| ubuntu | gitweb (1:2.7.4-0ubuntu1.10+esm7) @ xenial | 2026-05-25 | ubuntu |
| redhat | git-0:2.18.4-4.el8_2 | 2023-05-31 | redhat |
| redhat | git-0:1.8.3.1-25.el7_9 | 2023-05-23 | redhat |
| redhat | rh-git227-git-0:2.27.0-6.el7 | 2023-05-23 | redhat |
| redhat | git-0:2.31.1-5.el9_0 | 2023-05-22 | redhat |
| redhat | git-0:2.39.3-1.el9_2 | 2023-05-22 | redhat |
| redhat | git-0:2.31.1-4.el8_6 | 2023-05-22 | redhat |
| redhat | git-0:2.39.3-1.el8_8 | 2023-05-22 | redhat |
| redhat | git-0:2.27.0-4.el8_4 | 2023-05-22 | redhat |
| redhat | git-0:2.18.4-3.el8_1 | 2023-05-17 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(12)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Microsoft MSRCCVE-2023-256522023-06-13
GitHub: CVE-2023-25652 "git apply --reject" partially-controlled arbitrary file write
- Red HatRHSA-2023:3192IMPORTANT2023-04-25
RHSA-2023:3192 — Important
- Red HatRHSA-2023:3243IMPORTANT2023-04-25
RHSA-2023:3243 — Important
- Red HatRHSA-2023:3245IMPORTANT2023-04-25
RHSA-2023:3245 — Important
- Red HatRHSA-2023:3246IMPORTANT2023-04-25
RHSA-2023:3246 — Important
- Red HatRHSA-2023:3247IMPORTANT2023-04-25
RHSA-2023:3247 — Important
- Red HatRHSA-2023:3248IMPORTANT2023-04-25
RHSA-2023:3248 — Important
- Red HatRHSA-2023:3263IMPORTANT2023-04-25
RHSA-2023:3263 — Important
- Red HatRHSA-2023:3280IMPORTANT2023-04-25
RHSA-2023:3280 — Important
- Red HatRHSA-2023:3382IMPORTANT2023-04-25
RHSA-2023:3382 — Important
- UbuntuUSN-6050-1MEDIUM
Git vulnerabilities
- UbuntuUSN-6050-2MEDIUM
Git vulnerabilities
Data Freshness Timeline
(refreshed 9× in last 7d / 37× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-28 15:34 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-25 14:16 UTCEPSS rescore
- 2026-07-25 14:16 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 02:19 UTCEG score recompute▲ 0.60
- 2026-07-22 23:07 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-16 17:01 UTCEPSS rescore
- 2026-07-16 17:01 UTCEPSS rescore
- 2026-07-15 22:19 UTCOSV refresh
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
Show 74 moreShow fewer
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:08 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-02 16:58 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 22:34 UTCOSV refresh
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-14 23:16 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:17 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-10 09:47 UTCOSV refresh
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-25 02:20 UTCEG score recompute
- 2026-05-25 02:20 UTCVendor advisory
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
- CVE-2001-0825EG 10.0HIGH
- CVE-2001-0554EG 10.0EPSS p98HIGH
- CVE-2001-0414EG 10.0EPSS p100HIGH
- CVE-2001-0191EG 10.0EPSS p92HIGH
- CVE-2001-0301EG 10.0EPSS p90HIGH
- CVE-2001-0197EG 10.0EPSS p96HIGH
- CVE-2001-0233EG 10.0EPSS p96HIGH
- CVE-2001-0010EG 10.0EPSS p98HIGH
- CVE-2001-0011EG 10.0EPSS p94HIGH
- CVE-2001-0013EG 10.0EPSS p95HIGH
Frequently asked(5)
What is CVE-2023-25652?
When was CVE-2023-25652 disclosed?
Is CVE-2023-25652 actively exploited?
What is the CVSS score of CVE-2023-25652?
How do I remediate CVE-2023-25652?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2023-25652
Is Your Infrastructure Affected by CVE-2023-25652?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.