SecurityContext

CVE-2024-37305: oqs-provider - Buffer Overflow

  • Cve: CVE-2024-37305
  • Name: oqs-provider - Buffer Overflow
  • 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.
  • Impact: Maliciously crafted input can cause crashes or leak sensitive information, potentially leading to denial of service or information disclosure.
  • Remediation: Upgrade to version 0.6.1 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
  • Epss score: 0.0045
  • Epss percentile: 0.39583
  • Assignee: [email protected]
  • Published at: 2024-06-17T20:15:12Z
  • Age in days: 890
  • Modified at: 2026-06-17T07:38:06Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-37305
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-120Buffer Copy without Checking Size of Input

References

UrlSourceTags
https://github.com/open-quantum-safe/oqs-provider/pull/416nvd
https://github.com/open-quantum-safe/oqs-provider/security/advisories/GHSA-pqvr-5cr8-v6fxnvd

Products

ProductAffectedPlatform boundSourcesUrl
open_quantum_safe:oqs_provider< 0.6.1noadp_cpes/v1/products/open_quantum_safe/oqs_provider

Projects

RepositoryLink kindsIndexedUrl
open-quantum-safe/oqs-providerfix, pull, security_advisoryyes/v1/repositories/open-quantum-safe/oqs-provider

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts