OpenSC before 0.27.0-rc1, fixed in commit 3f24f0b, contains a stack buffer overflow vulnerability in piv_process_history() in…
A stack buffer overflow vulnerability exists in OpenSC before 0.27.0-rc1, which can be triggered by a crafted PIV smart card or USB device. This occurs when the device returns a URL field longer than 118 bytes in the Key History Object ASN.1 response. An attacker with physical access can exploit this to cause memory corruption.
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.
Physically present attackers are at risk of triggering memory corruption, posing a low severity threat to systems using vulnerable OpenSC versions.
Monitor & Review
Low severity — keep this CVE on your radar and patch during routine maintenance.
What should I do?
Published
CVE disclosed publicly
Last Modified
Most recent update
Indexed to CVEInsight
Added to this platform
AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
0
Affected Products
3
References
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Exploitability
Impact