p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости patch

За последние 30 дней в patch опубликовано уязвимостей: 1; в каталоге KEV: 0.

Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 17

  1. CVE-2026-115207

    Средний · CVSS 5.5EPSS 0,14%Нет опубликованного исправления

    Patch: filename validation bypass in reversal fallback allows file creation outside the working directory

    A flaw was found in GNU patch. An attacker can achieve arbitrary file creation outside the intended working directory by enticing a user or automated workflow to apply a specially crafted patch file. Due to missing validation during automatic patch reversal, absolute file paths in patch headers are accepted rather than rejected. Consequently, the utility can create files in arbitrary locations with the permissions of the executing user.

    Опубликовано Обновлено
  2. CVE-2026-56289

    Средний · CVSS 4.6EPSS 0,11%Нет опубликованного исправления

    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

  3. CVE-2026-56288

    Средний · CVSS 4.6EPSS 0,11%Нет опубликованного исправления

    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

  4. CVE-2015-1396

    Высокий · CVSS 7.5EPSS 3,25%Есть исправление

    CVE-2015-1396

    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. NOTE: this issue exists because of an incomplete fix for CVE-2015-1196.

    • Обновитесь до 2.7.3-1
    Опубликовано Обновлено
  5. CVE-2018-20969

    Высокий · CVSS 7.8EPSS 2,68%Есть исправление

    CVE-2018-20969

    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 the ! syntax is specific to ed, and is unrelated to a shell metacharacter.

    • Обновитесь до 2.7.6-5
    Опубликовано Обновлено
  6. CVE-2019-13638

    Высокий · CVSS 7.8EPSS 4,49%Есть исправление

    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.

    • Обновитесь до 2.7.6-5
  7. CVE-2019-13636

    Средний · CVSS 5.9EPSS 3,9%Есть исправление

    CVE-2019-13636

    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.

    • Обновитесь до 2.7.6-5
  8. CVE-2018-1000156

    Высокий · CVSS 7.8EPSS 5,33%Есть исправление

    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.

    • Обновитесь до 2.7.6-2
    Опубликовано Обновлено
  9. CVE-2018-6951

    Высокий · CVSS 7.5EPSS 8,36%Нет опубликованного исправления

    CVE-2018-6951

    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 in the intuit_diff_type function in pch.c, aka a "mangled rename" issue.

    Опубликовано Обновлено
  10. CVE-2016-10713

    Средний · CVSS 5.5EPSS 1,56%Есть исправление

    CVE-2016-10713

    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.

    • Обновитесь до 2.7.6-1
    Опубликовано Обновлено
  11. CVE-2015-1416

    Высокий · CVSS 7.8EPSS 3,47%Есть исправление

    CVE-2015-1416

    Larry Wall's patch; patch in FreeBSD 10.2-RC1 before 10.2-RC1-p1, 10.2 before 10.2-BETA2-p2, and 10.1 before 10.1-RELEASE-p16; Bitrig; GNU patch before 2.2.5; and possibly other patch variants allow remote attackers to execute arbitrary shell commands via a crafted patch file.

    • Обновитесь до 2.5-1
    Опубликовано Обновлено
  12. CVE-2015-1395

    Высокий · CVSS 7.5EPSS 11,29%Есть исправление

    CVE-2015-1395

    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 the permissions of the target user via a .. (dot dot) in a diff file name.

    • Обновитесь до 2.7.3-1
    Опубликовано Обновлено
  13. CVE-2014-9637

    Средний · CVSS 5.5EPSS 2,36%Есть исправление

    CVE-2014-9637

    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.

    • Обновитесь до 2.7.1-7
    Опубликовано Обновлено
  14. CVE-2010-4651

    Без оценкиEPSS 4,87%Нет опубликованного исправления

    CVE-2010-4651

    Directory traversal vulnerability in util.c in GNU patch 2.6.1 and earlier allows user-assisted remote attackers to create or overwrite arbitrary files via a filename that is specified with a .. (dot dot) or full pathname, a related issue to CVE-2010-1679.

    Опубликовано Обновлено

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →