{"schemaVersion":3,"id":"CVE-2017-5357","aliases":["SUSE-SU-2019:14005-1","SUSE-SU-2020:1608-1"],"status":"published","duplicateOf":null,"title":null,"description":"regex.c in GNU ed before 1.14.1 allows attackers to cause a denial of service (crash) via a malformed command, which triggers an invalid free.","dates":{"published":"2017-02-16T18:00:00.000Z","modified":"2024-08-05T14:55:35.804Z","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}]},"epss":{"probability":0.03069,"percentile":0.87464,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.03069},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02855,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03069,"percentile":0.87464}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02855,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03069,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03069,"percentile":0.87464}]},"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-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"25","noFixRecorded":false,"fixedIn":null}],"versionsText":"25","eol":{"isEol":true,"eolDate":"2017-12-12T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"25","label":"25","eolFrom":"2017-12-12T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"gnu","product":"ed","name":"ed","label":"ed","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.14","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.14","eol":null,"hubHref":"/vendor/gnu/ed"},{"vendor":"suse","product":"ed&distro=SUSE Linux Enterprise Server 11 SP4","name":"ed","label":"ed&distro=SUSE Linux Enterprise Server 11 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/ed&distro=SUSE Linux Enterprise Server 11 SP4","purlType":"rpm","versions":[{"text":"< 0.2-1001.30.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.2-1001.30.3.4","eol":null,"hubHref":null},{"vendor":"suse","product":"ed&distro=SUSE Linux Enterprise Server 12 SP4","name":"ed","label":"ed&distro=SUSE Linux Enterprise Server 12 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/ed&distro=SUSE Linux Enterprise Server 12 SP4","purlType":"rpm","versions":[{"text":"< 1.9-4.4.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9-4.4.5","eol":null,"hubHref":null},{"vendor":"suse","product":"ed&distro=SUSE Linux Enterprise Server 12 SP5","name":"ed","label":"ed&distro=SUSE Linux Enterprise Server 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/ed&distro=SUSE Linux Enterprise Server 12 SP5","purlType":"rpm","versions":[{"text":"< 1.9-4.4.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9-4.4.5","eol":null,"hubHref":null},{"vendor":"suse","product":"ed&distro=SUSE Linux Enterprise Server for SAP Applications 11 SP4","name":"ed","label":"ed&distro=SUSE Linux Enterprise Server for SAP Applications 11 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/ed&distro=SUSE Linux Enterprise Server for SAP Applications 11 SP4","purlType":"rpm","versions":[{"text":"< 0.2-1001.30.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.2-1001.30.3.4","eol":null,"hubHref":null},{"vendor":"suse","product":"ed&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP4","name":"ed","label":"ed&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/ed&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP4","purlType":"rpm","versions":[{"text":"< 1.9-4.4.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9-4.4.5","eol":null,"hubHref":null},{"vendor":"suse","product":"ed&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","name":"ed","label":"ed&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/ed&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","purlType":"rpm","versions":[{"text":"< 1.9-4.4.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9-4.4.5","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://www.openwall.com/lists/oss-security/2017/01/12/5","label":"www.openwall.com/lists/oss-security/2017/01/12/5","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Patch","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2017/01/12/6","label":"www.openwall.com/lists/oss-security/2017/01/12/6","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://lists.gnu.org/archive/html/bug-ed/2017-01/msg00000.html","label":"lists.gnu.org/archive/html/bug-ed/2017-01/msg00000.html","hostname":"lists.gnu.org","tags":["Mailing List","X Refsource MLIST","Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVH54XNZ77ICNBJTPI2DLJYQTA3SYSFC/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"http://www.securityfocus.com/bid/95422","label":"www.securityfocus.com/bid/95422","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2017/01/12/7","label":"www.openwall.com/lists/oss-security/2017/01/12/7","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2017/01/13/3","label":"www.openwall.com/lists/oss-security/2017/01/13/3","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-201914005-1/","label":"www.suse.com/support/update/announcement/2019/suse-su-201914005-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1019807","label":"bugzilla.suse.com/1019807","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5357","label":"www.suse.com/security/cve/CVE-2017-5357","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2020/suse-su-20201608-1/","label":"www.suse.com/support/update/announcement/2020/suse-su-20201608-1/","hostname":"www.suse.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-02-16T18:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T14:55:35.804Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T21:54:04.927Z","stale":false,"partial":false}}