Skip to content
Connect AISign inSign up free
CVE-2026-562894.6MediumCWE-835

CVE-2026-56289: Loop with Unreachable Exit Condition in GNU patch

GNU · patch

Vendor fix available · Affected: GNU patch · Exploitation: unlikely (under 1%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

0.1%probability of exploitation in the next 30 days
1st percentile
050100

Higher than 1% of scored CVEs

4.6MediumCVSS 4.0
LowMedium

DescriptionCVE.org

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

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • GNU · patchup to and including 2.8.0

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Unlikely (under 1%). EPSS under 1%, or no score yet.
CISA KEV
Not listed
Public check
No public nuclei template
Vendor
GNU
Published
July 2026

CoverageNo articles yet

No CyberSIXT article names CVE-2026-56289 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References