CVEfocus › CVE database › CVE-2024-45616

CVE-2024-45616Libopensc: uninitialized values after incorrect check or usage of apdu response values…

CVSS 3.9 LowEPSS 0.4% (higher than 27% of CVEs)Published 2024-09-03Updated 2026-11-25Assigner: redhat

A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. The following problems were caused by insufficient control of the response APDU buffer and its length when communicating with the card.

CWE-457

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
8Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04openscNot affected
vulnerable_code_not_present
Ubuntu 25.10openscNot affected
vulnerable_code_not_present
Ubuntu 24.04openscFix pending0.25.0~rc1-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-45616
Ubuntu 22.04openscFix pending0.22.0-1ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-45616
Ubuntu 20.04openscFix pending0.20.0-3ubuntu0.1~esm4 (Ubuntu Pro)UBUNTU-CVE-2024-45616
Debian 14openscFixed0.25.1-2.1DEBIAN-CVE-2024-45616
Debian 13openscFixed0.25.1-2.1DEBIAN-CVE-2024-45616
Debian 12openscFixed0.23.0-0.3+deb12u2DEBIAN-CVE-2024-45616
Red Hat Enterprise Linux 10openscFix pending
Fix deferred
Red Hat Enterprise Linux 10opensc-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9openscFix pending
Fix deferred
Red Hat Enterprise Linux 8openscFix pending
Fix deferred
Red Hat Enterprise Linux 7openscFix pending
Fix deferred
Alpine Linux 3.24openscFixed0.26.0-r0ALPINE-CVE-2024-45616
Alpine Linux 3.23openscFixed0.26.0-r0ALPINE-CVE-2024-45616
Alpine Linux 3.22openscFixed0.26.0-r0ALPINE-CVE-2024-45616
Alpine Linux 3.21openscFixed0.26.0-r0ALPINE-CVE-2024-45616

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.