CVE-2018-16420

NameCVE-2018-16420
DescriptionSeveral buffer overflows when handling responses from an ePass 2003 Card in decrypt_response in libopensc/card-epass2003.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1916-1
Debian Bugs909444

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
opensc (PTS)jessie, jessie (lts)0.16.0-3+deb8u3fixed
stretch (security), stretch (lts), stretch0.16.0-3+deb9u2fixed
buster (security), buster, buster (lts)0.19.0-1+deb10u3fixed
bullseye0.21.0-1fixed
bookworm0.23.0-0.3+deb12u1fixed
sid, trixie0.25.1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
openscsourcewheezy(unfixed)end-of-life
openscsourcejessie0.16.0-3+deb8u1DLA-1916-1
openscsourcestretch0.16.0-3+deb9u1
openscsource(unstable)0.19.0~rc1-1low909444

Notes

https://github.com/OpenSC/OpenSC/commit/360e95d45ac4123255a4c796db96337f332160ad#diff-b36536074d13447fbbec061e0e64d15d
https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/

Search for package or bug name: Reporting problems