Request an audit

// Security advisory · Published advisory · CVE-2026-104255 reserved

GHSA-xv6c-h66p-6mfqCo-credited

liboqs LMS verification accepts signatures from another parameter set.

LMS verification did not bind the signature and public key to the parameter set of the object in use. Reported publicly in issue #2568 and credited as an independent report in the joint advisory; CVE-2026-104255 assigned.

Published
Product
liboqs (LMS stateful signatures)
Affected
>= 0.11.0, <= 0.16.0
Fixed in
0.17.0 (PR #2608)
Research area
Credit
Eva Crystal (0xiviel), XSource Security

Summary

liboqs assigned one generic verify routine to every LMS parameter set. Verification checked neither the declared signature length nor the parameter identifiers in the public key against the OQS_SIG_STFL object in use, so an object created for one LMS parameter set accepted a signature and public key belonging to another.

Impact

This is not signature forgery: the signature remains valid under the public key presented with it. Its effect is that liboqs did not enforce the parameter set the caller requested, so an application that takes the expected parameter set from a policy or protocol negotiation and the public key from elsewhere loses that check. Reachable from any caller of OQS_SIG_STFL_verify in a build with OQS_ENABLE_SIG_STFL_LMS=ON, which is not enabled by default.

The same advisory covers fail-open lock handling in LMS signing, which allows LM-OTS key reuse and forgery. That issue, and the fix, are Trail of Bits’ work; the advisory rating (Moderate, CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N) is for the advisory as a whole.

Affected and fixed

  • Affected: liboqs 0.11.0 through 0.16.0
  • Fixed: liboqs 0.17.0, commit 5c06c8a (PR #2608)

Timeline

  • Sep 2026: reported publicly in issue #2568
  • 14 Oct 2026: credited as an independent reporter in GHSA-xv6c-h66p-6mfq
  • CVE-2026-104255 assigned by GitHub, not yet published on the CVE List

Credit

Identified by Trail of Bits during a security review of liboqs. The parameter-set confusion on verification was independently and publicly reported by 0xiviel (Eva Crystal, XSource Security).

More disclosures

All disclosures →

Published · NVD
CVE-2026-34876

Mbed TLS out-of-bounds read

Out-of-bounds read in mbedtls_ccm_finish(): an oversized tag_len in the multipart CCM API exposes adjacent CCM context data. Discovered through the Intigriti Trusted Firmware program.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
7.5 · High · CVSS 3.1