BlogPHP2Shell Exploitation: How Secure.com Can Protect YouRead more
← CVE Radar

CVE-2026-56288NULL 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.6 MEDIUMEPSS 0.11%Not in KEVNVD: Analyzed

Overview

Severity

ScoreSeverityVersionVector String
4.6MEDIUM4.0CERT-PL (CNA)CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
5.5MEDIUM3.1NVDCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CVE ID
CVE-2026-56288
Status
Analyzed
Assigner (CNA)
CERT-PL
Published
Jul 9, 2026
Last modified
2026-10-25 17:10 UTC
Weaknesses
  • CWE-476 · NULL Pointer Dereference

Sources

Refreshed hourly from the sources above. Last fetched 2026-11-08 07:24 UTC.