Vulnerabilities

CVE-2026-45447

High 8.8 CVSS 3.1

Description

Issue summary: A specially crafted PKCS#7 or S/MIME signed message could trigger a use-after-free during PKCS#7 signature verification. Impact summary: A use-after-free may result in process crashes, heap corruption, or potentially remote code execution. When processing a PKCS#7 or S/MIME signed message, if the SignedData digestAlgorithms field is present as an empty ASN.1 SET, OpenSSL may incorrectly free a caller-owned BIO during PKCS7_verify(). A subsequent use of the BIO by the calling application results in a use-after-free condition. In the common case this occurs when the application later calls BIO_free() on the BIO originally passed to PKCS7_verify(). Depending on allocator behavior and application-specific BIO usage patterns, this may result in a crash or other memory corruption. In some application contexts this may potentially be exploitable for remote code execution. Applications that process PKCS#7 or S/MIME signed messages using OpenSSL PKCS#7 APIs may be affected. Applications using the CMS APIs for this processing are not affected. The FIPS modules in 4.0, 3.6, 3.5, 3.4, and 3.0 are not affected by this issue, as the affected code is outside the OpenSSL FIPS module boundary.

Description as published by the source, in English.

Key facts

Published
2026-06-09
Last modified
2026-09-18
Assigned by
openssl-security@openssl.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
134c704f-9b21-4f2e-91b3-4a467353bcc0
Probability of exploitation
5.2 % higher than 92 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Openssl Openssl 4.0.0 Affected
Openssl Openssl ≥ 1.0.2, < 1.0.2zq Affected
Openssl Openssl ≥ 1.1.1, < 1.1.1zh Affected
Openssl Openssl ≥ 3.0.0, < 3.0.21 Affected
Openssl Openssl ≥ 3.4.0, < 3.4.6 Affected
Openssl Openssl ≥ 3.5.0, < 3.5.7 Affected
Openssl Openssl ≥ 3.6.0, < 3.6.3 Affected

Weakness type

  • CWE-416: Use After Free

    The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within…

  • CWE-825: Expired Pointer Dereference

    The product dereferences a pointer that contains a location for memory that was previously valid, but is no longer valid.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities