CVE-2026-45447
Description
OpenSSL's PKCS#7 verification has a use-after-free flaw, potentially leading to crashes or RCE.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
OpenSSL's PKCS#7 verification has a use-after-free flaw, potentially leading to crashes or RCE.
Vulnerability
A use-after-free vulnerability exists in OpenSSL's PKCS#7 signature verification when processing a PKCS#7 or S/MIME signed message. If the SignedData digestAlgorithms field is an empty ASN.1 SET, OpenSSL may incorrectly free a caller-owned BIO during PKCS7_verify(). This affects OpenSSL versions 4.0, 3.6, 3.5, 3.4, 3.0, 1.1.1, and 1.0.2. Applications using the CMS APIs are not affected [1].
Exploitation
An attacker can trigger this vulnerability by providing a specially crafted PKCS#7 or S/MIME signed message. The vulnerability is triggered when the application later attempts to use the BIO that was incorrectly freed by PKCS7_verify(), such as by calling BIO_free() on it. This requires the attacker to be able to send such a message to an application processing PKCS#7 or S/MIME signed messages using OpenSSL PKCS#7 APIs [1].
Impact
Successful exploitation of this use-after-free vulnerability can lead to process crashes or heap corruption. In certain application contexts, it may potentially be exploitable for remote code execution, allowing an attacker to compromise the affected process with the privileges of that process [1].
Mitigation
OpenSSL 4.0 users should upgrade to OpenSSL 4.0.1. OpenSSL 3.6 users should upgrade to OpenSSL 3.6.3. OpenSSL 3.5 users should upgrade to OpenSSL 3.5.7. OpenSSL 3.4 users should upgrade to OpenSSL 3.4.6. OpenSSL 3.0 users should upgrade to OpenSSL 3.0.21. OpenSSL 1.1.1 users should upgrade to OpenSSL 1.1.1zh (premium support customers only). OpenSSL 1.0.2 users should upgrade to OpenSSL 1.0.2zq (premium support customers only) [1].
AI Insight generated on Jun 9, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
5c505d7559da5a541ae8bfe849dfd688ad2297d4a980c62253aad5eb7af4dVulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- github.com/openssl/security/commit/3aad5eb7af4de4ee0633c30a8541a54d9bbde63cnvd
- github.com/openssl/security/commit/7d4a980c62258c5910cc883936e0c8dbab4d75a8nvd
- github.com/openssl/security/commit/9dfd688ad2290fc5075cacbc9bf0c9a93eefed54nvd
- github.com/openssl/security/commit/a541ae8bfe849a30cc885e8780715c0f488e496cnvd
- github.com/openssl/security/commit/c505d7559da5d5f9f2c3913c6883a5562ce7273envd
- openssl-library.org/news/secadv/20260609.txtnvd
News mentions
2- OpenSSL Project: 18 Vulnerabilities Disclosed Together on June 9, 2026Vypr Intelligence · Jun 9, 2026
- OpenSSL Patches High-Severity Vulnerability Found With AISecurityWeek · Jun 9, 2026