CVE-2015-1395: Canonical Ubuntu Linux

High severity, CVSS 7.5. EPSS: 11.3% chance of exploitation in the next 30 days.

Directory traversal vulnerability in GNU patch versions which support Git-style patching before 2.7.3 allows remote attackers to write to arbitrary files with the permissions of the target user via a .. (dot dot) in a diff file name.

Affected products

  • Canonical Ubuntu Linux: version 12.04 only; version 14.04 only; version 14.10 only
  • Fedoraproject Fedora: version 20 only; version 21 only
  • GNU Patch: up to and including 2.7.2

Published 2017-08-25. Last modified 2026-06-17.