{"schemaVersion":3,"id":"CVE-2025-27613","aliases":["ALPINE-CVE-2025-27613","UBUNTU-CVE-2025-27613","DEBIAN-CVE-2025-27613"],"status":"published","duplicateOf":null,"title":null,"description":"Gitk is a Tcl/Tk based Git history browser. Starting with 1.7.0, when a user clones an untrusted repository and runs gitk without additional command arguments, files for which the user has write permission can be created and truncated. The option Support per-file encoding must have been enabled before in Gitk's Preferences. This option is disabled by default. The same happens when Show origin of this line is used in the main window (regardless of whether Support per-file encoding is enabled or not). This vulnerability is fixed in 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, and 2.50.1.","dates":{"published":"2025-07-10T14:58:16.752Z","modified":"2025-11-04T21:09:52.727Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.6,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.6,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":3.6,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","exploitability":4.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.6,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","exploitability":4.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":3.6,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","exploitability":4.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.6,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00601,"percentile":0.47743,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.07399999999999993,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00527},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00601,"percentile":0.47743}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00601,"percentile":0.47743}]},"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-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.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":"debian","product":"git","name":"git","label":"git","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/git","purlType":"deb","versions":[{"text":"< 1:2.39.5-0+deb12u3","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.47.3-0+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.50.1-0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:2.39.5-0+deb12u3 | < 1:2.47.3-0+deb13u1 | < 1:2.50.1-0.1","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+esm11","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.17.1-1ubuntu0.18+esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.25.1-1ubuntu3.14+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.34.1-1ubuntu1.15","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.43.0-1ubuntu7.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:2.7.4-0ubuntu1.10+esm11 | < 1:2.17.1-1ubuntu0.18+esm4 | < 1:2.25.1-1ubuntu3.14+esm3 | < 1:2.34.1-1ubuntu1.15 | < 1:2.43.0-1ubuntu7.3","eol":null,"hubHref":null},{"vendor":"j6t","product":"gitk","name":"gitk","label":"gitk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.7.0, < 2.43.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.44.0, < 2.44.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.45.0, < 2.45.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.46.0, < 2.46.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.47.0, < 2.47.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.48.0, < 2.48.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.49.0, < 2.49.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.50.0, < 2.50.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.7.0, < 2.43.7 | ≥ 2.44.0, < 2.44.4 | ≥ 2.45.0, < 2.45.4 | ≥ 2.46.0, < 2.46.4 | ≥ 2.47.0, < 2.47.3 | ≥ 2.48.0, < 2.48.2 | ≥ 2.49.0, < 2.49.1 | ≥ 2.50.0, < 2.50.1","eol":null,"hubHref":"/vendor/j6t/gitk"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/j6t/gitk/security/advisories/GHSA-f3cw-xrj3-wr2v","label":"github.com/j6t/gitk/security/advisories/GHSA-f3cw-xrj3-wr2v","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/j6t/gitk/compare/465f03869ae11acd04abfa1b83c67879c867410c..026c397d911cde55924d7eb1311d0fd6e2e105d5","label":"github.com/j6t/…","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/j6t/gitk/compare/7dd272eca153058da2e8d5b9960bbbf0b4f0cbaa..67a128b91e25978a15f9f7e194d81b441d603652","label":"github.com/j6t/…","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00003.html","label":"lists.debian.org/debian-lts-announce/2025/10/msg00003.html","hostname":"lists.debian.org","tags":[]},{"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-27613","label":"security.alpinelinux.org/vuln/CVE-2025-27613","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-27613","label":"ubuntu.com/security/CVE-2025-27613","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-27613","label":"www.cve.org/CVERecord?id=CVE-2025-27613","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"]},{"url":"https://ubuntu.com/security/notices/USN-7626-2","label":"ubuntu.com/security/notices/USN-7626-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-7626-3","label":"ubuntu.com/security/notices/USN-7626-3","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-27613","label":"security-tracker.debian.org/tracker/CVE-2025-27613","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27613","label":"nvd.nist.gov/vuln/detail/CVE-2025-27613","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-4323-1","OPENSUSE-SU-2025:15337-1","RHSA-2025:11462","RHSA-2025:11533","RHSA-2025:11534","SUSE-SU-2025:03012-1","SUSE-SU-2025:03022-1","SUSE-SU-2025:03037-1","SUSE-SU-2025:20721-1","SUSE-SU-2025:20855-1","USN-7626-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:15337-1","SUSE-SU-2025:03012-1","SUSE-SU-2025:03022-1","SUSE-SU-2025:03037-1","SUSE-SU-2025:20721-1","SUSE-SU-2025:20855-1","USN-7626-1","USN-7626-2","USN-7626-3"]},"timeline":[{"kind":"published","date":"2025-07-10T14:58:16.752Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-04T21:09:52.727Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":15,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T10:44:05.201Z","stale":false,"partial":false}}