Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
GNU patch
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GNU patch是美国GNU基金会开源的一个应用补丁修正程序。 GNU patch 2.8.0及之前版本存在资源管理错误漏洞,该漏洞源于对统一差异输入中hunk行偏移验证不当,可能导致CPU消耗过大,造成拒绝服务。

AI Predicted 5.3 Difficulty: Trivial EPSS 0.11% · P1

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 1

VendorProduct Version RangeStatus
GNU patch ≤ 2.8.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-56289

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Loop with Unreachable Exit Condition in GNU patch
Source: CVE Program / CVE List V5
Vulnerability 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
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
不可达退出条件的循环(无限循环)
Source: CVE Program / CVE List V5
Vulnerability Title
GNU patch 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GNU patch是美国GNU基金会开源的一个应用补丁修正程序。 GNU patch 2.8.0及之前版本存在资源管理错误漏洞,该漏洞源于对统一差异输入中hunk行偏移验证不当,可能导致CPU消耗过大,造成拒绝服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
GNU patch 0 ~ 2.8.0 -

II. Public POCs for CVE-2026-56289

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-56289

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-56289 (2)

Security Blog Posts for CVE-2026-56289 (1)

Same Patch Batch · GNU · 2026-07-09 · 4 CVEs total

CVE-2026-15182 5.3 MEDIUM GNU LibreDWG BMP Image dwg.c dwg_bmp heap-based overflow
CVE-2026-15184 3.3 LOW GNU LibreDWG DWG File dwg.c dwg_next_entity null pointer dereference
CVE-2026-56288 NULL Pointer Dereference in GNU patch

IV. Related Vulnerabilities

V. Comments for CVE-2026-56289

No comments yet


Leave a comment