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

published medium CVSS 4.0 · 4.6

NULL Pointer Dereference in GNU patch

Published
09 Jul 2026, 09:29:07 UTC
Updated
09 Jul 2026, 12:57:48 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 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

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:N
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-476 CWE-476 NULL Pointer Dereference (CERT-PL · cna)

References

3

Provider assertions

2

CERT-PL · cna

NULL Pointer Dereference in GNU patch

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
206ef0773c6c95637bfd6039f65a1b5ac2fa00f3fcf6f094170223317edf9998
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