Use of Uninitialized Variable in OpenSC - CVE-2025-13763

 

Use of Uninitialized Variable in OpenSC - CVE-2025-13763

Published: April 2, 2026


Vulnerability identifier: #VU124849
CSH Severity: Low
CVSS v4: 1 [CVSS:4.0/AV:P/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-13763
CWE-ID: CWE-457
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an attacker with physical access to disclose sensitive information, modify data, or cause a denial of service.

The vulnerability exists due to use of uninitialized variable in libopensc when processing crafted input through the fuzz_pkcs15init harness. An attacker with physical access can supply crafted input that triggers use of uninitialized memory to disclose sensitive information, modify data, or cause a denial of service.

The advisory reports 6 use-of-uninitialized-memory cases in functions including sc_asn1_read_tag(), get_cert_len(), asn1_encode_entry(), find_macro(), build_argv(), iasecc_process_fci, and iasecc_sdo_parse(). The reported security relevance is limited, and exploitation requires physical access with high attack complexity according to the provided CVSS vector.


Affected software

OpenSC

How to mitigate CVE-2025-13763

Install security update from vendor's website.

OpenSC - update to 0.27.0

External References

Related Security Bulletins