GNU patch 2.7.2 and earlier allows remote attackers to cause a denial of service (memory consumption and segmentation fault) via a crafted diff file.
https://savannah.gnu.org/bugs/?44051
https://git.savannah.gnu.org/cgit/patch.git/commit/?id=0c08d7a902c6fdd49b704623a12d8d672ef18944
https://bugzilla.redhat.com/show_bug.cgi?id=1185262
http://www.ubuntu.com/usn/USN-2651-1
http://www.securityfocus.com/bid/72286
http://www.openwall.com/lists/oss-security/2015/01/22/7
http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148953.html
http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154214.html