You can now sign in with a passkey, no password needed, or protect your account with a second factor. Learn more
OpenSSL: Heap Use-After-Free in the PKCS7_verify() Function
Download as CSAF file (VEX, JSON)Machine-readable version of this assessment in the OASIS CSAF 2.0 standard, for example for your vulnerability scanner. You may pass the file on.
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.
The newest version of each supported line. Older versions are under “All versions”.
| Version | Status | Fixed from |
|---|---|---|
| EventReporter 26.11Current | Fixed | 26.10 |
| EventReporter 19.4aExtended maintenance | Fixed | 19.4a |
| MonitorWare Agent 26.11Current | Fixed | 26.10 |
| MonitorWare Agent 15.4aExtended maintenance | Fixed | 15.4a |
| rsyslog Windows Agent 26.11Current | Fixed | 26.10 |
| rsyslog Windows Agent 8.4aExtended maintenance | Fixed | 8.4a |
| WinSyslog 26.11Current | Fixed | 26.10 |
Fixed from 26.10
Fixed by OpenSSL 3.5.6 → 3.5.9
26.07 to 26.09 ship OpenSSL 3.5.6; fixed from 26.10, which ships OpenSSL 3.5.9.
Fixed from 19.4a
Fixed by OpenSSL 3.2.1 → 3.5.9
Releases before 19.4a ship OpenSSL 3.2.1, which is affected; fixed from 19.4a, which ships OpenSSL 3.5.9. OpenSSL no longer assesses 3.2 (end of life), but lists the older 3.0 or 1.1.1 and the newer 3.5 as affected.
Releases before 18.3 ship OpenSSL 1.1.1g, 18.3 and later ship OpenSSL 1.1.1q; both are affected. Line 18 is end of life; please update to a supported version (19.4a or 26.11).
| WinSyslog 18.4aExtended maintenance |
|---|
| Fixed |
| 18.4a |
Checked: Bundled OpenSSL per himalaya tag: 1.1.1g before 18.3, 1.1.1q from 18.3
Releases before 17.2 ship OpenSSL 1.0.2k, 17.2 and later ship OpenSSL 1.0.2u; both are affected. Line 17 is end of life; please update to a supported version (19.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.0.2k before 17.2, 1.0.2u from 17.2
Fixed from 26.10
Fixed by OpenSSL 3.5.6 → 3.5.9
26.07 to 26.09 ship OpenSSL 3.5.6; fixed from 26.10, which ships OpenSSL 3.5.9.
Fixed from 15.4a
Fixed by OpenSSL 3.2.1 → 3.5.9
Releases before 15.4a ship OpenSSL 3.2.1, which is affected; fixed from 15.4a, which ships OpenSSL 3.5.9. OpenSSL no longer assesses 3.2 (end of life), but lists the older 3.0 or 1.1.1 and the newer 3.5 as affected.
Releases before 14.3 ship OpenSSL 1.1.1g, 14.3 and later ship OpenSSL 1.1.1q; both are affected. Line 14 is end of life; please update to a supported version (15.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.1.1g before 14.3, 1.1.1q from 14.3
Releases before 13.2 ship OpenSSL 1.0.2k, 13.2 and later ship OpenSSL 1.0.2u; both are affected. Line 13 is end of life; please update to a supported version (15.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.0.2k before 13.2, 1.0.2u from 13.2
Fixed from 26.10
Fixed by OpenSSL 3.5.6 → 3.5.9
26.07 to 26.09 ship OpenSSL 3.5.6; fixed from 26.10, which ships OpenSSL 3.5.9.
Fixed from 8.4a
Fixed by OpenSSL 3.2.1 → 3.5.9
Releases before 8.4a ship OpenSSL 3.2.1, which is affected; fixed from 8.4a, which ships OpenSSL 3.5.9. OpenSSL no longer assesses 3.2 (end of life), but lists the older 3.0 or 1.1.1 and the newer 3.5 as affected.
Releases before 7.3 ship OpenSSL 1.1.1g, 7.3 and later ship OpenSSL 1.1.1q; both are affected. Line 7 is end of life; please update to a supported version (8.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.1.1g before 7.3, 1.1.1q from 7.3
Releases before 6.2 ship OpenSSL 1.0.2k, 6.2 and later ship OpenSSL 1.0.2u; both are affected. Line 6 is end of life; please update to a supported version (8.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.0.2k before 6.2, 1.0.2u from 6.2
Fixed from 26.10
Fixed by OpenSSL 3.5.6 → 3.5.9
26.07 to 26.09 ship OpenSSL 3.5.6; fixed from 26.10, which ships OpenSSL 3.5.9.
Fixed from 18.4a
Fixed by OpenSSL 1.0.2e, 3.2.1 → 1.0.2e, 3.5.9
Releases before 18.4a ship OpenSSL 3.2.1, which is affected; fixed from 18.4a, which ships OpenSSL 3.5.9. OpenSSL no longer assesses 3.2 (end of life), but lists the older 3.0 or 1.1.1 and the newer 3.5 as affected.
Releases before 17.3 ship OpenSSL 1.1.1g, 17.3 and later ship OpenSSL 1.1.1q; both are affected. Line 17 is end of life; please update to a supported version (18.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.1.1g before 17.3, 1.1.1q from 17.3
Releases before 16.2 ship OpenSSL 1.0.2k, 16.2 and later ship OpenSSL 1.0.2u; both are affected. Line 16 is end of life; please update to a supported version (18.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.0.2k before 16.2, 1.0.2u from 16.2
Products and versions not listed here have not been checked.