Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2026-40528

3.8 · LOW
Published May 29, 2026 opensc_project CWE-121

Overview

CVE-2026-40528 is a low-severity vulnerability affecting opensc_project opensc. It was published on May 29, 2026 and has a CVSS 3.1 base score of 3.8 (LOW).

This vulnerability has a CVSS 3.1 base score of 3.8, rated LOW. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical Description

OpenSC before 0.27.0, fixed in commit 0358817, contains a stack and heap buffer overrun vulnerability in the do_key_value() function in src/pkcs15init/profile.c that allows attackers to corrupt memory by supplying a crafted profile configuration file. During pkcs15-init invocation, a key value entry beginning with '=' followed by more than sizeof(keybuf) characters is copied into keybuf via memcpy without a length check, causing both stack and heap buffer overruns.

Remediation

Check the references section for vendor advisories and patches from opensc_project. Update opensc to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
opensc_project opensc >= 0, < 0.27.0 Affected

Frequently Asked Questions

What is CVE-2026-40528?

CVE-2026-40528 is a low-severity vulnerability affecting opensc_project opensc. It was published on May 29, 2026 and has a CVSS 3.1 base score of 3.8 (LOW).

How severe is CVE-2026-40528?

This vulnerability has a CVSS 3.1 base score of 3.8, rated LOW. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2026-40528?

Check the references section for vendor advisories and patches from opensc_project. Update opensc to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-40528?

CyberStrike's AI-powered security agents can automatically detect CVE-2026-40528 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.