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

CVE-2026-56289

Fixed in a distro release EPSS <1%CVSS 4.6

GNU patch is vulnerable to a denial of service (DoS) due to improper validation of hunk (single block of changes in diff) line offsets in unified-diff input. A specially crafted patch can specify an extremely large line number, causing the application to enter an effectively infinite processing loop while attempting to locate the requested position. This results in excessive CPU consumption and prevents the process from completing. An attacker can trigger this behavior by supplying a malicious patch file, causing the utility to become unresponsive and require manual termination. This issue has been fixed in the commit faba04ef4f2b410257f76c1b9dc85e350929c4b9

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.2.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