{"schemaVersion":3,"id":"CVE-2018-6951","aliases":["ALPINE-CVE-2018-6951","UBUNTU-CVE-2018-6951","DEBIAN-CVE-2018-6951","CGA-frg3-gqm6-92qr","CGA-xhhf-6rv8-7mhq"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-02-13T19:00:00.000Z","modified":"2024-08-05T06:17:17.195Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.08359,"percentile":0.94917,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.068,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.08427},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.06492,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.08359,"percentile":0.94917}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.06492,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.08427,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.08359,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.08359,"percentile":0.94917}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-476","name":"NULL Pointer Dereference","description":"The product dereferences a pointer that it expects to be valid but is NULL.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/476.html"}],"affected":[{"vendor":"alpine","product":"patch","name":"patch","label":"patch","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/patch","purlType":"apk","versions":[{"text":"< 2.7.6-r2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.7.5-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.6-r2 | < 2.7.5-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"patch","name":"patch","label":"patch","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/patch","purlType":"apk","versions":[{"text":"< 2.7.6-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.6-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"patch","name":"patch","label":"patch","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/patch","purlType":"apk","versions":[{"text":"< 2.7.6-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.6-r3","eol":null,"hubHref":null},{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"14.04","noFixRecorded":false,"fixedIn":null},{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"17.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"14.04 | 16.04 | 17.10","eol":{"isEol":true,"eolDate":"2019-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"14.04","label":"14.04 'Trusty Tahr' (LTS)","eolFrom":"2019-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"14.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"patch","name":"patch","label":"patch","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/patch","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"patch","name":"patch","label":"patch","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/patch","purlType":"deb","versions":[{"text":"< 2.7.1-4ubuntu2.4","noFixRecorded":false,"fixedIn":null},{"text":"< 2.7.5-1ubuntu0.16.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.1-4ubuntu2.4 | < 2.7.5-1ubuntu0.16.04.1","eol":null,"hubHref":null},{"vendor":"gnu","product":"patch","name":"patch","label":"patch","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.7.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.7.6","eol":null,"hubHref":"/vendor/gnu/patch"}],"affectedCount":7,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://usn.ubuntu.com/3624-1/","label":"usn.ubuntu.com/3624-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory","Advisory"]},{"url":"https://git.savannah.gnu.org/cgit/patch.git/commit/?id=f290f48a621867084884bfff87f8093c15195e6a","label":"git.savannah.gnu.org/cgit/patch.git/commit/?id=f290f48a621867084884bfff87f8093c15195e6a","hostname":"git.savannah.gnu.org","tags":["X Refsource MISC","Patch","Vendor Advisory","FIX"]},{"url":"http://www.securityfocus.com/bid/103044","label":"www.securityfocus.com/bid/103044","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory","Advisory"]},{"url":"https://savannah.gnu.org/bugs/index.php?53132","label":"savannah.gnu.org/bugs/index.php?53132","hostname":"savannah.gnu.org","tags":["X Refsource MISC","Issue Tracking","Vendor Advisory","REPORT"]},{"url":"https://security.gentoo.org/glsa/201904-17","label":"security.gentoo.org/glsa/201904-17","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-6951","label":"security.alpinelinux.org/vuln/CVE-2018-6951","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-6951","label":"ubuntu.com/security/CVE-2018-6951","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3624-1","label":"ubuntu.com/security/notices/USN-3624-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-6951","label":"www.cve.org/CVERecord?id=CVE-2018-6951","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-6951","label":"security-tracker.debian.org/tracker/CVE-2018-6951","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6951","label":"nvd.nist.gov/vuln/detail/CVE-2018-6951","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2018-0277","MGASA-2018-0448","OPENSUSE-SU-2024:11151-1","SUSE-SU-2018:1128-1","USN-3624-1"],"duplicates":[],"related":["CGA-847V-849G-F877","CGA-XX5R-H9WV-P9F9","OPENSUSE-SU-2024:11151-1","SUSE-SU-2018:1128-1","USN-3624-1"]},"timeline":[{"kind":"published","date":"2018-02-13T19:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T06:17:17.195Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:05:43.152Z","stale":false,"partial":false}}