CVE-2024-37305

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-37305
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-37305.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-37305
Aliases
  • GHSA-pqvr-5cr8-v6fx
Downstream
Related
Published
2024-06-17T19:42:22.091Z
Modified
2025-11-30T14:35:10.030010Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H CVSS Calculator
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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-120",
        "CWE-130",
        "CWE-190",
        "CWE-680",
        "CWE-805"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37305.json"
}
References

Affected packages

Git / github.com/open-quantum-safe/oqs-provider

Affected ranges

Type
GIT
Repo
https://github.com/open-quantum-safe/oqs-provider
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.6.1"
        }
    ]
}

Affected versions

0.*

0.3.0
0.4.0
0.5.0
0.5.1
0.5.1-rc1
0.5.2
0.6.0
0.6.0-rc1
0.6.1-rc1

Other

ietf116

openssl-3.*

openssl-3.0.0-alpha12-liboqs-0.5.0