CVE-2026-10275
opensc: OpenSC: Buffer overflow in pkcs11-tool Key Generation Module
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 2, 2026
Updated · July 3, 2026
Description
A flaw was found in OpenSC, specifically within the pkcs11-tool Key Generation Module. This vulnerability, located in the test_kpgen_certwrite function, is a buffer overflow that can be triggered remotely. A remote attacker could exploit this flaw, potentially leading to information disclosure, data corruption, or denial of service.
Statement
This Moderate impact flaw in OpenSC's pkcs11-tool Key Generation Module could lead to information disclosure, data corruption, or denial of service. While the vulnerability is remotely triggerable, its high attack complexity and difficult exploitability, requiring user interaction with a specially crafted input to the pkcs11-tool utility, limit its immediate risk in typical Red Hat deployments.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')