CVE-2018-6951

Source
https://cve.org/CVERecord?id=CVE-2018-6951
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6951.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-6951
Downstream
ALPINE (1)
AZL (2)
BELL (1)
CGA (2)
CLEANSTART (2)
DEBIAN (1)
ECHO (1)
JLSEC (1)
MGASA (2)
openSUSE (1)
ROOT (1)
SUSE (1)
UBUNTU (1)
Related
Published
2018-02-13T19:29:00Z
Modified
2026-09-05T03:47:31Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "14.04"
                },
                {
                    "last_affected":  "14.04"
                },
                {
                    "introduced":  "16.04"
                },
                {
                    "last_affected":  "16.04"
                },
                {
                    "introduced":  "17.10"
                },
                {
                    "last_affected":  "17.10"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "canonical:ubuntu_linux"
        }
    ]
}
References

Affected packages

Git / cgit.git.savannah.gnu.org/cgit/patch.git

Affected ranges

Type
GIT
Repo
https://cgit.git.savannah.gnu.org/cgit/patch.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
f290f48a621867084884bfff87f8093c15195e6a
Database specific
Show details
{
    "source":  "REFERENCES"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6951.json"

Git / https.git.savannah.gnu.org/git/patch.git/

Affected ranges

Type
GIT
Repo
https://https.git.savannah.gnu.org/git/patch.git/
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
40b387de08653a1e46872b8ac1a6a14b9b94feb3
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:gnu:patch:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "last_affected":  "2.7.6"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

v2.*
v2.1
v2.2
v2.3
v2.4
v2.5
v2.5.3
v2.5.4
v2.5.7
v2.5.8
v2.5.9
v2.6
v2.6.1
v2.7
v2.7.1
v2.7.2
v2.7.3
v2.7.4
v2.7.5
v2.7.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6951.json"