{
  "id": "security/c/oath-toolkit__oath-toolkit/2026-10-11-libpskc-keyvalue-signature-bypass",
  "title": "libpskc signature verification accepts embedded ds:KeyValue keys on xmlsec < 1.3.3",
  "category": "security",
  "type": "auth-bypass",
  "severity": "medium",
  "cvss": {
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N",
    "score": 5.3,
    "notes": "Requires xmlsec < 1.3.3 and a verify-before-import workflow"
  },
  "ecosystem": "c",
  "project": {
    "owner": "oath-toolkit",
    "repo": "oath-toolkit",
    "url": "https://codeberg.org/oath-toolkit/oath-toolkit"
  },
  "affected_versions": [
    "2.0.1 - 2.6.14 (when built against xmlsec < 1.3.3)"
  ],
  "status": "published",
  "summary": "pskc_verify_x509crt leaves xmlsec keyInfoReadCtx.enabledKeyData unrestricted; on xmlsec < 1.3.3 a PSKC signed with an embedded attacker ds:KeyValue reports valid_signature=1 against an unrelated trusted certificate, enabling forged OTP seed provisioning.",
  "discovered_at": "2026-10-11T11:00:00+03:00",
  "updated_at": "2026-11-04T18:05:00+03:00",
  "public": true,
  "credit": "ucsurf",
  "disclosure": {
    "channel": "email",
    "ghsa_id": null,
    "cve_id": "CVE-2026-109117",
    "url": "https://oath-toolkit.codeberg.page/CVE-2026-109117.html",
    "reported_at": "2026-10-11T12:07:00+03:00",
    "published_at": "2026-10-14T00:00:00+03:00",
    "to": "simon@josefsson.org",
    "outbox": "disclosures/email-outbox/sent/20261011-oath-toolkit.md",
    "state": "sent",
    "accepted_at": "2026-10-12T00:00:00+03:00"
  },
  "fixed_version": "2.6.15",
  "references": [
    "https://oath-toolkit.codeberg.page/CVE-2026-109117.html",
    "https://codeberg.org/oath-toolkit/oath-toolkit/commit/5000be81a938a3bc01fb1a4636e89c19588ce7fb"
  ]
}
