{"id":"CVE-2024-37305","summary":"Buffer overflow in deserialization in oqs-provider ","details":"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.","aliases":["GHSA-pqvr-5cr8-v6fx"],"modified":"2026-08-12T03:51:37.559103136Z","published":"2024-06-17T19:42:22.091Z","related":["SUSE-SU-2025:0005-1","openSUSE-SU-2024:14054-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37305.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-120","CWE-130","CWE-190","CWE-680","CWE-805"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37305.json"},{"type":"ADVISORY","url":"https://github.com/open-quantum-safe/oqs-provider/security/advisories/GHSA-pqvr-5cr8-v6fx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37305"},{"type":"FIX","url":"https://github.com/open-quantum-safe/oqs-provider/pull/416"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open-quantum-safe/oqs-provider","events":[{"introduced":"0"},{"fixed":"c4130ea3ae14f8adfb08235d0d7c5c5a3470666b"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"0.6.1"}]}}],"versions":["0.6.1-rc1","0.6.0","0.6.0-rc1","0.5.2","0.5.1","0.5.1-rc1","0.5.0","ietf116","0.4.0","0.3.0","openssl-3.0.0-alpha12-liboqs-0.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-37305.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"}]}