{"schemaVersion":3,"id":"CVE-2025-48386","aliases":["ALPINE-CVE-2025-48386","UBUNTU-CVE-2025-48386"],"status":"published","duplicateOf":null,"title":null,"description":"Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. The wincred credential helper uses a static buffer (target) as a unique key for storing and comparing against internal storage. This credential helper does not properly bounds check the available space remaining in the buffer before appending to it with wcsncat(), leading to potential buffer overflows. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.","dates":{"published":"2025-07-08T18:23:41.246Z","modified":"2025-11-04T21:11:02.964Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","exploitability":4.6,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","exploitability":4.6,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00431,"percentile":0.36053,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.03999999999999993,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00391},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00431,"percentile":0.36053}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00391,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00431,"percentile":0.36053}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","description":"The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/120.html"}],"affected":[{"vendor":"alpine","product":"git","name":"git","label":"git","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/git","purlType":"apk","versions":[{"text":"< 2.43.7-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 2.45.4-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 2.47.3-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 2.49.1-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 2.50.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.43.7-r0 | < 2.45.4-r0 | < 2.47.3-r0 | < 2.49.1-r0 | < 2.50.1-r0","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"git","name":"git","label":"git","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/git","purlType":"deb","versions":[{"text":"< 1:2.7.4-0ubuntu1.10+esm9","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.17.1-1ubuntu0.18+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.25.1-1ubuntu3.14+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.34.1-1ubuntu1.13","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.43.0-1ubuntu7.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:2.7.4-0ubuntu1.10+esm9 | < 1:2.17.1-1ubuntu0.18+esm2 | < 1:2.25.1-1ubuntu3.14+esm1 | < 1:2.34.1-1ubuntu1.13 | < 1:2.43.0-1ubuntu7.3","eol":null,"hubHref":null},{"vendor":"git","product":"git","name":"Git","label":"git","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.43.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.44.0-rc0, < 2.44.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.45.0-rc0, < 2.45.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.46.0-rc0, < 2.46.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.47.0-rc0, < 2.47.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.48.0-rc0, < 2.48.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.49.0-rc0, < 2.49.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.50.0-rc0, < 2.50.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.43.7 | ≥ 2.44.0-rc0, < 2.44.4 | ≥ 2.45.0-rc0, < 2.45.4 | ≥ 2.46.0-rc0, < 2.46.4 | ≥ 2.47.0-rc0, < 2.47.3 | ≥ 2.48.0-rc0, < 2.48.2 | ≥ 2.49.0-rc0, < 2.49.1 | ≥ 2.50.0-rc0, < 2.50.1","eol":null,"hubHref":"/vendor/git/git"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/git/git/security/advisories/GHSA-4v56-3xvj-xvfr","label":"github.com/git/git/security/advisories/GHSA-4v56-3xvj-xvfr","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2025/07/08/4","label":"www.openwall.com/lists/oss-security/2025/07/08/4","hostname":"www.openwall.com","tags":[]},{"url":"https://security.alpinelinux.org/vuln/CVE-2025-48386","label":"security.alpinelinux.org/vuln/CVE-2025-48386","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-48386","label":"ubuntu.com/security/CVE-2025-48386","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-48386","label":"www.cve.org/CVERecord?id=CVE-2025-48386","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2025/07/08/4","label":"www.openwall.com/lists/oss-security/2025/07/08/4","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7626-1","label":"ubuntu.com/security/notices/USN-7626-1","hostname":"ubuntu.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:15337-1","SUSE-SU-2025:20721-1","SUSE-SU-2025:20855-1","USN-7626-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:15337-1","SUSE-SU-2025:20721-1","SUSE-SU-2025:20855-1","USN-7626-1"]},"timeline":[{"kind":"published","date":"2025-07-08T18:23:41.246Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-04T21:11:02.964Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":25,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T17:26:50.055Z","stale":false,"partial":false}}