Gentoo Logo

Libtasn1: Denial of Service


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201209-12 / libtasn1
Release Date September 25, 2012
Latest Revision September 25, 2012: 1
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-libs/libtasn1 < 2.12 >= 2.12 All supported architectures

Related bugreports: #409031


A vulnerability in Libtasn1 might cause a Denial of Service condition.

2.  Impact Information


Libtasn1 is a library used to parse ASN.1 (Abstract Syntax Notation One) objects, and perform DER (Distinguished Encoding Rules) decoding.


Libtasn1 does not properly handle length fields when performing DER decoding.


A remote attacker could entice a user to open a specially crafted DER-encoded object in an application linked against Libtasn1, possibly resulting in Denial of Service.

3.  Resolution Information


There is no known workaround at this time.


All Libtasn1 users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=dev-libs/libtasn1-2.12"

Packages which depend on this library may need to be recompiled. Tools such as revdep-rebuild may assist in identifying some of these packages.

4.  References


Page updated September 25, 2012

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.