CVE-2018-6003: An issue was discovered in the _asn1_decode_simple_ber function in decoding.c in GNU Libtasn1 before 4.13
CVE-2018-6003 is a high-severity flaw (CVSS 7.5) affecting libtasn1, debian linux, fedora. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.8% (top 13%) |
| CISA exploited list | No |
| Weakness | CWE-674 |
| Published | 2018-01-22 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-6003?
libtasn1: upgrade to newer than 4.12; debian linux: mitigate or apply the listed mitigation; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-6003 being exploited?
CVE-2018-6003 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-6003 affect?
CVE-2018-6003 affects libtasn1, debian linux, fedora. Severity is high (CVSS 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.
How urgent is CVE-2018-6003?
Priority 58/100. High severity; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2021-46848 CRITICAL 9.1 UPGRADE MITIGATE GNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der.
- CVE-2025-13151 HIGH 7.5 DOWNGRADE Stack-based buffer overflow in libtasn1 version: v4.20.0
- CVE-2018-1000654 MEDIUM 5.5 DOWNGRADE GNU Libtasn1-4.13 libtasn1-4.13 version libtasn1-4.13, libtasn1-4.12 contains a DoS, specifically CPU usage wi
- CVE-2017-6891 HIGH 8.8 DOWNGRADE MITIGATE Two errors in the "asn1_find_node()" function (lib/parser_aux.c) within GnuTLS libtasn1 version 4.10 can be ex
- CVE-2017-10790 HIGH 7.5 UPGRADE The _asn1_check_identifier function in GNU Libtasn1 through 4.12 causes a NULL pointer dereference and crash w