CVEfocus › CVE database › CVE-2024-45618

CVE-2024-45618Libopensc: uninitialized values after incorrect or missing checking return values of…

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

A vulnerability was found in pkcs15-init in OpenSC. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. Insufficient or missing checking of return values of functions leads to unexpected work with variables that have not been initialized.

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
10Fix 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-45618
Ubuntu 22.04openscFix pending0.22.0-1ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-45618
Ubuntu 20.04openscFix pending0.20.0-3ubuntu0.1~esm4 (Ubuntu Pro)UBUNTU-CVE-2024-45618
Ubuntu 18.04openscFix pending0.17.0-3ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2024-45618
Ubuntu 16.04openscFix pending0.15.0-1ubuntu1+esm2 (Ubuntu Pro)UBUNTU-CVE-2024-45618
Debian 14openscFixed0.25.1-2.1DEBIAN-CVE-2024-45618
Debian 13openscFixed0.25.1-2.1DEBIAN-CVE-2024-45618
Debian 12openscFixed0.23.0-0.3+deb12u2DEBIAN-CVE-2024-45618
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-45618
Alpine Linux 3.23openscFixed0.26.0-r0ALPINE-CVE-2024-45618
Alpine Linux 3.22openscFixed0.26.0-r0ALPINE-CVE-2024-45618
Alpine Linux 3.21openscFixed0.26.0-r0ALPINE-CVE-2024-45618

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.