Skip to content
OpenAdvisories
High · 8.2 CVE-2024-37305 EUVD-2024-36566

Buffer overflow in deserialization in oqs-provider

Published Jun 17, 2024 · Updated Aug 2, 2024 · 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.

Affected products

VendorProductAffectedFixed
open-quantum-safe oqs-provider < 0.6.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 liboqs 0.12.0-150600.3.3.1 SUSE-SU-2025:0005-1
SLES 15 SP6 oqs-provider 0.7.0-150600.3.3.1 SUSE-SU-2025:0005-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed oqs-provider 0.6.1-1.1 openSUSE-SU-2024:14054-1
openSUSE Leap 15.6 liboqs 0.12.0-150600.3.3.1 SUSE-SU-2025:0005-1
openSUSE Leap 15.6 oqs-provider 0.7.0-150600.3.3.1 SUSE-SU-2025:0005-1

Advisories 2

References