Approved changes feed: RSS · Atom

cpe:2.3:a:opensc:opensc:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorOpensc (c133517a-d21b-5c23-85f3-6855c9f72a49)
ProductOpensc (e80623eb-cb95-583a-96b8-e4ee2d2d5e11)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-40528 vulnerable 2026-06-08 08:01:20.822423 OpenSC < 0.27.0 Buffer Overrun in do_key_value() via profile.c
LOW (3.8)
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.
Published: 2026-05-29T13:38:11.831Z
Updated: 2026-07-14T20:00:40.951Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-40510 vulnerable 2026-06-08 08:01:20.808988 OpenSC < 0.27.0-rc1 Stack Buffer Overflow via piv_process_history() in card-piv.c
LOW (3.8)
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.
Published: 2026-05-29T13:26:40.459Z
Updated: 2026-07-14T20:00:28.402Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-10275 vulnerable 2026-06-08 07:47:13.768586 OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflow
MEDIUM (5)
A flaw has been found in OpenSC up to 0.26.1. This affects the function test_kpgen_certwrite of the file src/tools/pkcs11-tool.c of the component pkcs11-tool Key Generation Module. This manipulation causes buffer overflow. The attack is possible to be carried out remotely. The complexity of an attack is rather high. It is indicated that the exploitability is difficult. The exploit has been published and may be used. Patch name: 814f745b3b6d100295f65f1935edd33d520d33ab. It is recommended to apply a patch to fix this issue.
Published: 2026-06-01T16:45:14.476Z
Updated: 2026-06-01T19:31:20.646Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-66215 vulnerable 2026-06-08 07:39:21.882241 OpenSC: Stack-buffer-overflow WRITE in card-oberthur
LOW (3.8)
OpenSC 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 card-oberthur. 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.
Published: 2026-03-30T17:06:16.996Z
Updated: 2026-03-31T18:53:46.404Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-66038 vulnerable 2026-06-08 07:39:21.152707 OpenSC: `sc_compacttlv_find_tag` can return out-of-bounds pointers
LOW (3.9)
OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, sc_compacttlv_find_tag searches a compact-TLV buffer for a given tag. In compact-TLV, a single byte encodes the tag (high nibble) and value length (low nibble). With a 1-byte buffer {0x0A}, the encoded element claims tag=0 and length=10 but no value bytes follow. Calling sc_compacttlv_find_tag with search tag 0x00 returns a pointer equal to buf+1 and outlen=10 without verifying that the claimed value length fits within the remaining buffer. In cases where the sc_compacttlv_find_tag is provided untrusted data (such as being read from cards/files), attackers may be able to influence it to return out-of-bounds pointers leading to downstream memory corruption when subsequent code tries to dereference the pointer. This issue has been patched in version 0.27.0.
Published: 2026-03-30T17:03:55.914Z
Updated: 2026-04-01T18:15:33.347Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-66037 vulnerable 2026-06-08 07:39:21.151321 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-49010 vulnerable 2026-06-08 07:29:12.472360 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-13763 vulnerable 2026-06-08 07:06:32.645423 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.