Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-56289

published medium CVSS 4.0 · 4.6

Loop with Unreachable Exit Condition in GNU patch

Published
09 Jul 2026, 09:29:22 UTC
Updated
09 Jul 2026, 12:21:39 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
GNU — patch0 through 2.8.0 · Other versions: unaffected Affected Not stated CERT-PL
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Alpine Linux edge patch Fixed 2.8.1-r0 Package fix record
SUSE / openSUSE SLE-12-SP5 patchx86_64 Advisory build 2.7.5-8.14.1 SUSE-SU-2026:2922-1
Alpine Linux v3.24 patch Fixed 2.8.1-r0 Package fix record
SUSE / openSUSE SLE-15-SP7 patchaarch64 Advisory build 2.7.6-150000.5.12.1 SUSE-SU-2026:3161-1
SUSE / openSUSE SLE-15-SP7 patchppc64le Advisory build 2.7.6-150000.5.12.1 SUSE-SU-2026:3161-1
Show 14 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP7 patchs390x Advisory build 2.7.6-150000.5.12.1 SUSE-SU-2026:3161-1
SUSE / openSUSE SLE-15-SP7 patchx86_64 Advisory build 2.7.6-150000.5.12.1 SUSE-SU-2026:3161-1
SUSE / openSUSE SLE-16 patchaarch64 Advisory build 2.7.6-160000.4.1 SUSE-SU-2026:22651-1
SUSE / openSUSE SLE-16 patchppc64le Advisory build 2.7.6-160000.4.1 SUSE-SU-2026:22651-1
SUSE / openSUSE SLE-16 patchs390x Advisory build 2.7.6-160000.4.1 SUSE-SU-2026:22651-1
SUSE / openSUSE SLE-16 patchx86_64 Advisory build 2.7.6-160000.4.1 SUSE-SU-2026:22651-1
SUSE / openSUSE openSUSE-Leap-16.0 patchaarch64 Advisory build 2.7.6-160000.4.1 OPENSUSE-SU-2026:21332-1
SUSE / openSUSE openSUSE-Leap-16.0 patchppc64le Advisory build 2.7.6-160000.4.1 OPENSUSE-SU-2026:21332-1
SUSE / openSUSE openSUSE-Leap-16.0 patchs390x Advisory build 2.7.6-160000.4.1 OPENSUSE-SU-2026:21332-1
SUSE / openSUSE openSUSE-Leap-16.0 patchx86_64 Advisory build 2.7.6-160000.4.1 OPENSUSE-SU-2026:21332-1
SUSE / openSUSE openSUSE-Tumbleweed patchaarch64 Advisory build 2.8-3.1 OPENSUSE-SU-2026:11260-1
SUSE / openSUSE openSUSE-Tumbleweed patchppc64le Advisory build 2.8-3.1 OPENSUSE-SU-2026:11260-1
SUSE / openSUSE openSUSE-Tumbleweed patchs390x Advisory build 2.8-3.1 OPENSUSE-SU-2026:11260-1
SUSE / openSUSE openSUSE-Tumbleweed patchx86_64 Advisory build 2.8-3.1 OPENSUSE-SU-2026:11260-1

Description

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

en · CERT-PL · cna

Vendor advisories explicitly linked to this CVE.

7

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
4.6 / 10
Severity
medium
Provider
CERT-PL · cna
Vector string
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
GNU patch 0 through 2.8.0 (affected · semver)Default: unaffected CERT-PL · cna

Weaknesses

1
  • CWE-835 CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop') (CERT-PL · cna)

References

3

Provider assertions

2

CERT-PL · cna

Loop with Unreachable Exit Condition in GNU patch

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
7589b132e57bc27f634a813e9bfa74c4816a2f7a74b03bb029699319aa085962
Ingested
23 Sep 2026, 09:21:21 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected