Patch (Gnu) - vulnerabilities (CVEs)
15 CVEs, 0 in the last 30 days, 14 known versions, newest CVE from 2026-07-09. Vendor: Gnu.
CVEs of Patch
- CVE-2026-56289 - CVSS 5.5 (medium), 2026-07-09: GNU patch is vulnerable to a denial of service (DoS) due to improper validation of hunk (single block of changes in diff) line offsets in unified-diff input.…
- CVE-2026-56288 - CVSS 5.5 (medium), 2026-07-09: GNU patch is vulnerable to a NULL pointer dereference when processing a specially crafted unified-diff patch file. Improper handling of consecutive…
- CVE-2021-45261 - CVSS 5.5 (medium), 2021-12-22: An Invalid Pointer vulnerability exists in GNU patch 2.7 via the another_hunk function, which causes a Denial of Service.
- CVE-2019-20633 - CVSS 5.5 (medium), 2020-03-25: GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via…
- CVE-2015-1396 - CVSS 7.5 (high), 2019-11-25: A Directory Traversal vulnerability exists in the GNU patch before 2.7.4. A remote attacker can write to arbitrary files via a symlink attack in a patch file.…
- CVE-2018-20969 - CVSS 7.8 (high), 2019-08-16: do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character. NOTE: this is the same commit as for CVE-2019-13638, but…
- CVE-2019-13638 - CVSS 7.8 (high), 2019-07-26: GNU patch through 2.7.6 is vulnerable to OS shell command injection that can be exploited by opening a crafted patch file that contains an ed style diff…
- CVE-2019-13636 - CVSS 5.9 (medium), 2019-07-17: In GNU patch through 2.7.6, the following of symlinks is mishandled in certain cases other than input files. This affects inp.c and util.c.
- CVE-2018-1000156 - CVSS 7.8 (high), 2018-04-06: GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation (using ed) can…
- CVE-2018-6951 - CVSS 7.5 (high), 2018-02-13: An issue was discovered in GNU patch through 2.7.6. There is a segmentation fault, associated with a NULL pointer dereference, leading to a denial of service…
- CVE-2016-10713 - CVSS 5.5 (medium), 2018-02-13: 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.
- CVE-2018-6952 - CVSS 7.5 (high), 2018-02-13: A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6.
- CVE-2014-9637 - CVSS 5.5 (medium), 2017-08-25: 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.
- CVE-2015-1395 - CVSS 7.5 (high), 2017-08-25: 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…
- CVE-2015-1196 - CVSS 4.3 (medium), 2015-01-21: GNU patch 2.7.1 allows remote attackers to write to arbitrary files via a symlink attack in a patch file.