Request an audit

// Security advisory · Fixed upstream

PR #767Fix authored

oqs-provider NULL-check hardening.

Duplicate NULL-check correction in oqsx_get_hybrid_params(). Fix contributed as upstream PR #767, merged and credited.

Published
Product
oqs-provider
Affected
oqs-provider before PR #767
Fixed in
PR #767, merged 13 Apr 2026
Research area
Credit
Eva Crystal (0xiviel), XSource Security

Summary

In oqsx_get_hybrid_params() (oqs_kmgmt.c) a copy-paste error checked key->comp_privkey twice and never checked key->privkey. A hybrid key without a private component passed the guard that was meant to stop it.

Impact

Invalid memory use while extracting hybrid key parameters, reachable through the key-management entry points of the provider. Reported privately together with the sibling double free in oqs_sig_dupctx().

Fix

PR #767 replaces the duplicate check with the intended key->privkey != NULL. Submitted at the maintainers’ request from the advisory thread, merged upstream on 13 Apr 2026. No CVE was requested by the project.

Credit

Reported and fixed by Eva Crystal (iiviel / 0xiviel), 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