cve.bz

CVE-2024-37305 open-quantum-safe oqs-provider: Classic Buffer Overflow

8.2 highEPSS 0.4%

High (8.2) in open-quantum-safe oqs-provider. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-06-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
CWE-130 Improper Handling of Length Parameter Inconsistency
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
CWE-680 Integer Overflow to Buffer Overflow
CWE-805 Buffer Access with Incorrect Length Value
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-37305 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-37305?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-37305?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-37305 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
open-quantum-safe oqs-provider< 0.6.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSELinux Enterprise Module for Basesystem 15 SP6liboqs0.12.0-150600.3.3.1SUSE-SU-2025:0005-1
SUSELinux Enterprise Module for Basesystem 15 SP6oqs-provider0.7.0-150600.3.3.1SUSE-SU-2025:0005-1
openSUSELeap 15.6liboqs0.12.0-150600.3.3.1SUSE-SU-2025:0005-1
openSUSELeap 15.6oqs-provider0.7.0-150600.3.3.1SUSE-SU-2025:0005-1
openSUSETumbleweedoqs-provider0.6.1-1.1openSUSE-SU-2024:14054-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as IMPORTANT because of the flaw involves improper handling of lengths decoded with DECODE_UINT32 for hybrid keys and signatures, leading to unchecked memory reads and writes. This can cause crashes or leak sensitive information, posing a significant risk as it can be exploited remotely without any user interaction or privileges

Red Hat's mitigation

It is recommended to update to the latest stable version to address this vulnerability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10oqsproviderAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-37305.

Attack patterns (CAPEC)

  • CAPEC-47 Buffer Overflow via Parameter Expansion Likelihood: Medium · Severity: High
  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High
  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High
  • CAPEC-256 SOAP Array Overflow Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-680 (11), CWE-120 (13).

References

Check your stackJSON