{"schema_version":"1.7.2","id":"OESA-2026-2545","modified":"2026-06-05T15:48:16Z","published":"2026-06-05T15:48:16Z","upstream":["CVE-2025-49010","CVE-2025-66037"],"summary":"opensc security update","details":"OpenSC provides a set of libraries and utilities to work with smart cards. Its main focus is on cards that support cryptographic operations, and facilitate their use in security applications such as authentication, mail encryption and digital signatures. OpenSC implements the standard APIs to smart cards, e.g. PKCS#11 API, Windows’ Smart Card Minidriver and macOS Tokend.\r\n\r\nSecurity Fix(es):\n\nOpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow write in GET RESPONSE. The attack requires crafted USB device or smart card that would present the system with specially crafted responses to the APDUs. This issue has been patched in version 0.27.0.(CVE-2025-49010)\n\nOpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, feeding a crafted input to the fuzz_pkcs15_reader harness causes OpenSC to perform an out-of-bounds heap read in the X.509/SPKI handling path. Specifically, sc_pkcs15_pubkey_from_spki_fields() allocates a zero-length buffer and then reads one byte past the end of that allocation. This issue has been patched in version 0.27.0.(CVE-2025-66037)","affected":[{"package":{"ecosystem":"openEuler:24.03-LTS-SP1","name":"opensc","purl":"pkg:rpm/openEuler/opensc&distro=openEuler-24.03-LTS-SP1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.0-8.oe2403sp1"}]}],"ecosystem_specific":{"aarch64":["opensc-0.23.0-8.oe2403sp1.aarch64.rpm","opensc-debuginfo-0.23.0-8.oe2403sp1.aarch64.rpm","opensc-debugsource-0.23.0-8.oe2403sp1.aarch64.rpm","opensc-help-0.23.0-8.oe2403sp1.aarch64.rpm"],"src":["opensc-0.23.0-8.oe2403sp1.src.rpm"],"x86_64":["opensc-0.23.0-8.oe2403sp1.x86_64.rpm","opensc-debuginfo-0.23.0-8.oe2403sp1.x86_64.rpm","opensc-debugsource-0.23.0-8.oe2403sp1.x86_64.rpm","opensc-help-0.23.0-8.oe2403sp1.x86_64.rpm"]}}],"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-2545"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49010"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66037"}],"database_specific":{"severity":"Medium"}}
