CVE-2018-6003
An issue was discovered in the _asn1_decode_simple_ber function in decoding.c in GNU Libtasn1...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2018-6003- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-674
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-6003- Updated
- 2026-11-02
EUVDEUVD-2018-17768 No score
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.
- Record
EUVD-2018-17768- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-834w-g79f-wrqv
7.5
An issue was discovered in the _asn1_decode_simple_ber function in decoding.c in GNU Libtasn1...
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.
- Record
GHSA-834w-g79f-wrqv- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-674
- Updated
- 2026-11-02
OSVALPINE-CVE-2018-6003
7.5
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.
- Record
ALPINE-CVE-2018-6003- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2018-6003
7.5
CVE-2018-6003 does not affect BellSoft software
- Record
BELL-CVE-2018-6003- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSV
7.5
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.
- Record
CVE-2018-6003- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-6003
7.5
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.
- Record
DEBIAN-CVE-2018-6003- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-6003
7.5
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.
- Record
UBUNTU-CVE-2018-6003- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVCLSA-2026-1778604436 No score
libtasn1: Fix of CVE-2018-6003
- CVE-2018-6003: Restrict recursion depth in _asn1_decode_simple_ber() to prevent stack exhaustion DoS via crafted indefinite-length BER input.
- Record
CLSA-2026-1778604436- Updated
- 2026-11-02
OSVCLSA-2026-1782730098 No score
libtasn1: Fix of CVE-2021-46848
- CVE-2018-6003: Restrict recursion depth in _asn1_decode_simple_ber() to prevent stack exhaustion DoS via crafted indefinite-length BER input.
- Record
CLSA-2026-1782730098- Updated
- 2026-11-02
OSVCLSA-2026-1792179539 No score
libtasn1: Fix of CVE-2021-46848
- CVE-2018-6003: Restrict recursion depth in _asn1_decode_simple_ber() to prevent stack exhaustion DoS via crafted indefinite-length BER input.
- Record
CLSA-2026-1792179539- Updated
- 2026-11-02
OSVMGASA-2018-0121 No score
Updated libtasn1 packages fix security vulnerability
It was discovered that Libtasn1 incorrectly handled certain files. If a user were tricked into opening a crafted file, an attacker could possibly use this to cause a denial of service (CVE-2017-10790).
It was discovered that Libtasn1 incorrectly handled certain inputs. An attacker could possibly use this to cause Libtasn1 to hang, resulting in a denial of service (CVE-2018-6003).
- Record
MGASA-2018-0121- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11001-1 No score
libtasn1-6-32bit-4.17.0-1.2 on GA media
These are all security issues fixed in the libtasn1-6-32bit-4.17.0-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11001-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0295-1 No score
Security update for libtasn1
This update for libtasn1 fixes one issue.
This security issue was fixed:
- CVE-2018-6003: Prevent a stack exhaustion in _asn1_decode_simple_ber (lib/decoding.c) when decoding BER encoded structure allowed for DoS (bsc#1076832).
- Record
SUSE-SU-2018:0295-1- Updated
- 2026-11-02
OSVUSN-3547-1 No score
libtasn1-6 vulnerabilities
It was discovered that Libtasn1 incorrectly handled certain files. If a user were tricked into opening a crafted file, an attacker could possibly use this to cause a denial of service. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2017-10790)
It was discovered that Libtasn1 incorrectly handled certain inputs. An attacker could possibly use this to cause Libtasn1 to hang, resulting in a denial of service. This issue only affected Ubuntu 16.04 LTS and Ubuntu 17.10. (CVE-2018-6003)
- Record
USN-3547-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libtasn1Alpine:v3.10 |
before 4.13-r0 | 4.13-r0 |
libtasn1Alpine:v3.11 |
before 4.13-r0 | 4.13-r0 |
libtasn1Alpine:v3.12 |
before 4.13-r0 | 4.13-r0 |
libtasn1Alpine:v3.13 |
before 4.13-r0 | 4.13-r0 |
libtasn1Alpine:v3.14 |
before 4.13-r0 | 4.13-r0 |
libtasn1Alpine:v3.15 |
before 4.13-r0 | 4.13-r0 |
libtasn1Alpine:v3.16 |
before 4.13-r0 | 4.13-r0 |
libtasn1Alpine:v3.17 |
before 4.13-r0 | 4.13-r0 |
libtasn1Alpine:v3.18 |
before 4.13-r0 | 4.13-r0 |
libtasn1Alpine:v3.19 |
before 4.13-r0 | 4.13-r0 |
Show 33 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libtasn1Alpine:v3.20 |
before 4.13-r0 | 4.13-r0 |
libtasn1Alpine:v3.21 |
before 4.13-r0 | 4.13-r0 |
libtasn1Alpine:v3.22 |
before 4.13-r0 | 4.13-r0 |
libtasn1Alpine:v3.23 |
before 4.13-r0 | 4.13-r0 |
libtasn1Alpine:v3.24 |
before 4.13-r0 | 4.13-r0 |
libtasn1Alpine:v3.4 |
before 4.8-r3 | 4.8-r3 |
libtasn1Alpine:v3.5 |
before 4.9-r3 | 4.9-r3 |
libtasn1Alpine:v3.6 |
before 4.10-r3 | 4.10-r3 |
libtasn1Alpine:v3.7 |
before 4.12-r3 | 4.12-r3 |
libtasn1Alpine:v3.8 |
before 4.13-r0 | 4.13-r0 |
libtasn1Alpine:v3.9 |
before 4.13-r0 | 4.13-r0 |
libtasn1TuxCare:CentOS:7 |
before 4.10-1.el7.tuxcare.els2 | 4.10-1.el7.tuxcare.els2 |
libtasn1-develTuxCare:CentOS:7 |
before 4.10-1.el7.tuxcare.els2 | 4.10-1.el7.tuxcare.els2 |
libtasn1-toolsTuxCare:CentOS:7 |
before 4.10-1.el7.tuxcare.els2 | 4.10-1.el7.tuxcare.els2 |
libtasn1TuxCare:OracleLinux:7 From an advisory covering 2 CVEs |
before 4.10-1.el7.tuxcare.els2 | 4.10-1.el7.tuxcare.els2 |
libtasn1-develTuxCare:OracleLinux:7 From an advisory covering 2 CVEs |
before 4.10-1.el7.tuxcare.els2 | 4.10-1.el7.tuxcare.els2 |
libtasn1-toolsTuxCare:OracleLinux:7 From an advisory covering 2 CVEs |
before 4.10-1.el7.tuxcare.els2 | 4.10-1.el7.tuxcare.els2 |
libtasn1TuxCare:RHEL:7 From an advisory covering 2 CVEs |
before 4.10-1.el7.tuxcare.els2 | 4.10-1.el7.tuxcare.els2 |
libtasn1-develTuxCare:RHEL:7 From an advisory covering 2 CVEs |
before 4.10-1.el7.tuxcare.els2 | 4.10-1.el7.tuxcare.els2 |
libtasn1-toolsTuxCare:RHEL:7 From an advisory covering 2 CVEs |
before 4.10-1.el7.tuxcare.els2 | 4.10-1.el7.tuxcare.els2 |
libtasn1-6Debian:12 |
before 4.13-2 | 4.13-2 |
libtasn1-6Debian:13 |
before 4.13-2 | 4.13-2 |
libtasn1-6Debian:14 |
before 4.13-2 | 4.13-2 |
libtasn1-6Debian:9 From an advisory covering 2 CVEs |
before 4.10-1.1+deb9u1, plus listed versions 4.10-1.1 |
4.10-1.1+deb9u1 |
libtasn1Mageia:6 From an advisory covering 2 CVEs |
before 4.13-1.mga6 | 4.13-1.mga6 |
libtasn1SUSE:Linux Enterprise Desktop 12 SP3 |
before 4.9-3.5.1 | 4.9-3.5.1 |
libtasn1SUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 4.9-3.5.1 | 4.9-3.5.1 |
libtasn1SUSE:Linux Enterprise Server 12 SP3 |
before 4.9-3.5.1 | 4.9-3.5.1 |
libtasn1SUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 4.9-3.5.1 | 4.9-3.5.1 |
libtasn1-6Ubuntu:16.04:LTS |
before 4.7-3ubuntu0.16.04.3, plus listed versions 4.5-24.7-24.7-34.7-3ubuntu0.16.04.14.7-3ubuntu0.16.04.2 |
4.7-3ubuntu0.16.04.3 |
libtasn1-6Ubuntu:14.04:LTS From an advisory covering 2 CVEs |
before 3.4-3ubuntu0.6, plus listed versions 3.3-23.4-23.4-33.4-3ubuntu0.13.4-3ubuntu0.23.4-3ubuntu0.33.4-3ubuntu0.43.4-3ubuntu0.5 |
3.4-3ubuntu0.6 |
libtasn1-6Ubuntu:16.04:LTS From an advisory covering 2 CVEs |
before 4.7-3ubuntu0.16.04.3, plus listed versions 4.5-24.7-24.7-34.7-3ubuntu0.16.04.14.7-3ubuntu0.16.04.2 |
4.7-3ubuntu0.16.04.3 |
libtasn1openSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 4.17.0-1.2 | 4.17.0-1.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-6003 is a high vulnerability (CVSS 7.5) in Gnu Libtasn1, published January 22, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.83%, the 86th percentile. Fixed in libtasn1 4.13-r0.
References
gitlab.com/gnutls/libtasn1/commit/946565d8eb05fbf7970ea366e817581bb5a90910
bugzilla.suse.com/show_bug.cgi?id=1076832
bugzilla.redhat.com/show_bug.cgi?id=1535926
debian.org/security/2018/dsa-4106
git.savannah.nongnu.org/cgit/libtasn1.git/commit?id=c593ae84cfcde8fea45787e53950e0ac71e9ca97
lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
Show 23 moreShow less
lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
nvd.nist.gov/vuln/detail/CVE-2018-6003
lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E
lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
github.com/advisories/GHSA-834w-g79f-wrqv
security.alpinelinux.org/vuln/CVE-2018-6003
docs.bell-sw.com/security/cves/CVE-2018-6003
errata.tuxcare.com/els_os/centos7els/CLSA-2026-1778604436.html
errata.tuxcare.com/els_os/oraclelinux7els/CLSA-2026-1782730098.html
nvd.nist.gov/vuln/detail/CVE-2021-46848
errata.tuxcare.com/els_os/rhel7els/CLSA-2026-1792179539.html
security-tracker.debian.org/tracker/CVE-2018-6003
advisories.mageia.org/MGASA-2018-0121.html
bugs.mageia.org/show_bug.cgi?id=22462
usn.ubuntu.com/usn/usn-3547-1
suse.com/support/update/announcement/2018/suse-su-20180295-1
bugzilla.suse.com/1076832
suse.com/security/cve/CVE-2018-6003
ubuntu.com/security/CVE-2018-6003
ubuntu.com/security/notices/USN-3547-1
cve.org/CVERecord?id=CVE-2018-6003
ubuntu.com/security/CVE-2017-10790
suse.com/security/cve/CVE-2018-1000654