Gentoo Logo

OpenSC: Arbitrary code execution


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201401-18 / opensc
Release Date January 21, 2014
Latest Revision January 21, 2014: 1
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
dev-libs/opensc < 0.11.13-r2 >= 0.11.13-r2 All supported architectures

Related bugreports: #349567


Multiple stack-based buffer overflows have been found in OpenSC, allowing attackers to execute arbitrary code.

2.  Impact Information


OpenSC is a tools and libraries for smart cards.


Multiple stack-based buffer overflow errors have been discovered in OpenSC.


A physically proximate attacker could possibly execute arbitrary code using a specially crafted smart card.

3.  Resolution Information


There is no known workaround at this time.


All OpenSC users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=dev-libs/opensc-0.11.13-r2"

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 January 21, 2014

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

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