# CVE-2024-37305: Buffer overflow in deserialization in oqs-provider

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2024-06-17T19:42:22.091Z
- Modified: 2026-06-17T07:38:06.490Z
- Weaknesses: CWE-120, CWE-130, CWE-190, CWE-680, CWE-805
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- open-quantum-safe oqs-provider: < 0.6.1
- open_quantum_safe oqs_provider: before 0.6.1

## References

- <https://github.com/open-quantum-safe/oqs-provider/security/advisories/GHSA-pqvr-5cr8-v6fx>
- <https://github.com/open-quantum-safe/oqs-provider/pull/416>

## Sources

- CVE List: [CVE-2024-37305](https://www.cve.org/CVERecord?id=CVE-2024-37305), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-37305](https://nvd.nist.gov/vuln/detail/CVE-2024-37305), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-37305 · Whole record: https://cve.day/CVE-2024-37305.json · Rebuilt by cve.day 2026-11-25T22:58:41.957Z
