Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-56288

Fixed in a distro release EPSS <1%CVSS 4.6

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

Published 2026-07-09 · CVE record · OSV

Products: gnu patch

Distro releases

ReleasePackageFixed in
Debian 12patchno fix
Debian 13patchno fix
Debian 14patchno fix
Red Hat hummingbird 1patch0:2.8-4.3.hum1
SUSE Linux Enterprise Module for Basesystem 15 SP7patch2.7.6-150000.5.12.1
SUSE Linux Enterprise Server 16.0patch2.7.6-160000.4.1
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5patch2.7.5-8.14.1
SUSE Linux Enterprise Server for SAP applications 16.0patch2.7.6-160000.4.1
SUSE Linux Micro 6.0patch2.7.6-4.1
SUSE Linux Micro 6.1patch2.7.6-slfo.1.1_2.1
SUSE Linux Micro 6.2patch2.7.6-160000.4.1
Ubuntu 16.04 LTSpatchno fix
Ubuntu 18.04 LTSpatchno fix
Ubuntu 20.04 LTSpatchno fix
Ubuntu 22.04 LTSpatchno fix
Ubuntu 24.04 LTSpatchno fix
Ubuntu 25.10patchno fix
Ubuntu 26.04 LTSpatchno fix
Ubuntu 26.10patchno fix
Ubuntu Pro 14.04 LTSpatchno fix
openSUSE Leap 16.0patch2.7.6-160000.4.1
openSUSE Tumbleweedpatch2.8-3.1