StraitOfVuln
Latest / CVE-2026-56288

CVE-2026-56288

MediumCVSS 5.5 (v3.1)Analyzed
CVE.org ↗NVD ↗

Description

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

Details

CVE ID
CVE-2026-56288
Published / updated
09 Jul 2026, 11:16 UTC · last modified 25 Oct 2026, 17:10 UTC
Severity
MEDIUM
CVSS score
5.5 · v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H · Attack vector: Local
Affected vendor
Affected products
Patch
Affected versions
Patch: ≤ 2.8.0
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.11% probability of exploitation in the next 30 days · 2% percentile (02 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
cvd@cert.pl