CVE Vulnerabilities

CVE-2018-6003

Uncontrolled Recursion

Published: Jan 22, 2018 | Modified: Jun 17, 2026
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

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.

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

NameVendorStart VersionEnd Version
Libtasn1Gnu*4.12 (including)
Libtasn1-6Ubuntuartful*
Libtasn1-6Ubuntuesm-infra-legacy/xenial*
Libtasn1-6Ubuntuesm-infra/xenial*
Libtasn1-6Ubuntuupstream*
Libtasn1-6Ubuntuxenial*

Potential Mitigations

References