---
title: "CVE-2018-6003\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2018-6003?format=md
keywords: index, follow
---

# CVE-2018-6003

Publication date 22 January 2018

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.5 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2018-6003?format=md#impact-score)

Toggle side navigation

## 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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2018-6003?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libtasn1-3 | 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| libtasn1-6 | 17.10 artful | Fixed 4.12-2.1ubuntu0.1 |
| 16.04 LTS xenial | Fixed 4.7-3ubuntu0.16.04.3 |
| 14.04 LTS trusty | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [leosilva](https://launchpad.net/~leosilva)

libtasn1-3 (precise) and libtasn1-6 (trusty) are not affected
since vulnerable code was introduced in 4.3
bionic already has the fix

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6003)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-6003)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-6003)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-6003)

### Related Ubuntu Security Notices (USN)

+ [USN-3547-1](https://usn.ubuntu.com/USN-3547-1)
+ Libtasn1 vulnerabilities
+ 25 January 2018

### Other references

* <http://git.savannah.nongnu.org/cgit/libtasn1.git/commit/?id=c593ae84cfcde8fea45787e53950e0ac71e9ca97>
* <https://bugzilla.redhat.com/show_bug.cgi?id=1535926>
* <https://bugzilla.suse.com/show_bug.cgi?id=1076832>
* <https://gitlab.com/gnutls/libtasn1/commit/946565d8eb05fbf7970ea366e817581bb5a90910>
* <https://www.cve.org/CVERecord?id=CVE-2018-6003>
