{"schemaVersion":3,"id":"CVE-2018-6003","aliases":["ALPINE-CVE-2018-6003","SUSE-SU-2018:0295-1","UBUNTU-CVE-2018-6003","DEBIAN-CVE-2018-6003"],"status":"published","duplicateOf":null,"title":null,"description":"An issue was discovered in the _asn1_decode_simple_ber function in decoding.c in GNU Libtasn1 before 4.13. Unlimited recursion in the BER decoder leads to stack exhaustion and DoS.","dates":{"published":"2018-01-22T20:00:00.000Z","modified":"2024-08-05T05:47:56.174Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/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.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/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.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/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.02825,"percentile":0.86376,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.02825},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02825,"percentile":0.86376}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02825,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02825,"percentile":0.86376}]},"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-674","name":"Uncontrolled Recursion","description":"The product does not properly control the amount of recursion that takes place,  consuming excessive resources, such as allocated memory or the program stack.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/674.html"}],"affected":[{"vendor":"alpine","product":"libtasn1","name":"libtasn1","label":"libtasn1","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/libtasn1","purlType":"apk","versions":[{"text":"< 4.13-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 4.8-r3","noFixRecorded":false,"fixedIn":null},{"text":"< 4.9-r3","noFixRecorded":false,"fixedIn":null},{"text":"< 4.10-r3","noFixRecorded":false,"fixedIn":null},{"text":"< 4.12-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.13-r0 | < 4.8-r3 | < 4.9-r3 | < 4.10-r3 | < 4.12-r3","eol":null,"hubHref":null},{"vendor":"debian","product":"libtasn1-6","name":"libtasn1-6","label":"libtasn1-6","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libtasn1-6","purlType":"deb","versions":[{"text":"< 4.13-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.13-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libtasn1-6","name":"libtasn1-6","label":"libtasn1-6","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libtasn1-6","purlType":"deb","versions":[{"text":"< 4.7-3ubuntu0.16.04.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.7-3ubuntu0.16.04.3","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"26","noFixRecorded":false,"fixedIn":null},{"text":"27","noFixRecorded":false,"fixedIn":null}],"versionsText":"26 | 27","eol":{"isEol":true,"eolDate":"2018-05-29T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"26","label":"26","eolFrom":"2018-05-29T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"gnu","product":"libtasn1","name":"libtasn1","label":"libtasn1","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.12","eol":null,"hubHref":"/vendor/gnu/libtasn1"},{"vendor":"suse","product":"libtasn1&distro=SUSE Linux Enterprise Desktop 12 SP3","name":"libtasn1","label":"libtasn1&distro=SUSE Linux Enterprise Desktop 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libtasn1&distro=SUSE Linux Enterprise Desktop 12 SP3","purlType":"rpm","versions":[{"text":"< 4.9-3.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.9-3.5.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libtasn1&distro=SUSE Linux Enterprise Server 12 SP3","name":"libtasn1","label":"libtasn1&distro=SUSE Linux Enterprise Server 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libtasn1&distro=SUSE Linux Enterprise Server 12 SP3","purlType":"rpm","versions":[{"text":"< 4.9-3.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.9-3.5.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libtasn1&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3","name":"libtasn1","label":"libtasn1&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libtasn1&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3","purlType":"rpm","versions":[{"text":"< 4.9-3.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.9-3.5.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libtasn1&distro=SUSE Linux Enterprise Software Development Kit 12 SP3","name":"libtasn1","label":"libtasn1&distro=SUSE Linux Enterprise Software Development Kit 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libtasn1&distro=SUSE Linux Enterprise Software Development Kit 12 SP3","purlType":"rpm","versions":[{"text":"< 4.9-3.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.9-3.5.1","eol":null,"hubHref":null}],"affectedCount":10,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://gitlab.com/gnutls/libtasn1/commit/946565d8eb05fbf7970ea366e817581bb5a90910","label":"gitlab.com/gnutls/libtasn1/commit/946565d8eb05fbf7970ea366e817581bb5a90910","hostname":"gitlab.com","tags":["X Refsource CONFIRM","Third Party Advisory","REPORT"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1076832","label":"bugzilla.suse.com/show_bug.cgi?id=1076832","hostname":"bugzilla.suse.com","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory","REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1535926","label":"bugzilla.redhat.com/show_bug.cgi?id=1535926","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory","REPORT"]},{"url":"https://www.debian.org/security/2018/dsa-4106","label":"www.debian.org/security/2018/dsa-4106","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"http://git.savannah.nongnu.org/cgit/libtasn1.git/commit/?id=c593ae84cfcde8fea45787e53950e0ac71e9ca97","label":"git.savannah.nongnu.org/cgit/libtasn1.git/commit/?id=c593ae84cfcde8fea45787e53950e0ac71e9ca97","hostname":"git.savannah.nongnu.org","tags":["X Refsource CONFIRM","Patch","Vendor Advisory","REPORT"]},{"url":"https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-6003","label":"security.alpinelinux.org/vuln/CVE-2018-6003","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180295-1/","label":"www.suse.com/support/update/announcement/2018/suse-su-20180295-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1076832","label":"bugzilla.suse.com/1076832","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6003","label":"www.suse.com/security/cve/CVE-2018-6003","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2018-6003","label":"ubuntu.com/security/CVE-2018-6003","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3547-1","label":"ubuntu.com/security/notices/USN-3547-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-6003","label":"www.cve.org/CVERecord?id=CVE-2018-6003","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-6003","label":"security-tracker.debian.org/tracker/CVE-2018-6003","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-4106-1","MGASA-2018-0121","OPENSUSE-SU-2024:11001-1","USN-3547-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11001-1","USN-3547-1"]},"timeline":[{"kind":"published","date":"2018-01-22T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T05:47:56.174Z","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-19T08:32:28.454Z","stale":false,"partial":false}}