Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

nvd логотип

CVE-2026-56288

Опубликовано: 09 июл. 2026
Источник: nvd
CVSS3: 5.5
EPSS Низкий

Описание

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

Уязвимые конфигурации

Конфигурация 1
cpe:2.3:a:gnu:patch:*:*:*:*:*:*:*:*
Версия до 2.8.0 (включая)

EPSS

Процентиль: 2%
0.00115
Низкий

5.5 Medium

CVSS3

Дефекты

CWE-476

Связанные уязвимости

CVSS3: 5.5
ubuntu
24 дня назад

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

msrc
24 дня назад

NULL Pointer Dereference in GNU patch

CVSS3: 5.5
debian
24 дня назад

GNU patch is vulnerable to a NULL pointer dereference when processing ...

CVSS3: 5.5
github
24 дня назад

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

suse-cvrf
20 дней назад

Security update for patch

EPSS

Процентиль: 2%
0.00115
Низкий

5.5 Medium

CVSS3

Дефекты

CWE-476