An issue was discovered in GNU patch before 2.7.6. Out-of-bounds access within pch_write_line() in pch.c can possibly lead to DoS via a crafted input file.
https://usn.ubuntu.com/3624-2/
https://usn.ubuntu.com/3624-1/
https://git.savannah.gnu.org/cgit/patch.git/commit/src/pch.c?id=a0d7fe4589651c64bd16ddaaa634030bb0455866
https://access.redhat.com/errata/RHSA-2019:2033
http://www.securityfocus.com/bid/103063
Source: Mitre, NVD
Published: 2018-02-13
Updated: 2018-04-18
Base Score: 4.3
Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P
Severity: Medium
Base Score: 5.5
Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H