Lucene search
+L
GnuPatch

15 matches found

CVE
CVE
added 2019/07/26 12:22 p.m.906 views

CVE-2019-13638

CVE-2019-13638 affects GNU patch up to version 2.7.6. It enables OS shell command injection when processing a crafted patch file containing an ed-style diff payload with shell metacharacters; the ed editor need not be present on the target system. Multiple connected advisories confirm vulnerable ...

9.3CVSS7.8AI score0.04493EPSS
Save
CVE
CVE
added 2019/08/16 3:36 a.m.800 views

CVE-2018-20969

CVE-2018-20969 / CVE-2019-13638 (GNU patch) : The vulnerability resides in do_ed_script in pch.c of GNU patch up to version 2.7.6, where do_ed_script does not block strings starting with a ! character when using ed-style payloads. This is tied to an upstream commit shared with CVE-2019-13638 and ...

9.3CVSS7.4AI score0.02684EPSS
Save
CVE
CVE
added 2018/02/13 7:0 p.m.678 views

CVE-2018-6952

The CVE-2018-6952 entry refers to a double-free vulnerability in the function another_hunk of pch.c in GNU patch up to version 2.7.6. Exploitation could crash the patch utility or cause denial of service. Connected advisories indicate patched versions are available and advisories recommend updati...

7.5CVSS6.2AI score0.0819EPSS
Save
CVE
CVE
added 2019/07/17 8:4 p.m.640 views

CVE-2019-13636

CVE-2019-13636 affects GNU patch; the vulnerability arises from mishandling of following symlinks in inp.c and util.c in certain cases beyond input files. Public references describe potential for arbitrary file access/overwrite and, per Debian, shell command injection or escape from the working d...

5.9CVSS6.3AI score0.03895EPSS
Save
CVE
CVE
added 2018/04/06 1:0 p.m.628 views

CVE-2018-1000156

GNU patch through 2.7.6 is vulnerable to arbitrary command execution when applying ed-style patches. The root cause is insufficient sanitization of the input patch stream, allowing a crafted patch file to cause patch to pass ed-script commands to the editor. This can enable code execution under t...

7.8CVSS7.8AI score0.05515EPSS
Save
CVE
CVE
added 2020/03/25 4:44 p.m.516 views

CVE-2019-20633

CVE-2019-20633 affects GNU patch up to version 2.7.6. The vulnerability is a use-after-free in the function pch.c (another_hunk) caused by a faulty memory free (free(p_line[p_end])), which can enable denial of service via a crafted patch file. The issue is noted as stemming from an incomplete fix...

5.5CVSS6.2AI score0.00998EPSS
Save
CVE
CVE
added 2018/02/13 7:0 p.m.513 views

CVE-2018-6951

GNU patch 2.7.6 and earlier contains a denial-of-service vulnerability in the intu it_diff_type function (pch.c). Exploitation can cause a segmentation fault/NULL-pointer dereference. Remediation is upgrading to a patched release (e.g., 2.7.6-3 or newer as provided by distributions); upstream fix...

7.5CVSS7.1AI score0.08427EPSS
Save
CVE
CVE
added 2018/02/13 7:0 p.m.268 views

CVE-2016-10713

CVE-2016-10713 affects GNU patch up to version 2.7.6, with an out-of-bounds access in pch_write_line() in pch.c that can cause a DoS via a crafted patch file. Several connected advisories note fixes/patches (e.g., Oracle Linux ELSA-2019-2033, EulerOS advisories) and reference that the vulnerable ...

5.5CVSS5.9AI score0.01558EPSS
Save
CVE
CVE
added 2017/08/25 6:0 p.m.107 views

CVE-2014-9637

CVE-2014-9637 affects GNU patch up to version 2.7.2 and earlier. The root cause is a crafted diff file triggering a denial of service via memory consumption and a segmentation fault. The vulnerability is cited across multiple advisories (EulerOS, Huawei EulerOS, OpenVAS/Nessus entries) as part of...

7.1CVSS5.7AI score0.02341EPSS
Save
CVE
CVE
added 2021/12/22 5:12 p.m.94 views

CVE-2021-45261

CVE-2021-45261 describes an Invalid Pointer vulnerability in GNU patch 2.7, exploitable via the another_hunk function to cause a Denial of Service. Connected advisories indicate openSUSE patched to patch-2.8-2.1 (GA media), and multiple advisories list GNU patch 2.7 and the another_hunk path as t...

5.5CVSS5.3AI score0.00705EPSS
Save
CVE
CVE
added 2015/01/21 6:0 p.m.93 views

CVE-2015-1196

CVE-2015-1196 is confirmed in the provided documents as a vulnerability in GNU patch 2.7.1 where a symlink attack in a patch file allows remote attackers to write to arbitrary files. The connected advisories/feeds reference this CVE alongside other patches for GNU patch (e.g., CVE-2014-9637, CVE-...

4.3CVSS6AI score0.06096EPSS
Save
CVE
CVE
added 2017/08/25 6:0 p.m.91 views

CVE-2015-1395

CVE-2015-1395 is a directory traversal vulnerability in GNU patch that affects versions before 2.7.3. An attacker can write to arbitrary files with the permissions of the target user via a .. in a diff file name. The vulnerability is referenced in multiple advisories across Linux distros (e.g., E...

7.8CVSS7.2AI score0.11199EPSS
Save
CVE
CVE
added 2019/11/25 3:44 p.m.74 views

CVE-2015-1396

GNU patch before 2.7.4 is vulnerable to a directory-traversal via a symlink attack in a patch file, allowing remote write of arbitrary files. Root cause: incomplete fix for CVE-2015-1196. Affected: GNU patch (up to 2.7.3). Remediation: upgrade to 2.7.4 or later; no further details provided in the...

7.5CVSS6.2AI score0.03226EPSS
Save
CVE
CVE
added 2026/07/09 9:29 a.m.20 views

CVE-2026-56288

CVE-2026-56288 affects GNU patch. A NULL pointer dereference can occur while processing specially crafted unified-diff patch files due to improper handling of consecutive end-of-file newline markers, leading to a crash and denial of service. The issue is mitigated by the fixed patch in commit e6d...

5.5CVSS5.9AI score0.00115EPSS
Save
CVE
CVE
added 2026/07/09 9:29 a.m.16 views

CVE-2026-56289

CVE-2026-56289 affects GNU patch. The vulnerability is a DoS caused by improper validation of hunk line offsets in unified-diff input, where a crafted patch can specify an extremely large line number, causing an effectively infinite processing loop and high CPU usage, rendering the process unresp...

5.5CVSS5.9AI score0.00115EPSS
Save