NULL pointer dereference in Gnu Patch

CVE-2026-56288

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) dat…

Affected products

Weakness classification (CWE)

References