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.
{
"license": "CC-BY-4.0",
"sources": [
{
"imported": "2026-08-13T12:35:19.750Z",
"database_specific": {
"status": "Modified"
},
"id": "CVE-2026-45447",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45447",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-45447",
"published": "2026-06-09T17:17:19.277Z",
"modified": "2026-08-10T13:19:41.017Z"
},
{
"imported": "2026-08-13T12:36:38.148Z",
"id": "GHSA-f684-cpcq-j565",
"html_url": "https://github.com/advisories/GHSA-f684-cpcq-j565",
"url": "https://api.github.com/advisories/GHSA-f684-cpcq-j565",
"published": "2026-06-09T18:30:48Z",
"modified": "2026-07-29T15:30:56Z"
},
{
"imported": "2026-08-13T12:35:21.683Z",
"id": "EUVD-2026-35491",
"published": "2026-06-09T16:03:32Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-35491",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-35491",
"modified": "2026-08-10T12:05:52Z"
}
]
}