Skip to content
Fencer Intel
medium 5.9

CVE-2016-4008 json

The _asn1_extract_der_octet function in lib/decoding.c in GNU Libtasn1 before 4.8, when used without the ASN1_DECODE_FLAG_STRICT_DER flag,…

published 2016-05-05 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-5015

cvss
5.9
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
29.4%
EPSS 29.4% chance of exploitation in 30 days, percentile 98%
public exploits
0
none known

Summary

The _asn1_extract_der_octet function in lib/decoding.c in GNU Libtasn1 before 4.8, when used without the ASN1_DECODE_FLAG_STRICT_DER flag, allows remote attackers to cause a denial of service (infinite recursion) via a crafted certificate.

Patch / fix

  • libtasn1-6 Debian 14, Debian 13, Debian 12 4.8-1

debian advisories DEBIAN-CVE-2016-4008

  • libtasn1-6 Ubuntu 14.04 LTS 3.4-3ubuntu0.4
  • libtasn1-6 Ubuntu 16.04 LTS 4.7-3ubuntu0.16.04.1

ubuntu advisories UBUNTU-CVE-2016-4008

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 SP1, SLES for SAP 12, SLES 12 SP1 +5 more 3.7-11.1
  • libtasn1 SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 1.5-1.34.1

suse advisories SUSE-SU-2016:1601-1SUSE-SU-2016:1600-1

  • libtasn1 openSUSE Tumbleweed 4.9-1.3

opensuse advisories openSUSE-SU-2024:10414-1

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-2016-4008 updated cvss 4.3

libtasn1: infinite loop while parsing DER certificates

  • Red Hat Enterprise Linux 5 gnutls Red Hat Enterprise Linux 6 libtasn1, libtasn1-tools Red Hat Enterprise Linux 7 libtasn1, libtasn1-tools Red Hat Enterprise Virtualization 3 mingw-virt-viewer, mingw32-virt-viewer, mingw64-virt-viewer
    affected: no fix planned “Will not fix”

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

29.40% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-399 Resource Management Errors

References

Sources

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.