CVE-2018-6951 Null dereference in n/a

High 7.5 Published Updated

A NULL pointer dereference in GNU patch allows attackers to cause a denial of service via a mangled rename input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-6951?

CVE-2018-6951 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 13 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in GNU patch through 2.7.6. There is a segmentation fault, associated with a NULL pointer dereference, leading to a denial of service in the intuit_diff_type function in pch.c, aka a "mangled rename" issue.

Weakness: CWE-476

Which versions are affected by CVE-2018-6951?

It affects 2 products.

Products include Canonical Ubuntu Linux, Gnu Patch.

How do I fix CVE-2018-6951?

Upgrade to a fixed version.

Is CVE-2018-6951 being exploited?

There is no known exploitation of CVE-2018-6951 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-6951, AZL-35103, AZL-6787, CLEANSTART-2026-AO01721, DEBIAN-CVE-2018-6951, ECHO-a04b-93a1-35bc and 4 more.

Is CVE-2018-6951 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free