AI Science Tracker

OpenSC profile parser buffer overrun

OpenSC · AI involvement attributed to Claude Mythos Preview

Finding and attribution

OpenSC do_key_value() copied profile data into a fixed-size stack buffer without a bounds check. Anthropic’s individual CVD entry explicitly attributes discovery to Claude Mythos Preview and Trail of Bits confirmed the finding; the OpenSC commit provides the project fix.

Product: OpenSC. AI system: Claude Mythos Preview. Team / organization: Anthropic / Trail of Bits.

CVE identifiers: CVE-2026-40528.

AI and human contribution (source account): Anthropic CVD explicitly says Claude discovered this issue and records Trail of Bits true-positive triage.

Human involvement is only described where the source account establishes it; unknown involvement does not mean none. Vendor confirmation of a flaw does not confirm every claim about AI contribution.

Discovery context: Public vulnerability and AI-discovery attribution are documented; sources do not establish exploitation in the wild or zero-day status.

Remediation status: fix documented. Fixed by the upstream commit; affected versions are OpenSC before 0.27.0.

A source-documented fix does not establish installed patches or current safety. Source checking does not independently reproduce the finding or establish observed exploitation.

Disclosed 3 Jun 2026. AI attribution dated 17 Aug 2026. Sources checked 14 Nov 2026; these are separate dates, not a live installation check.

Recorded CVSS: Low · highest recorded score 3.8. Documented technical effects: other.

Severity, consequences and exploitation evidence

Case grouping uses the highest recorded CVSS score, with its version-specific severity band. It is descriptive, not a combined or editorial risk index. All recorded assessments remain below; scores from different versions and sources may disagree. CVSS specifications define version-specific scoring and severity bands.

  • CVE-2026-40528: CVSS 4.0 · 1 (Low) · CVSS:4.0/AV:P/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N · Assessment scenarios: GENERAL. VulnCheck (CNA; CVE Program record) · checked 16 Nov 2026.
  • CVE-2026-40528: CVSS 3.1 · 3.8 (Low) · CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L · Assessment scenarios: GENERAL. VulnCheck (CNA; CVE Program record) · checked 16 Nov 2026.

CVE-2026-40528: other.
Prerequisites / affected scope: 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..
Exploitation evidence: The cited source does not state whether this issue was exploited in the wild.. Impact source · checked 16 Nov 2026.

Documented fix: Fixed by the upstream commit; affected versions are OpenSC before 0.27.0.

Original evidence

Download this source record (JSON)

Open this case in the interactive tracker · Browse all static security cases