{
  "document": {
    "aggregate_severity": {
      "text": "Important"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      },
      {
        "category": "details",
        "text": "CVE-2026-40510: stack buffer overflow in piv_process_history() via crafted PIV Key History Object\n- CVE-2026-40528: stack/heap buffer overrun in do_key_value() via overlong pkcs15init profile key value",
        "title": "Details"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://cve.tuxcare.com/els/releases/CLSA-2026:1780711381",
        "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1780711381"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/almalinux9.2esu/advisories/2026/clsa-2026_1780711381.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-06-08T16:24:44Z",
      "generator": {
        "date": "2026-06-08T16:24:44Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CLSA-2026:1780711381",
      "initial_release_date": "2026-06-06T02:03:23Z",
      "revision_history": [
        {
          "date": "2026-06-06T02:03:23Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-06-08T16:24:44Z",
          "number": "2",
          "summary": "Official Publication"
        }
      ],
      "status": "final",
      "version": "2"
    },
    "title": "opensc: Fix of 2 CVEs"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "AlmaLinux 9.2",
                "product": {
                  "name": "AlmaLinux 9.2",
                  "product_id": "AlmaLinux-9.2",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:almalinux:almalinux:9.2:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "AlmaLinux"
          }
        ],
        "category": "vendor",
        "name": "AlmaLinux OS Foundation"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els8.x86_64",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els8.x86_64",
                  "product_id": "opensc-0:0.22.0-2.el9_2.tuxcare.els8.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9_2.tuxcare.els8?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els7.x86_64",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els7.x86_64",
                  "product_id": "opensc-0:0.22.0-2.el9_2.tuxcare.els7.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9_2.tuxcare.els7?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els5.x86_64",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els5.x86_64",
                  "product_id": "opensc-0:0.22.0-2.el9_2.tuxcare.els5.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9_2.tuxcare.els5?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els6.x86_64",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els6.x86_64",
                  "product_id": "opensc-0:0.22.0-2.el9_2.tuxcare.els6.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9_2.tuxcare.els6?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els4.x86_64",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els4.x86_64",
                  "product_id": "opensc-0:0.22.0-2.el9_2.tuxcare.els4.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9_2.tuxcare.els4?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els3.x86_64",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els3.x86_64",
                  "product_id": "opensc-0:0.22.0-2.el9_2.tuxcare.els3.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9_2.tuxcare.els3?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els2.x86_64",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els2.x86_64",
                  "product_id": "opensc-0:0.22.0-2.el9_2.tuxcare.els2.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9_2.tuxcare.els2?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64",
                  "product_id": "opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9.tuxcare.els1?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els8.i686",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els8.i686",
                  "product_id": "opensc-0:0.22.0-2.el9_2.tuxcare.els8.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9_2.tuxcare.els8?arch=i686"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els7.i686",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els7.i686",
                  "product_id": "opensc-0:0.22.0-2.el9_2.tuxcare.els7.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9_2.tuxcare.els7?arch=i686"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els5.i686",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els5.i686",
                  "product_id": "opensc-0:0.22.0-2.el9_2.tuxcare.els5.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9_2.tuxcare.els5?arch=i686"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els6.i686",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els6.i686",
                  "product_id": "opensc-0:0.22.0-2.el9_2.tuxcare.els6.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9_2.tuxcare.els6?arch=i686"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els4.i686",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els4.i686",
                  "product_id": "opensc-0:0.22.0-2.el9_2.tuxcare.els4.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9_2.tuxcare.els4?arch=i686"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els3.i686",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els3.i686",
                  "product_id": "opensc-0:0.22.0-2.el9_2.tuxcare.els3.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9_2.tuxcare.els3?arch=i686"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els2.i686",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els2.i686",
                  "product_id": "opensc-0:0.22.0-2.el9_2.tuxcare.els2.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9_2.tuxcare.els2?arch=i686"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9.tuxcare.els1.i686",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9.tuxcare.els1.i686",
                  "product_id": "opensc-0:0.22.0-2.el9.tuxcare.els1.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9.tuxcare.els1?arch=i686"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i686"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els8.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els8.x86_64"
        },
        "product_reference": "opensc-0:0.22.0-2.el9_2.tuxcare.els8.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els8.i686 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els8.i686"
        },
        "product_reference": "opensc-0:0.22.0-2.el9_2.tuxcare.els8.i686",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els7.i686 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els7.i686"
        },
        "product_reference": "opensc-0:0.22.0-2.el9_2.tuxcare.els7.i686",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els7.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els7.x86_64"
        },
        "product_reference": "opensc-0:0.22.0-2.el9_2.tuxcare.els7.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els5.i686 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els5.i686"
        },
        "product_reference": "opensc-0:0.22.0-2.el9_2.tuxcare.els5.i686",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els5.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els5.x86_64"
        },
        "product_reference": "opensc-0:0.22.0-2.el9_2.tuxcare.els5.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els6.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els6.x86_64"
        },
        "product_reference": "opensc-0:0.22.0-2.el9_2.tuxcare.els6.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els6.i686 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els6.i686"
        },
        "product_reference": "opensc-0:0.22.0-2.el9_2.tuxcare.els6.i686",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els4.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els4.x86_64"
        },
        "product_reference": "opensc-0:0.22.0-2.el9_2.tuxcare.els4.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els4.i686 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els4.i686"
        },
        "product_reference": "opensc-0:0.22.0-2.el9_2.tuxcare.els4.i686",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els3.i686 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els3.i686"
        },
        "product_reference": "opensc-0:0.22.0-2.el9_2.tuxcare.els3.i686",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els3.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els3.x86_64"
        },
        "product_reference": "opensc-0:0.22.0-2.el9_2.tuxcare.els3.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els2.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els2.x86_64"
        },
        "product_reference": "opensc-0:0.22.0-2.el9_2.tuxcare.els2.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9_2.tuxcare.els2.i686 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els2.i686"
        },
        "product_reference": "opensc-0:0.22.0-2.el9_2.tuxcare.els2.i686",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64"
        },
        "product_reference": "opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9.tuxcare.els1.i686 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.i686"
        },
        "product_reference": "opensc-0:0.22.0-2.el9.tuxcare.els1.i686",
        "relates_to_product_reference": "AlmaLinux-9.2"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-40510",
      "cwe": {
        "id": "CWE-121",
        "name": "Stack-based Buffer Overflow"
      },
      "notes": [
        {
          "category": "description",
          "text": "OpenSC before 0.27.0-rc1, fixed in commit 3f24f0b, contains a stack buffer overflow vulnerability in piv_process_history() in src/libopensc/card-piv.c that allows physically present attackers to trigger memory corruption by presenting a crafted PIV smart card or USB device returning a URL field longer than 118 bytes in the Key History Object ASN.1 response.",
          "title": "Vulnerability description"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els8.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els8.x86_64"
        ],
        "known_affected": [
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els2.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els2.x86_64",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els3.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els3.x86_64",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els4.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els4.x86_64",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els5.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els5.x86_64",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els6.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els6.x86_64",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els7.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els7.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2026-40510"
        },
        {
          "category": "external",
          "summary": "https://github.com/OpenSC/OpenSC/commit/3f24f0b48a481a8cf2e46059d8238a283ddc1c13",
          "url": "https://github.com/OpenSC/OpenSC/commit/3f24f0b48a481a8cf2e46059d8238a283ddc1c13"
        },
        {
          "category": "external",
          "summary": "https://github.com/OpenSC/OpenSC/pull/3558",
          "url": "https://github.com/OpenSC/OpenSC/pull/3558"
        },
        {
          "category": "external",
          "summary": "https://www.vulncheck.com/advisories/opensc-stack-buffer-overflow-via-piv-process-history-in-card-piv-c",
          "url": "https://www.vulncheck.com/advisories/opensc-stack-buffer-overflow-via-piv-process-history-in-card-piv-c"
        }
      ],
      "release_date": "2026-05-29T14:16:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-06-06T02:03:23.188932Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els/releases/CLSA-2026:1780711381",
          "product_ids": [
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els8.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els8.x86_64"
          ],
          "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1780711381"
        },
        {
          "category": "none_available",
          "date": "2026-05-29T14:16:00Z",
          "details": "Affected",
          "product_ids": [
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els2.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els2.x86_64",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els3.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els3.x86_64",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els4.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els4.x86_64",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els5.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els5.x86_64",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els6.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els6.x86_64",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els7.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els7.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "PHYSICAL",
            "availabilityImpact": "HIGH",
            "baseScore": 6.8,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els8.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els8.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ]
    },
    {
      "cve": "CVE-2026-40528",
      "cwe": {
        "id": "CWE-121",
        "name": "Stack-based Buffer Overflow"
      },
      "notes": [
        {
          "category": "description",
          "text": "OpenSC before 0.27.0, fixed in commit 0358817, contains a stack and heap buffer overrun vulnerability in the do_key_value() function in src/pkcs15init/profile.c that allows attackers to corrupt memory by supplying a crafted profile configuration file. During pkcs15-init invocation, a key value entry beginning with '=' followed by more than sizeof(keybuf) characters is copied into keybuf via memcpy without a length check, causing both stack and heap buffer overruns.",
          "title": "Vulnerability description"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els8.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els8.x86_64"
        ],
        "known_affected": [
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els2.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els2.x86_64",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els3.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els3.x86_64",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els4.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els4.x86_64",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els5.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els5.x86_64",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els6.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els6.x86_64",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els7.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els7.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2026-40528"
        },
        {
          "category": "external",
          "summary": "https://github.com/OpenSC/OpenSC/commit/0358817ec74aeca654f83e7709c7720b14c5db59",
          "url": "https://github.com/OpenSC/OpenSC/commit/0358817ec74aeca654f83e7709c7720b14c5db59"
        },
        {
          "category": "external",
          "summary": "https://www.vulncheck.com/advisories/opensc-buffer-overrun-in-do-key-value-via-profile-c",
          "url": "https://www.vulncheck.com/advisories/opensc-buffer-overrun-in-do-key-value-via-profile-c"
        }
      ],
      "release_date": "2026-05-29T14:16:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-06-06T02:03:23.188932Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els/releases/CLSA-2026:1780711381",
          "product_ids": [
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els8.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els8.x86_64"
          ],
          "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1780711381"
        },
        {
          "category": "none_available",
          "date": "2026-05-29T14:16:00Z",
          "details": "Affected",
          "product_ids": [
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els2.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els2.x86_64",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els3.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els3.x86_64",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els4.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els4.x86_64",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els5.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els5.x86_64",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els6.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els6.x86_64",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els7.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els7.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els8.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9_2.tuxcare.els8.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ]
    }
  ]
}