Bug 2483280 (CVE-2026-40510) - CVE-2026-40510 opensc: OpenSC: Memory corruption via crafted PIV smart card
Summary: CVE-2026-40510 opensc: OpenSC: Memory corruption via crafted PIV smart card
Keywords:
Status: NEW
Alias: CVE-2026-40510
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2490262
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-29 14:02 UTC by OSIDB Bzimport
Modified: 2026-06-18 09:42 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-29 14:02:33 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.