GNU patch is vulnerable to a NULL pointer dereference when processing a specially crafted unified-diff patch file. Improper handling of consecutive end-of-file newline markers can corrupt internal hunk (single block of changes in diff) data structures, causing the application to pass a NULL pointer to fwrite() during patch processing. An attacker can trigger this condition with a malicious patch file, causing the utility to crash and resulting in a denial of service. This issue has been fixed in the commit e6d6a4e021660679d7fc9150f981d4920f722313
2.7.5-12.7.5-1ubuntu0.16.04.12.7.5-1ubuntu0.16.04.22.7.5-1build12.7.6-12.7.6-2ubuntu12.7.6-2ubuntu1.12.7.6-62.7.6-72.7.6-7build12.7.6-7build22.7.6-7build22.7.6-7build32.7.6-7build32.8-12.8-22.8-22.8-2build12.7.1-32.7.1-42.7.1-4ubuntu12.7.1-4ubuntu22.7.1-4ubuntu2.32.7.1-4ubuntu2.42.7.1-4ubuntu2.4+esm1Exploitability
AV:LAC:LAT:NPR:NUI:AVulnerable System
VC:NVI:NVA:LSubsequent System
SC:NSI:NSA:NCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N