CVE-2018-6003 json
An issue was discovered in the _asn1_decode_simple_ber function in decoding.c in GNU Libtasn1 before 4.13.
published 2018-01-22 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-17768
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libtasn1-6 Debian 14, Debian 13, Debian 12 4.13-2
debian advisories DEBIAN-CVE-2018-6003
- libtasn1-6 Ubuntu 16.04 LTS 4.7-3ubuntu0.16.04.3
ubuntu advisories UBUNTU-CVE-2018-6003
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libtasn1 SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +1 more 4.9-3.5.1
suse advisories SUSE-SU-2018:0295-1
- libtasn1 openSUSE Tumbleweed 4.17.0-1.2
opensuse advisories openSUSE-SU-2024:11001-1
- libtasn1 Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 4.13-r0
- libtasn1 Alpine 3.4 4.8-r3
- libtasn1 Alpine 3.5 4.9-r3
- libtasn1 Alpine 3.6 4.10-r3
- libtasn1 Alpine 3.7 4.12-r3
alpine advisories ALPINE-CVE-2018-6003
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-6003 updated cvss 7.5
libtasn1: Stack exhaustion due to indefinite recursion during BER decoding
-
Red Hat Enterprise Linux 7 libtasn1, libtasn1-tools Red Hat Satellite 6 libtasn1affected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 6 libtasn1, libtasn1-tools Red Hat Enterprise Linux 8 libtasn1, libtasn1-toolsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.83% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
gitlab.com
/gnutls/libtasn1/commit/946565d8eb05fbf7970ea366e817581bb5a90910
third-party-advisory
-
git.savannah.nongnu.org
/cgit/libtasn1.git/commit/?id=c593ae84cfcde8fea45787e53950e0ac71e9ca97
patch, vendor-advisory
-
debian.org
/security/2018/dsa-4106
vendor-advisory, third-party-advisory
-
bugzilla.suse.com
/show_bug.cgi?id=1076832
issue-tracking, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1535926
issue-tracking, third-party-advisory
-
lists.apache.org
/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
mailing-list
Sources
- CVE List CVE-2018-6003
- NVD CVE-2018-6003
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.