DescriptionAn issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/card-cac1.c mishandles buffer limits for CAC certificates.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
opensc (PTS)buster0.19.0-1+deb10u1fixed
bookworm, sid0.22.0-2.1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
openscsourcejessie(not affected)
openscsourcestretch(not affected)


[stretch] - opensc <not-affected> (Vulnerable code not present)
[jessie] - opensc <not-affected> (Vulnerable code not present)
CAC support added in: (0.17.0-rc1)
Drop support of CAC1: (0.19.0-rc1)
Restored minimal CAC1 driver support: (0.20.0-rc1)
Mark 0.19.0~rc1 based version as fixed which removed the affected code, which
later was re-introduced upstream in 0.20.0~rc1 again.

Search for package or bug name: Reporting problems