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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-56288— NULL Pointer Dereference 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及之前版本存在异常处理不当漏洞,该漏洞源于处理特制的统一差异补丁文件时空指针取消引用,对连续文件结束换行标记处理不当可能破坏内部数据块数据结构,导致处理过程中向fwrite传递空指针,攻击者利用恶意补丁文件触发此条件,导致程序崩溃并拒绝服务。

AI Predicted 5.5 Difficulty: Easy EPSS 0.17% · P5

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-56288

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
NULL Pointer Dereference in GNU patch
Source: CVE Program / CVE List V5
Vulnerability Description
GNU patch is vulnerable to a NULL pointer dereference when processing a specially crafted unified-diff patch file. Improper handling of consecutive end-of-file newline markers can corrupt internal hunk (single block of changes in diff) data structures, causing the application to pass a NULL pointer to fwrite() during patch processing. An attacker can trigger this condition with a malicious patch file, causing the utility to crash and resulting in a denial of service. This issue has been fixed in the commit e6d6a4e021660679d7fc9150f981d4920f722313
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:N
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及之前版本存在异常处理不当漏洞,该漏洞源于处理特制的统一差异补丁文件时空指针取消引用,对连续文件结束换行标记处理不当可能破坏内部数据块数据结构,导致处理过程中向fwrite传递空指针,攻击者利用恶意补丁文件触发此条件,导致程序崩溃并拒绝服务。
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-56288

# 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-56288

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

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

Security Blog Posts for CVE-2026-56288 (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-56289 Loop with Unreachable Exit Condition in GNU patch

IV. Related Vulnerabilities

V. Comments for CVE-2026-56288

No comments yet


Leave a comment