Skip to content
Heist/ feed
Back to feed
Low

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

Type: advisorySources: OSV

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. Insufficient or missing checking of return values of functions leads to unexpected work with variables that have not been initialized.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-45617
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:21 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 3 Sept 2024, 21:20 UTC

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. Insufficient or missing checking of return values of functions leads to unexpected work with variables that have not been initialized.

osv:CVE-2024-45617
Complete source record
{
  "id": "5ddee8d414960de5111c30634ea7d6d2585625502ed093ceef90a9f9ff61d1cd",
  "url": "https://osv.dev/vulnerability/CVE-2024-45617",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Libopensc: uninitialized values after incorrect or missing checking return values of functions in libopensc",
    "summary": "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. Insufficient or missing checking of return values of functions leads to unexpected work with variables that have not been initialized.",
    "evidence": "osv:CVE-2024-45617",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2024-45617",
      "aliases": [
        "CVE-2024-45617"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/opensc/opensc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "fe857cc4c68da4873071f168c9aaf9860040ff4e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.26.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.26.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.26.0-rc1",
            "0.25.0",
            "0.25.0-rc1",
            "0.24.0",
            "0.24.0-rc2",
            "0.24.0-rc1",
            "0.23.0",
            "0.23.0-rc2",
            "0.23.0-rc1",
            "0.22.0",
            "0.22.0-rc2",
            "0.22.0-rc1",
            "0.21.0",
            "0.21.0-rc2",
            "0.21.0-rc1",
            "0.20.0",
            "0.20.0-rc4",
            "0.20.0-rc3",
            "0.20.0-rc2",
            "0.20.0-rc1",
            "0.19.0",
            "0.19.0-rc1",
            "0.18.0",
            "0.18.0-rc2",
            "0.18.0-rc1",
            "0.17.0",
            "0.17.0-rc2",
            "0.17.0-rc1",
            "0.16.0",
            "v0.16.0-pre1",
            "0.15.0",
            "0.14.0",
            "0.14.0rtm",
            "0.14.0rc2",
            "0.13.0",
            "0.13.0rc1",
            "0.13.0pre1",
            "v0.12.2",
            "0.12.2",
            "0.12.2-rc1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45617.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.551182223Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html",
        "https://access.redhat.com/security/cve/CVE-2024-45617",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45617.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-45617",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2309286",
        "https://github.com/OpenSC/OpenSC"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-457"
        ],
        "cna_assigner": "redhat",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45617.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-45617",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 502992,
  "published_at": "2024-09-03T21:20:53.782+00:00"
}