Issue summary: A specially crafted PKCS#7 or S/MIME signed message could trigger a use-after-free during PKCS#7 signature verification.
Overview
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.
- Published
- 6/9/2026
- Last modified
- 9/18/2026
- Assigned by
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
openssl openssl | ≥ 1.0.2, < 1.0.2zq | Verify advisory | Source |
openssl openssl | ≥ 1.1.1, < 1.1.1zh | Verify advisory | Source |
openssl openssl | ≥ 3.0.0, < 3.0.21 | Verify advisory | Source |
openssl openssl | ≥ 3.4.0, < 3.4.6 | Verify advisory | Source |
openssl openssl | ≥ 3.5.0, < 3.5.7 | Verify advisory | Source |
openssl openssl | ≥ 3.6.0, < 3.6.3 | Verify advisory | Source |
openssl openssl | 4.0.0 | Verify advisory | Source |
OpenSSL OpenSSL | ≥ 4.0.0, < 4.0.1 | Verify advisory | Source |
OpenSSL OpenSSL | ≥ 3.6.0, < 3.6.3 | Verify advisory | Source |
OpenSSL OpenSSL | ≥ 3.5.0, < 3.5.7 | Verify advisory | Source |
OpenSSL OpenSSL | ≥ 3.4.0, < 3.4.6 | Verify advisory | Source |
OpenSSL OpenSSL | ≥ 3.0.0, < 3.0.21 | Verify advisory | Source |
OpenSSL OpenSSL | ≥ 1.1.1, < 1.1.1zh | Verify advisory | Source |
OpenSSL OpenSSL | ≥ 1.0.2, < 1.0.2zq | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 8.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.