CVE Vulnerabilities

CVE-2026-45447

Use After Free

Published: Jun 09, 2026 | Modified: Jun 30, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
8.1 IMPORTANT
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Ubuntu
HIGH
root.io logo minimus.io logo echo.ai logo

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.

Weakness

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 the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
OpensslOpenssl1.0.2 (including)1.0.2zq (excluding)
OpensslOpenssl1.1.1 (including)1.1.1zh (excluding)
OpensslOpenssl3.0.0 (including)3.0.21 (excluding)
OpensslOpenssl3.4.0 (including)3.4.6 (excluding)
OpensslOpenssl3.5.0 (including)3.5.7 (excluding)
OpensslOpenssl3.6.0 (including)3.6.3 (excluding)
OpensslOpenssl4.0.0 (including)4.0.0 (including)
Red Hat Enterprise Linux 10RedHatopenssl-1:3.5.5-4.el10_2*
Red Hat Enterprise Linux 8RedHatopenssl-1:1.1.1k-16.el8_6*
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRedHatopenssl-1:1.1.1k-16.el8_6*
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRedHatopenssl-1:1.1.1k-16.el8_6*
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRedHatopenssl-1:1.1.1k-16.el8_6*
Red Hat Enterprise Linux 9RedHatopenssl-1:3.5.5-4.el9_8*
Red Hat Enterprise Linux 9RedHatopenssl-1:3.5.5-4.el9_8*
Red Hat Discovery 2RedHatdiscovery/discovery-server-rhel9:1782159791*
Red Hat Discovery 2RedHatdiscovery/discovery-ui-rhel9:1782166952*
Red Hat Update Infrastructure 5RedHatrhui5/cds-rhel9:1781525684*
Red Hat Update Infrastructure 5RedHatrhui5/haproxy-rhel9:1781525671*
Red Hat Update Infrastructure 5RedHatrhui5/installer-rhel9:1781525693*
Red Hat Update Infrastructure 5RedHatrhui5/rhua-rhel9:1781525739*
NodejsUbuntuesm-apps/jammy*
NodejsUbuntujammy*
OpensslUbuntudevel*
OpensslUbuntuesm-infra-legacy/trusty*
OpensslUbuntuesm-infra-legacy/xenial*
OpensslUbuntuesm-infra/bionic*
OpensslUbuntuesm-infra/focal*
OpensslUbuntufips-preview/jammy*
OpensslUbuntufips-updates/bionic*
OpensslUbuntufips-updates/focal*
OpensslUbuntufips-updates/jammy*
OpensslUbuntufips/bionic*
OpensslUbuntufips/focal*
OpensslUbuntujammy*
OpensslUbuntunoble*
OpensslUbuntuquesting*
OpensslUbunturesolute*
Openssl1.0Ubuntuesm-infra/bionic*

Potential Mitigations

References