{"id":"ALPINE-CVE-2018-6951","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.","modified":"2025-12-03T22:46:29.914740Z","published":"2018-02-13T19:29:00.510Z","upstream":["CVE-2018-6951"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2018-6951"}],"affected":[{"package":{"name":"patch","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1","2.7.6-r0","2.7.6-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1","2.7.6-r0","2.7.6-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1","2.7.6-r0","2.7.6-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1","2.7.6-r0","2.7.6-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1","2.7.6-r0","2.7.6-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1","2.7.6-r0","2.7.6-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1","2.7.6-r0","2.7.6-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1","2.7.6-r0","2.7.6-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1","2.7.6-r0","2.7.6-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1","2.7.6-r0","2.7.6-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1","2.7.6-r0","2.7.6-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1","2.7.6-r0","2.7.6-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1","2.7.6-r0","2.7.6-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1","2.7.6-r0","2.7.6-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.4","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.5-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.5","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.5-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.6","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.5-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.7","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.5-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1","2.7.6-r0","2.7.6-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}},{"package":{"name":"patch","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/patch?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r2"}]}],"versions":["2.5.9-r0","2.6-r0","2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.1-r3","2.7-r0","2.7.1-r0","2.7.1-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.7.5-r1","2.7.6-r0","2.7.6-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-6951.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}