Skip to content
Fencer Vulns
high 7.5

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 libtasn1
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux 6 libtasn1, libtasn1-tools Red Hat Enterprise Linux 8 libtasn1, libtasn1-tools
    not 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-08).

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

References

Sources

Fencer Vulns 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.