JLSEC-2026-1145
JSON

8.8high

Issue summary: A specially crafted PKCS#7 or S/MIME signed message could trigger a use-after-free...

Severity
8.8high CVSS:3.1 by Julia Security Advisories
Published
Last changed

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.

Affected

Product or packageVersionsReported by
AppBundler (Julia)from 1.0.0 before 1.0.1Julia Security Advisories
OpenSSL_jll (Julia)before 3.5.7+0Julia Security Advisories
Openresty_jll (Julia)all versionsJulia Security Advisories

References

https://access.redhat.com/errata/RHSA-2026:25237web
https://access.redhat.com/errata/RHSA-2026:25239web
https://access.redhat.com/errata/RHSA-2026:26275web
https://access.redhat.com/errata/RHSA-2026:26319web
https://access.redhat.com/errata/RHSA-2026:29197web
https://access.redhat.com/errata/RHSA-2026:34102web
https://access.redhat.com/errata/RHSA-2026:35869web
https://access.redhat.com/errata/RHSA-2026:36215web
https://access.redhat.com/errata/RHSA-2026:36217web
https://access.redhat.com/errata/RHSA-2026:39009web
https://access.redhat.com/errata/RHSA-2026:39012web
https://access.redhat.com/errata/RHSA-2026:39981web

Related

Sources

SourceRecordLicence
Julia Security AdvisoriesJLSEC-2026-1145 changed 2026-08-13CC-BY-4.0