CVE-2026-56289
mediumpriority · track · 22EPSS 0.001 · 2 %ileDEEUUSEPSS · scored 2026-10-27
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
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1–5.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (9)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-2274patch: Mehrere Schwachstellen ermöglichen Denial of ServiceDeutsch2026-07-09csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in patch ausnutzen, um einen Denial of Service Angriff durchzuführen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://cert.pl/en/posts/2026/07/CVE-2026-56288cnnvd
- https://cgit.git.savannah.gnu.org/cgit/patch.git/cnnvd
- https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=faba04ef4f2b410257f76c1b9dc85e350929c4b9cnnvd
- https://cert.pl/en/posts/2026/07/CVE-2026-56288enisa_euvd
- https://cgit.git.savannah.gnu.org/cgit/patch.git/enisa_euvd
- https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=faba04ef4f2b410257f76c1b9dc85e350929c4b9enisa_euvd
- https://cert.pl/en/posts/2026/07/CVE-2026-56288Third Party Advisorynvd
- https://cgit.git.savannah.gnu.org/cgit/patch.git/Patchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan