CVE-2018-16421

NameCVE-2018-16421
DescriptionSeveral buffer overflows when handling responses from a CAC Card in cac_get_serial_nr_from_CUID in libopensc/card-cac.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)bullseye0.21.0-1fixed
bookworm0.23.0-0.3+deb12u1fixed
trixie0.25.1-2fixed
sid0.26.0-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
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-848b13147a344ba2c6361d91ca77feb1
https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/

Search for package or bug name: Reporting problems