ANT-2026-2BX2DMM1 · opensc

stack-buffer-overflow medium

Severity Claude medium · Security research firm medium · Maintainer -

Discovered by Claude Mythos Preview

REPORT

Anthropic's analysis, sealed at approval. Disclosure to the maintainer was performed by Trail of Bits.

ANT-2026-2BX2DMM1: Stack buffer overflow in rtecp_cipher APDU response handling via unbounded apdu.resplen copy

rtecp_cipher copies APDU response data into a fixed-size stack buffer using apdu.resplen without bounds checking, allowing a stack buffer overflow.

Target

Project: opensc
Location: rtecp_cipher()
Discovery: static analysis — not yet dynamically reproduced

Reproduction

This finding was identified by static analysis and has not yet been dynamically reproduced. A trigger input is not included.

[No reproducer or sanitizer output attached — request from security-cvd@anthropic.com if needed.]

Acknowledgement

This vulnerability was discovered by Claude, Anthropic's AI assistant, and triaged by the Anthropic security team in collaboration with Anthropic Research. Please direct questions to security-cvd@anthropic.com and reference ANT-2026-2BX2DMM1.


Reference: ANT-2026-2BX2DMM1
Anthropic CVD Policy: https://www.anthropic.com/coordinated-vulnerability-disclosure

SECURITY RESEARCH FIRM ANALYSIS

Triage and disclosure were performed by Trail of Bits.

Verdict
true positive
Severity
medium
TIMELINE

Dates from discovery through public reveal.

  1. 2026-03-25 Sent to maintainer
  2. 2026-03-29 Reported to tracker
  3. 2026-03-29 Patch released
  4. 2026-05-09 Maintainer acknowledged
  5. 2026-08-17 Publicly revealed
PROVENANCE

SHA-3-512 hash:

8d59251a9862d2c410084cd3923283b66b56c6c45e259e90389130fad97fe4ad80616acfaca603ef789a2c1b3f3ae517f471e47864baacd766e61f6ebc4c86f0

Committed 2026-04-09 11:50 PT

Revealed 2026-08-17 13:03 PT

Verify (download preimage.json)

Show preimage JSON
{
  "ant_id": "ANT-2026-2BX2DMM1",
  "bug_class": "Stack Buffer Overflow",
  "claude_severity": "medium",
  "commit_sha": null,
  "created_at": "2026-03-29T20:43:21+00:00",
  "description": "rtecp_cipher copies APDU response data into a fixed-size stack buffer using apdu.resplen without bounds checking, allowing a stack buffer overflow.",
  "discovered_at": null,
  "location": "rtecp_cipher()",
  "poc_sha256": null,
  "preimage_version": 1,
  "project": "OpenSC",
  "reproduction": null,
  "technical_details": null,
  "title": "Stack buffer overflow in rtecp_cipher APDU response handling via unbounded apdu.resplen copy",
  "vendor_severity": "medium"
}