Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

open-quantum-safe/liboqs
main @ d95fc73
33
Fixes
7
CVEs
CRITICAL
Peak severity
33.3%
Coverage
Highlights
Information Disclosure: 12 prior fixes. Scrutinize any change in this area.
src/kem/kyber: most-fixed (3 issues). Treat as high-risk during review.
17 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Out-of-bounds Read: Incorrect OID parsing and missing signature length checks in XMSS and XMSS^MT signature verification can cause out-of-bounds heap reads, leading to denial of service via process crashes when processing malformed keys or signatures.
Side-Channel Vulnerability: Kyber/ML-KEM decapsulation contains timing side-channel leaks when reconstructing polynomial coefficients, where compiler optimization and variable-time masking could allow local attackers to extract private keys.
Information Disclosure: Standard memory deallocation and zeroization functions (such as memset) can be optimized away by aggressive compiler passes, leaving key material and intermediate state secrets exposed in memory.