Vulnerability

CVE-2026-40510

lowCVSS 4.0 1.0Published 29 May 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Opensc Project opensc

Weakness type

References

  • github.com /OpenSC/OpenSC/commit/3f24f0b48a481a8cf2e46059d8238a283ddc1…
  • github.com /OpenSC/OpenSC/pull/3558
  • www.vulncheck.com /advisories/opensc-stack-buffer-overflow-via-piv-process-hi…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning