Buffer overflow in Open-Quantum-Safe Oqs-Provider

CVE-2024-37305

oqs-provider is a provider for the OpenSSL 3 cryptography library that adds support for post-quantum cryptography in TLS, X.509, and S/MIME using post-quantum algorithms from liboqs. Flaws have been identified in the way oqs-provider handles lengths decoded with DECODE_UINT32 at the start of serialized hybrid (traditional + post-quantum) keys and signatures. Unchecked length values are later used for memory reads and writes; malformed input can lead to crashes or information leakage. Handling of plain/non-hybrid PQ key operation is not affected. This issue has been patched in in v0.6.1. All users are advised to upgrade. There are no workarounds for this issue.

Vulnerability class: Buffer Overflow

EPSS: 0.004 (37.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-37305?
CVE-2024-37305 is a high-severity vulnerability in Open-Quantum-Safe Oqs-Provider, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 8.2/10. Published 2024-06-17.
How severe is CVE-2024-37305?
High severity. CVSS v3 base score is 8.2 out of 10.
Is CVE-2024-37305 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.