p PatchFirst

PatchFirst · Latest vulnerabilities

patch vulnerabilities

Vulnerabilities published for patch in the last 30 days: 0. Listed in the KEV catalogue: 0.

RSS ↗
Filter vulnerabilities
Clear filters

Vulnerabilities: 11

  1. CVE-2026-56289

    Medium · CVSS 4.6EPSS 0.11%No fix published

    Loop with Unreachable Exit Condition in GNU patch

    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. A specially crafted patch can specify an extremely large line number, causing the application to enter an effectively infinite processing loop while attempting to locate the requested position. This results in excessive CPU consumption and prevents the process from completing. An attacker can trigger this behavior by supplying a malicious patch file, causing the utility to become unresponsive and require manual termination. This issue has been fixed in the commit faba04ef4f2b410257f76

    Published Updated
  2. CVE-2026-56288

    Medium · CVSS 4.6EPSS 0.11%No fix published

    NULL Pointer Dereference in GNU patch

    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

    Published Updated
  3. CVE-2019-20633

    Medium · CVSS 5.5EPSS 1.02%No fix published

    CVE-2019-20633

    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 a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.

    Published Updated
  4. CVE-2019-13638

    High · CVSS 7.8EPSS 4.49%Fix available

    CVE-2019-13638

    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 payload with shell metacharacters. The ed editor does not need to be present on the vulnerable system. This is different from CVE-2018-1000156.

    • Update to 2.7.5-1ubuntu0.16.04.2
    Published Updated
  5. CVE-2018-1000156

    High · CVSS 7.8EPSS 5.33%Fix available

    CVE-2018-1000156

    GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation (using ed) can result in code execution. This attack appear to be exploitable via a patch file processed via the patch utility. This is similar to FreeBSD's CVE-2015-1418 however although they share a common ancestry the code bases have diverged over time.

    • Update to 2.7.5-1ubuntu0.16.04.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →