Skip to content
Fencer Vulns
low 3.9

CVE-2024-45618 json

Libopensc: uninitialized values after incorrect or missing checking return values of functions in pkcs15init

published 2024-09-03 2 y ago modified 2026-11-06 3 d ago also EUVD-2024-41539

cvss
3.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 24%
public exploits
0
none known

Summary

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.

Patch / fix

  • opensc_project opensc 0.26.0
  • opensc Debian 12 0.23.0-0.3+deb12u2
  • opensc Debian 14, Debian 13 0.25.1-2.1

debian advisories DEBIAN-CVE-2024-45618

  • opensc Ubuntu Pro 16.04 LTS 0.15.0-1ubuntu1+esm2
  • opensc Ubuntu Pro 18.04 LTS 0.17.0-3ubuntu0.1~esm2
  • opensc Ubuntu Pro 20.04 LTS 0.20.0-3ubuntu0.1~esm4
  • opensc Ubuntu Pro 22.04 LTS 0.22.0-1ubuntu2+esm1
  • opensc Ubuntu Pro 24.04 LTS 0.25.0~rc1-1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2024-45618

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • opensc Linux Micro 6.1 0.24.0-slfo.1.1_2.1
  • opensc Linux Micro 6.0 0.24.0-3.1
  • opensc SLE Micro 5.2, SLE Micro 5.1 0.19.0-150100.3.31.1
  • opensc SLE Module for Basesystem 15 SP5, SLE Micro 5.5, SLE Micro 5.4 +3 more 0.22.0-150400.3.12.1
  • opensc SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 0.22.0-150600.11.3.1
  • opensc SLES for SAP 12 SP5, SLES 12 SP5 0.13.0-3.31.1

suse advisories SUSE-SU-2025:20671-1SUSE-SU-2025:20072-1SUSE-SU-2024:3517-1SUSE-SU-2024:3445-1SUSE-SU-2024:3444-1SUSE-SU-2024:3443-1

  • opensc openSUSE Tumbleweed 0.25.1-2.1

opensuse advisories openSUSE-SU-2024:14382-1

  • opensc Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 0.26.0-r0

alpine advisories ALPINE-CVE-2024-45618

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • opensc Azure Linux 3.0 0.26.1-1

azure linux advisories AZL-48745

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-45618 updated cvss 3.9

libopensc: Uninitialized values after incorrect or missing checking return values of functions in pkcs15init

  • Red Hat Enterprise Linux 7 opensc Red Hat Enterprise Linux 8 opensc Red Hat Enterprise Linux 9 opensc Red Hat Enterprise Linux 10 opensc
    affected: no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.31% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 3.9 CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD 3.1 3.9 CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected products

  • Red Hat Red Hat Enterprise Linux 10
  • Red Hat Red Hat Enterprise Linux 7
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 9

Classification

Weakness
  • CWE-457 Use of Uninitialized Variable
  • CWE-908 Use of Uninitialized Resource

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.